forked from miguelgrinberg/Flask-HTTPAuth
-
Notifications
You must be signed in to change notification settings - Fork 5
/
setup.py
executable file
·48 lines (44 loc) · 1.45 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
"""
Sanic-HTTPAuth
--------------
Basic and Digest HTTP authentication for Sanic routes.
"""
import re
from setuptools import setup
with open("sanic_httpauth.py", "r") as f:
version = re.search(
r'^__version__\s*=\s*[\'"]([^\'"]*)[\'"]', f.read(), re.MULTILINE
).group(1)
with open("README.md", encoding="utf-8") as f:
long_description = f.read()
setup(
name="Sanic-HTTPAuth",
version=version,
url="http://github.com/MihaiBalint/sanic-httpauth/",
license="MIT",
author="Mihai Balint",
author_email="[email protected]",
description="Basic, Digest and Bearer token authentication for Sanic routes",
long_description=long_description,
long_description_content_type="text/markdown",
py_modules=["sanic_httpauth", "sanic_httpauth_compat"],
zip_safe=False,
include_package_data=True,
platforms="any",
install_requires=["sanic"],
extras_require={
"session": ["sanic_session"],
"test": ["sanic_session", "sanic-cors", "ipdb"],
},
test_suite="tests",
classifiers=[
"Environment :: Web Environment",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Topic :: Internet :: WWW/HTTP :: Dynamic Content",
"Topic :: Software Development :: Libraries :: Python Modules",
],
)