-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
55 lines (50 loc) · 1.4 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
44
45
46
47
48
49
50
51
52
53
54
55
# -*- coding: utf-8 -*-
import re
from os import path
from setuptools import find_packages, setup
version_file = path.join(
path.dirname(__file__),
'flask_mauth',
'__version__.py'
)
with open(version_file, 'r') as fp:
m = re.search(
r"^__version__ = ['\"]([^'\"]*)['\"]",
fp.read(),
re.M
)
version = m.groups(1)[0]
setup(
name='Flask-MAuth',
version=version,
license='MIT',
url='https://www.github.com/mdsol/flask-mauth/',
author='Geoff Low',
author_email='glow@mdsol.com',
description='MAuth Client and Server Library for MAuth',
long_description=open('README.md').read(),
packages=find_packages(exclude=['tests']),
classifiers=[
'Framework :: Flask',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'License :: OSI Approved :: MIT License',
],
zip_safe=False,
include_package_data=True,
platforms='any',
tests_require=['mock'],
test_suite='tests',
install_requires=["Flask",
"six",
"rsa",
"cachetools",
"requests",
"requests-mauth"],
extras_require={
'docs': ['sphinx', ],
}
)