|
4 | 4 | from setuptools import setup, find_packages |
5 | 5 |
|
6 | 6 | import sys |
7 | | -if sys.version_info < (3, 5): |
8 | | - raise 'must use Python version 3.5 or higher' |
| 7 | +if sys.version_info < (3, 6): |
| 8 | + raise 'must use Python version 3.6 or higher' |
9 | 9 |
|
10 | 10 | README = r"""Z2Pack is a tool that computes topological invariants and illustrates non-trivial features of Berry curvature. It works as a post-processing tool with all major first-principles codes (z2pack.fp), as well as with tight-binding models (z2pack.tb) and explicit Hamiltonian matrices -- such as the ones obtained from a k.p model (z2pack.hm). |
11 | 11 |
|
|
25 | 25 | 'tb': ['tbmodels>=1.1.1'], |
26 | 26 | 'doc': ['sphinx', 'sphinx-rtd-theme', 'sphinx-pyreverse', 'pylint==2.4.4'], |
27 | 27 | 'dev': [ |
28 | | - 'prospector==1.2.0', 'pytest>=5.3', 'pytest-cov', 'yapf==0.29', |
| 28 | + 'prospector==1.2.0', 'pytest~=6.0', 'pytest-cov', 'yapf==0.29', |
29 | 29 | 'pre-commit', 'pylint==2.4.4' |
30 | 30 | ], |
31 | 31 | } |
|
45 | 45 | 'fsc.iohelper' |
46 | 46 | ], |
47 | 47 | extras_require=EXTRAS, |
| 48 | + python_requires=">=3.6", |
48 | 49 | long_description=README, |
49 | 50 | classifiers=[ |
50 | 51 | 'License :: OSI Approved :: GNU General Public License v3 (GPLv3)', |
51 | 52 | 'Natural Language :: English', 'Operating System :: Unix', |
52 | 53 | 'Programming Language :: Python :: 3', |
53 | | - 'Programming Language :: Python :: 3.5', |
54 | 54 | 'Programming Language :: Python :: 3.6', |
55 | 55 | 'Programming Language :: Python :: 3.7', |
56 | 56 | 'Programming Language :: Python :: 3.8', |
|
0 commit comments