We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2f20f90 commit 55d95f9Copy full SHA for 55d95f9
setup.py
@@ -17,7 +17,10 @@
17
"routes >= 1.13",
18
"python-ldap >= 2.4",
19
"TurboGears2 >= 2.0b7",
20
- "MySQL-python >= 1.2",
+ # MySQL-python was renamed to mysqlclient between F20 and F30;
21
+ # since setuptools doesn't allow a boolean dependency, we key on Fedora's python version
22
+ "MySQL-python >= 1.2; python_full_version < '2.7.18'",
23
+ "mysqlclient >= 1.2; python_full_version >= '2.7.18'",
24
"zope.sqlalchemy >= 0.4 ",
25
],
26
setup_requires=["PasteScript >= 1.7"],
0 commit comments