Javier Jardón pushed to branch jjardon/pyproject at BuildStream / buildstream
Commits:
-
54480fdb
by Javier Jardón at 2018-08-11T17:34:39Z
1 changed file:
Changes:
... | ... | @@ -25,10 +25,6 @@ import subprocess |
25 | 25 |
import sys
|
26 | 26 |
import versioneer
|
27 | 27 |
|
28 |
-if sys.version_info[0] != 3 or sys.version_info[1] < 5:
|
|
29 |
- print("BuildStream requires Python >= 3.5")
|
|
30 |
- sys.exit(1)
|
|
31 |
- |
|
32 | 28 |
try:
|
33 | 29 |
from setuptools import setup, find_packages, Command
|
34 | 30 |
from setuptools.command.easy_install import ScriptWriter
|
... | ... | @@ -248,6 +244,7 @@ setup(name='BuildStream', |
248 | 244 |
os.path.join('buildstream', 'data', 'bst')
|
249 | 245 |
])
|
250 | 246 |
],
|
247 |
+ python_requires='>=3.5',
|
|
251 | 248 |
install_requires=[
|
252 | 249 |
'setuptools',
|
253 | 250 |
'psutil',
|