This repository has been archived by the owner on Mar 15, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 41
/
setup.py
60 lines (53 loc) · 1.72 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
57
58
59
60
"""Package setup."""
import setuptools
description = "Fast, highly-concurrent and scalable web APIs for everyone"
with open("README.md", "r") as readme:
long_description = readme.read()
GITHUB = "https://github.com/bocadilloproject/bocadillo"
DOCS = "https://bocadilloproject.github.io"
CHANGELOG = f"{GITHUB}/blob/master/CHANGELOG.md"
INSTALL_REQUIRES = [
"starlette>=0.12.2, <0.13",
"uvicorn>=0.7, <0.9",
"typesystem>=0.2.2",
"jinja2>=2.10.1",
"whitenoise",
"requests",
"python-multipart",
"aiodine>=1.2.5, <2.0",
]
EXTRAS_REQUIRE = {"files": ["aiofiles"], "sessions": ["itsdangerous"]}
EXTRAS_REQUIRE["full"] = [
req for reqs in EXTRAS_REQUIRE.values() for req in reqs
]
setuptools.setup(
name="bocadillo",
version="0.18.3",
author="Florimond Manca",
author_email="florimond.manca@gmail.com",
description=description,
long_description=long_description,
long_description_content_type="text/markdown",
packages=setuptools.find_packages(),
install_requires=INSTALL_REQUIRES,
extras_require=EXTRAS_REQUIRE,
python_requires=">=3.6",
url=DOCS,
project_urls={
"Source": GITHUB,
"Documentation": DOCS,
"Changelog": CHANGELOG,
},
license="MIT",
classifiers=[
"License :: OSI Approved :: MIT License",
"Intended Audience :: Developers",
"Environment :: Web Environment",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Topic :: Software Development :: Libraries :: Application Frameworks",
],
)