|
7 | 7 |
|
8 | 8 | _MAJOR = 1 |
9 | 9 | _MINOR = 0 |
10 | | -_MICRO = 4 |
| 10 | +_MICRO = 5 |
11 | 11 | version = '%d.%d.%d' % (_MAJOR, _MINOR, _MICRO) |
12 | 12 | release = '%d.%d' % (_MAJOR, _MINOR) |
13 | 13 |
|
|
27 | 27 | 'Intended Audience :: Science/Research', |
28 | 28 | 'License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)', |
29 | 29 | 'Operating System :: OS Independent', |
30 | | - 'Programming Language :: Python :: 3.6', |
31 | 30 | 'Programming Language :: Python :: 3.7', |
32 | 31 | 'Programming Language :: Python :: 3.8', |
33 | 32 | 'Programming Language :: Python :: 3.9', |
| 33 | + 'Programming Language :: Python :: 3.10', |
34 | 34 | 'Topic :: Software Development :: Libraries :: Python Modules' |
35 | 35 | ] |
36 | 36 | } |
37 | 37 |
|
38 | 38 |
|
39 | 39 | on_rtd = os.environ.get('READTHEDOCS', None) == 'True' |
40 | | -if on_rtd is True: # only import and set the theme if we're building docs |
41 | | - install_requires = ['matplotlib', 'easydev', "numpydoc"] |
42 | | -else: |
43 | | - install_requires = ['matplotlib', 'easydev'] |
| 40 | +with open("requirements.txt", "r") as fin: |
| 41 | + install_requires = fin.read().split() |
44 | 42 |
|
| 43 | +if on_rtd is True: # only import and set the theme if we're building docs |
| 44 | + install_requires += ["numpydoc"] |
45 | 45 |
|
46 | 46 |
|
47 | 47 | setup( |
|
65 | 65 | packages = ['colormap'], |
66 | 66 | install_requires = install_requires, |
67 | 67 | ) |
68 | | - |
69 | | - |
70 | | - |
71 | | - |
0 commit comments