-
Notifications
You must be signed in to change notification settings - Fork 62
/
setup.py
39 lines (30 loc) · 1.12 KB
/
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
36
37
38
39
import os
from setuptools import setup, find_packages
def parse_requirements(filename):
""" load requirements from a pip requirements file """
lineiter = (line.strip() for line in open(filename))
return [line for line in lineiter if line and not line.startswith("#")]
version = '0.1.1'
README="""Django library that uses the warrant python utility library to provide authentication via AWS Cognito."""
setup(
name='django-warrant',
version=version,
description=README,
long_description=README,
classifiers=[
'Framework :: Django',
'Framework :: Django :: 1.10',
"Programming Language :: Python",
"Topic :: Software Development :: Libraries :: Python Modules",
"Environment :: Web Environment",
],
keywords='aws,cognito,api,gateway,django',
author='MetaMetrics',
author_email='[email protected]',
packages=find_packages(exclude=('cdu',)),
url='https://github.com/MetaMetricsInc/django-warrant',
license='GNU GPL V3',
install_requires=parse_requirements('requirements.txt'),
include_package_data=True,
zip_safe=True,
)