-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
35 lines (29 loc) · 979 Bytes
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from setuptools import setup, find_packages
from django_collectstatic_bower import __version__, __doc__
def parse_requirements(requirements):
with open(requirements) as f:
return [l.strip('\n') for l in f if l.strip('\n') and not l.startswith('#')]
with open('README.rst') as readme:
long_description = readme.read()
test_requirements = parse_requirements('test-requirements.txt')
setup(
name='django-collectstatic-bower',
version=__version__,
packages=find_packages(exclude=('tests.*', 'tests',)),
url='https://github.com/nick-allen/django-collectstatic-bower',
license='MIT',
author='Nick Allen',
author_email='nick.allen.cse@gmail.com',
description=__doc__,
long_description=long_description,
include_package_data=True,
zip_safe=False,
install_requires=parse_requirements('requirements.txt'),
extras_require={
'test': test_requirements
},
test_suite='nose.collector',
tests_require=test_requirements
)