|
7 | 7 | # for command line options and supported environment variables, please |
8 | 8 | # see the end of 'setupinfo.py' |
9 | 9 |
|
10 | | -if sys.version_info[:2] < (3, 8): |
11 | | - print("This lxml version requires Python 3.8 or later.") |
| 10 | +if sys.version_info[:2] < (3, 7): |
| 11 | + print("This lxml version requires Python 3.7 or later.") |
12 | 12 | sys.exit(1) |
13 | 13 |
|
14 | 14 | from setuptools import setup |
@@ -50,10 +50,10 @@ def static_env_list(name, separator=None): |
50 | 50 | branch_link = "" |
51 | 51 |
|
52 | 52 | with open("requirements.txt", "r") as f: |
53 | | - deps = [line.strip() for line in f if ':' in line] |
| 53 | + deps = [line.strip() for line in f if '://' in line] |
54 | 54 |
|
55 | 55 | extra_options = { |
56 | | - 'python_requires': '>=3.8', # NOTE: keep in sync with Trove classifier list below. |
| 56 | + 'python_requires': '>=3.7', # NOTE: keep in sync with Trove classifier list below. |
57 | 57 |
|
58 | 58 | 'extras_require': { |
59 | 59 | 'source': deps, |
@@ -233,6 +233,7 @@ def build_packages(files): |
233 | 233 | 'Programming Language :: Cython', |
234 | 234 | # NOTE: keep in sync with 'python_requires' list above. |
235 | 235 | 'Programming Language :: Python :: 3', |
| 236 | + 'Programming Language :: Python :: 3.7', |
236 | 237 | 'Programming Language :: Python :: 3.8', |
237 | 238 | 'Programming Language :: Python :: 3.9', |
238 | 239 | 'Programming Language :: Python :: 3.10', |
|
0 commit comments