Skip to content
Snippets Groups Projects
Commit 94806436 authored by schulmax's avatar schulmax
Browse files

The automagic is no longer supported by pip version > 6

parent 4e652448
No related branches found
No related tags found
No related merge requests found
from setuptools import setup, find_packages from setuptools import setup, find_packages
from pip.req import parse_requirements
import os import os
# allow setup.py to be run from any path # allow setup.py to be run from any path
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)))
# automagic
requirements_parsed = parse_requirements(open(os.path.join(os.path.dirname(__file__), "requirements.txt")))
requirements_list = [str(r.req) for r in requirements_parsed]
setup( setup(
name='django-hshassets', name='django-hshassets',
version='0.1', version='0.1',
...@@ -23,7 +17,11 @@ setup( ...@@ -23,7 +17,11 @@ setup(
author='Tim Fechner', author='Tim Fechner',
author_email='tim.fechner@hs-hannover.de', author_email='tim.fechner@hs-hannover.de',
zip_safe=False, zip_safe=False,
install_requires=requirements_list, install_requires=[
'libsass==0.11.2',
'jsmin==2.2.1',
'watchdog==0.8.3'
],
classifiers=[ classifiers=[
'Environment :: Web Environment', 'Environment :: Web Environment',
'Framework :: Django', 'Framework :: Django',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment