Skip to content

Commit 682d0f5

Browse files
author
G8s Bot
committed
fix ecometrica#21 cannot install with poetry
1 parent 45b7ef1 commit 682d0f5

File tree

1 file changed

+25
-25
lines changed

1 file changed

+25
-25
lines changed

setup.py

+25-25
Original file line numberDiff line numberDiff line change
@@ -4,36 +4,36 @@
44
from setuptools import setup
55

66

7-
if sys.version_info < (3, 4):
8-
install_requires = ['Django>=1.8,<2.0']
9-
else:
10-
install_requires = ['Django>=1.8,!=2.0,!=2.0.1,!=2.0.2,!=2.0.3,!=2.0.4,!=2.0.5,!=2.0.6,!=2.0.7,!=2.0.8,!=2.0.9']
7+
install_requires = [
8+
'Django>=1.8,<2.0;python_version<"3.4"',
9+
'Django>=1.8,!=2.0,!=2.0.1,!=2.0.2,!=2.0.3,!=2.0.4,!=2.0.5,!=2.0.6,!=2.0.7,!=2.0.8,!=2.0.9; python_version>="3.4"',
10+
]
1111

1212

1313
setup(
14-
name='django-hashedfilenamestorage',
15-
version='2.4.1',
16-
description=('A Django storage backend that names files by hash value.'),
17-
long_description=open('README.rst', 'r').read(),
18-
author='Ecometrica',
19-
author_email='info@ecometrica.com',
20-
url='http://github.com/ecometrica/django-hashedfilenamestorage/',
21-
packages=['django_hashedfilenamestorage'],
14+
name="django-hashedfilenamestorage",
15+
version="2.4.1",
16+
description=("A Django storage backend that names files by hash value."),
17+
long_description=open("README.rst", "r").read(),
18+
author="Ecometrica",
19+
author_email="info@ecometrica.com",
20+
url="http://github.com/ecometrica/django-hashedfilenamestorage/",
21+
packages=["django_hashedfilenamestorage"],
2222
install_requires=install_requires,
2323
classifiers=[
24-
'Development Status :: 5 - Production/Stable',
25-
'Environment :: Web Environment',
26-
'Framework :: Django',
27-
'Intended Audience :: Developers',
28-
'License :: OSI Approved :: MIT License',
29-
'Operating System :: OS Independent',
30-
'Programming Language :: Python',
31-
'Programming Language :: Python :: 2.7',
32-
'Programming Language :: Python :: 3.5',
33-
'Programming Language :: Python :: 3.6',
34-
'Programming Language :: Python :: 3.7',
35-
'Topic :: Software Development :: Libraries',
24+
"Development Status :: 5 - Production/Stable",
25+
"Environment :: Web Environment",
26+
"Framework :: Django",
27+
"Intended Audience :: Developers",
28+
"License :: OSI Approved :: MIT License",
29+
"Operating System :: OS Independent",
30+
"Programming Language :: Python",
31+
"Programming Language :: Python :: 2.7",
32+
"Programming Language :: Python :: 3.5",
33+
"Programming Language :: Python :: 3.6",
34+
"Programming Language :: Python :: 3.7",
35+
"Topic :: Software Development :: Libraries",
3636
],
3737
zip_safe=True,
38-
tests_require=['pytest', 'tox']
38+
tests_require=["pytest", "tox"],
3939
)

0 commit comments

Comments
 (0)