forked from capless/warrant
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
43 lines (36 loc) · 1.28 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
40
41
42
43
import os
import re
from setuptools import setup, find_packages
def requirements_from_file(filename='requirements.txt'):
with open(os.path.join(os.path.dirname(__file__), filename)) as r:
reqs = r.read().strip().split('\n')
# Return non emtpy lines and non comments
return [r for r in reqs if re.match(r"^\w+", r)]
version = '0.6.1'
README = """Python class to integrate Boto3's Cognito client so it is easy to login users. With SRP support."""
setup(
name='warrant',
version=version,
description=README,
long_description=README,
classifiers=[
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Topic :: Software Development :: Libraries :: Python Modules",
"Environment :: Web Environment",
],
keywords='aws,cognito,api,gateway,capless',
author='Capless.io',
author_email='[email protected]',
maintainer='Brian Jinwright',
packages=find_packages(),
url='https://github.com/capless/warrant',
license='Apache License 2.0',
install_requires=requirements_from_file(),
extras_require={
'dev': requirements_from_file('requirements_test.txt')
},
include_package_data=True,
zip_safe=True,
)