update setup
This commit is contained in:
parent
962c23d55e
commit
cc5c53281e
|
@ -1,3 +1,3 @@
|
||||||
django>=1.9.0
|
Django>=1.9a1
|
||||||
django-taggit>=0.12.1
|
django-taggit>=0.12.1
|
||||||
|
|
||||||
|
|
|
@ -1,9 +1,14 @@
|
||||||
import os
|
import os
|
||||||
from setuptools import setup
|
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()
|
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)))
|
os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
|
||||||
|
|
||||||
setup(
|
setup(
|
||||||
|
@ -15,7 +20,7 @@ setup(
|
||||||
long_description=README,
|
long_description=README,
|
||||||
url='http://bkfox.net/',
|
url='http://bkfox.net/',
|
||||||
include_package_data=True,
|
include_package_data=True,
|
||||||
install_requires=['django>=1.9.0', 'django-taggit>=0.12.1'],
|
install_requires=REQUIREMENTS,
|
||||||
classifiers=[
|
classifiers=[
|
||||||
'Framework :: Django',
|
'Framework :: Django',
|
||||||
'Intended Audience :: Developers',
|
'Intended Audience :: Developers',
|
||||||
|
|
Loading…
Reference in New Issue
Block a user