-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.py
38 lines (34 loc) · 1.15 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
# pylint: disable=line-too-long
"""
:author: Pasquale Carmone Carbone
Setup module
"""
import setuptools
with open("README.md", "r") as fh:
LONG_DESCRIPTION = fh.read()
with open('requirements.txt', 'r') as fin:
REQS = fin.read().splitlines()
setuptools.setup(
setup_requires=['setuptools-git-version'],
version_format='{tag}',
name="fastapi-openapi-generator",
author="Pasquale Carmine Carbone",
author_email="[email protected]",
description="A Command Line Interface to save openapi file from a FastAPI application",
long_description=LONG_DESCRIPTION,
url="https://github.com/KiraPC/fastapi-openapi-generator",
long_description_content_type="text/markdown",
packages=setuptools.find_packages(exclude=['venv', 'fastapi-openapi-generator.egg-info', 'build']),
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
entry_points={
'console_scripts': [
'fastapi-openapi-gen = generator.main:main'
]
},
python_requires='>=3.0',
install_requires=REQS
)