Skip to content

Commit 55d95f9

Browse files
committed
Fix Pony dependencies for Fedora 30
1 parent 2f20f90 commit 55d95f9

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

setup.py

+4-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,10 @@
1717
"routes >= 1.13",
1818
"python-ldap >= 2.4",
1919
"TurboGears2 >= 2.0b7",
20-
"MySQL-python >= 1.2",
20+
# 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'",
2124
"zope.sqlalchemy >= 0.4 ",
2225
],
2326
setup_requires=["PasteScript >= 1.7"],

0 commit comments

Comments
 (0)