Register
Login
Resources
Docs Blog Datasets Glossary Case Studies Tutorials & Webinars
Product
Data Engine LLMs Platform Enterprise
Pricing Explore
Connect to our Discord channel

setup.py 2.1 KB

You have to be logged in to leave a comment. Sign In
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
  1. from os import path
  2. import setuptools
  3. path_to_repo = path.abspath(path.dirname(__file__))
  4. with open(path.join(path_to_repo, 'readme.md'), encoding='utf-8') as f:
  5. long_description = f.read()
  6. required_pypi = [
  7. 'matplotlib',
  8. 'mlxtend>=0.18.0', # some lower versions are missing fpgrowth
  9. 'numpy',
  10. 'pandas<=2.1.4', # pandas 2.2 introduced some issues with the query function
  11. 'requests', # used in c4.5
  12. 'scipy',
  13. 'scikit-learn>=1.2.0', # recently updated this
  14. 'tqdm', # used in BART
  15. ]
  16. extra_deps = [
  17. 'cvxpy', # optionally requires cvxpy for slim
  18. 'corels', # optionally requires corels for optimalrulelistclassifier
  19. 'gosdt-deprecated', # optionally requires gosdt for optimaltreeclassifier
  20. 'irf', # optionally require irf for iterativeRandomForestClassifier
  21. ]
  22. setuptools.setup(
  23. name="imodels",
  24. version="1.4.3",
  25. author="Chandan Singh, Keyan Nasseri, Matthew Epland, Yan Shuo Tan, Omer Ronen, Tiffany Tang, Abhineet Agarwal, Theo Saarinen, Bin Yu, and others",
  26. author_email="chandan_singh@berkeley.edu",
  27. description="Implementations of various interpretable models",
  28. long_description=long_description,
  29. long_description_content_type="text/markdown",
  30. url="https://github.com/csinva/imodels",
  31. packages=setuptools.find_packages(
  32. exclude=['tests', 'tests.*', '*.test.*']
  33. ),
  34. install_requires=required_pypi,
  35. extras_require={
  36. 'dev': [
  37. 'dvu',
  38. 'gdown',
  39. # 'irf',
  40. 'jupyter',
  41. 'jupytext',
  42. 'matplotlib',
  43. # 'pdoc3', # for building docs
  44. 'pytest',
  45. 'pytest-cov',
  46. # 'seaborn', # in bartpy.diagnostics.features
  47. 'slurmpy',
  48. # 'statsmodels', # in bartpy.diagnostics.diagnostics
  49. # 'torch', # for neural-net-integrated models
  50. 'tqdm',
  51. 'pmlb',
  52. ]
  53. },
  54. python_requires='>=3.9.0',
  55. classifiers=[
  56. "Programming Language :: Python :: 3",
  57. "License :: OSI Approved :: MIT License",
  58. "Operating System :: OS Independent",
  59. ],
  60. )
Tip!

Press p or to see the previous file or, n or to see the next file

Comments

Loading...