update setup

This commit is contained in:
bkfox 2015-12-01 14:17:51 +01:00
parent 962c23d55e
commit cc5c53281e
2 changed files with 8 additions and 3 deletions

View File

@ -1,3 +1,3 @@
django>=1.9.0
Django>=1.9a1
django-taggit>=0.12.1

View File

@ -1,9 +1,14 @@
import os
from setuptools import setup
with open(os.path.join(os.path.dirname(__file__), 'README.md')) as readme:
cwd = os.path.dirname(__file__)
with open(os.path.join(cwd, 'README.md')) as readme:
README = readme.read()
with open(os.path.join(cwd, 'requirements.txt')) as requirements:
REQUIREMENTS = requirements.read()
REQUIREMENTS = [r for r in REQUIREMENTS.split('\n') if r]
os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
setup(
@ -15,7 +20,7 @@ setup(
long_description=README,
url='http://bkfox.net/',
include_package_data=True,
install_requires=['django>=1.9.0', 'django-taggit>=0.12.1'],
install_requires=REQUIREMENTS,
classifiers=[
'Framework :: Django',
'Intended Audience :: Developers',