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 1.7 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
  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. 'mlxtend>=0.18.0', # some lower version are missing fpgrowth
  8. 'numpy',
  9. 'pandas',
  10. 'scipy',
  11. 'scikit-learn', # 0.23+ only works on py3.6+
  12. ]
  13. extra_deps = [
  14. 'cvxpy', # optionally requires cvxpy for slim
  15. 'corels', # optinally requires corels for optimalrulelistclassifier
  16. 'gosdt-deprecated', # optionally requires gosdt for optimaltreeclassifier
  17. 'irf', # optionally require irf for iterativeRandomForestClassifier
  18. ]
  19. setuptools.setup(
  20. name="imodels",
  21. version="1.2.6",
  22. author="Chandan Singh, Keyan Nasseri, Bin Yu, and others",
  23. author_email="chandan_singh@berkeley.edu",
  24. description="Implementations of various interpretable models",
  25. long_description=long_description,
  26. long_description_content_type="text/markdown",
  27. url="https://github.com/csinva/imodels",
  28. packages=setuptools.find_packages(
  29. exclude=['tests', 'tests.*', '*.test.*']
  30. ),
  31. install_requires=required_pypi,
  32. extras_require={
  33. 'dev': [
  34. 'dvu',
  35. 'gdown',
  36. 'jupyter',
  37. 'jupytext',
  38. 'matplotlib',
  39. 'pytest',
  40. 'pytest-cov',
  41. 'slurmpy',
  42. 'tqdm',
  43. 'pmlb',
  44. # docs also require pdoc3, irf, torch
  45. ]
  46. },
  47. python_requires='>=3.6',
  48. classifiers=[
  49. "Programming Language :: Python :: 3",
  50. "License :: OSI Approved :: MIT License",
  51. "Operating System :: OS Independent",
  52. ],
  53. )
Tip!

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

Comments

Loading...