Skip to content

Commit

Permalink
- brute-forcing install_requires [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
dataflake committed Mar 29, 2021
1 parent 52ff896 commit aa21ba5
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 10 deletions.
4 changes: 1 addition & 3 deletions rtd.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
setuptools < 52
Products.ZSQLMethods
repoze.sphinx.autointerface
.[docs]
20 changes: 13 additions & 7 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,18 @@
from setuptools import setup


install_requires=[
'setuptools',
'six',
'Products.ZSQLMethods',
]
if not os.environ.get('READTHEDOCS') == 'True':
install_requires += [
'mysqlclient < 2;python_version < "3"',
'mysqlclient;python_version >= "3"',
],


def read(*rnames):
return open(os.path.join(os.path.dirname(__file__), *rnames)).read()

Expand Down Expand Up @@ -65,13 +77,7 @@ def read(*rnames):
namespace_packages=['Products'],
zip_safe=False,
python_requires='>=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*',
install_requires=[
'setuptools',
'six',
'Products.ZSQLMethods',
'mysqlclient < 2;python_version < "3"',
'mysqlclient;python_version >= "3"',
],
install_requires=install_requires,
extras_require={
'docs': ['Sphinx', 'repoze.sphinx.autointerface'],
},
Expand Down

0 comments on commit aa21ba5

Please sign in to comment.