-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathsetup.py
46 lines (41 loc) · 1.6 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
import os
import re
from setuptools import setup
with open("README.md", "r") as f:
long_description = f.read()
with open(os.path.join("flask_graphql_auth", "__init__.py"), "r") as f:
try:
version = re.findall(r"^__version__ = \"([^']+)\"\r?$", f.read(), re.M)[0]
except IndexError:
raise RuntimeError("Unable to determine version.")
setup(
name="Flask-GraphQL-Auth",
version=version,
url="https://github.com/NovemberOscar/Flask-GraphQL-Auth",
license="MIT",
author="NovemberOscar",
author_email="[email protected]",
keywords=["jwt", "auth", "graphql"],
description="JWT library for Flask-GraphQL",
long_description=long_description,
long_description_content_type="text/markdown",
packages=["flask_graphql_auth"],
install_requires=["PyJWT==2.0.1", "Flask-GraphQL", "graphene", "flask"],
classifiers=[
"Development Status :: 3 - Alpha",
"Environment :: Web Environment",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.3",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Topic :: Internet :: WWW/HTTP :: Dynamic Content",
"Topic :: Software Development :: Libraries :: Python Modules",
],
)