forked from wooyek/flask-social-blueprint
-
Notifications
You must be signed in to change notification settings - Fork 3
/
setup.py
56 lines (48 loc) · 1.83 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
56
# coding=utf-8
# Copyright 2014 Janusz Skonieczny
import sys
import os
import uuid
from setuptools import setup, find_packages
from pip.req import parse_requirements
ROOT_DIR = os.path.abspath(os.path.dirname(__file__))
SRC_DIR = os.path.join(ROOT_DIR, 'src')
sys.path.append(SRC_DIR)
install_requires = parse_requirements(
os.path.join(os.path.dirname(__file__), "requirements.txt"),
session=uuid.uuid1()
)
with open("README.rst") as readme:
long_description = readme.read()
from flask_social_blueprint import __version__ as version
setup_kwargs = {
'name': "flask-social-blueprint",
'version': version,
'packages': find_packages("src"),
'package_dir': {'': 'src'},
'install_requires': [str(r.req) for r in install_requires],
# "package_data": {
# '': ['requirements.txt']
# },
'author': "Janusz Skonieczny",
'author_email': "[email protected]",
'description': "An OAuth based authentication blueprint for flask. Easy to extend and override",
'long_description': long_description,
'license': "MIT",
'keywords': "flask social oauth authentication",
'url': "https://github.com/wooyek/flask-social-blueprint",
'classifiers': [
'Programming Language :: Python',
'Development Status :: 4 - Beta',
'Natural Language :: English',
'Environment :: Web Environment',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Topic :: Software Development :: Libraries :: Python Modules',
'Topic :: Software Development :: Libraries :: Application Frameworks',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
],
'test_suite': 'flask_social_blueprint.tests.suite'
}
setup(**setup_kwargs)