-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
executable file
·32 lines (27 loc) · 953 Bytes
/
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
"""
setup.py for oas3
"""
__author__ = "Pinn Technologies, Inc."
__email__ = "developers@pinn.ai"
__copyright__ = "Copyright 2018, Pinn Technologies, Inc."
import os
from setuptools import setup, find_packages
this_dir = os.path.abspath(os.path.dirname(__file__))
REQUIREMENTS = filter(None, open(
os.path.join(this_dir, 'requirements', 'main.txt')).read().splitlines())
import versioneer
setup(
name='oas3',
author=__author__,
author_email=__email__,
license="MIT",
url="https://oas3.readthedocs.org",
zip_safe=False,
version=versioneer.get_version(),
cmdclass=versioneer.get_cmdclass(),
install_requires=list(REQUIREMENTS),
classifiers=[k for k in open('CLASSIFIERS').read().split('\n') if k],
description='A library for dealing with OpenAPI v3 specifications in Python',
long_description=open('README.rst').read() + open('HISTORY.rst').read(),
packages=find_packages(exclude=["tests*"])
)