Skip to content
Snippets Groups Projects
Commit 9d0340b8 authored by Tim Fechner's avatar Tim Fechner
Browse files
parents 6bc571e5 f26de77d
No related branches found
No related tags found
No related merge requests found
default_app_config = "hshassets.apps.HshassetsConfig"
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',
...@@ -16,6 +23,7 @@ setup( ...@@ -16,6 +23,7 @@ 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,
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