-
Notifications
You must be signed in to change notification settings - Fork 10
/
setup.py
53 lines (47 loc) · 1.82 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
"""A setuptools based setup module.
See:
https://packaging.python.org/en/latest/distributing.html
https://github.com/pypa/sampleproject
"""
from io import open
from os import path
# Always prefer setuptools over distutils
from setuptools import find_packages, setup
here = path.abspath(path.dirname(__file__))
# Get the long description from the README file
with open(path.join(here, "README.md"), encoding="utf-8") as f:
long_description = f.read()
setup(
name="pyramid_apispec",
version="0.4",
description="Pyramid plugin for openapi spec generation ",
long_description=long_description,
license="BSD",
long_description_content_type="text/markdown",
url="https://github.com/ergo/pyramid_apispec",
author="Marcin Lulek",
author_email="[email protected]",
classifiers=[ # Optional
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Framework :: Pyramid",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Software Development :: Libraries :: Python Modules",
"License :: OSI Approved :: BSD License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
],
keywords="pyramid apispec marshmallow rest restful",
packages=find_packages(exclude=["contrib", "docs", "tests"]),
package_data={"pyramid_apispec": ["static/*.*"], "": ["LICENSE"]},
install_requires=["apispec[yaml]>=3.0.0", "pyramid"],
setup_requires=["pytest-runner"],
extras_require={
"dev": ["coverage", "pytest", "tox", "webtest", "wheel", "twine"],
"demo": ["marshmallow>=3.13.0,<4.0.0", "apispec>=5.1.0,<6.0.0"],
"lint": ["black"],
},
)