This repository has been archived by the owner on Feb 4, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
62 lines (54 loc) · 1.78 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
61
62
#!/usr/bin/env python
# -*- encoding: utf-8 -*-
from __future__ import absolute_import
from __future__ import print_function
import io
from os.path import dirname
from os.path import join
from setuptools import find_packages
from setuptools import setup
def read(*names, **kwargs):
return io.open(
join(dirname(__file__), *names),
encoding=kwargs.get('encoding', 'utf8')
).read()
def get_requirements(req_file):
reqs = []
with open(join(dirname(__file__), req_file),'r') as f:
for line in f:
reqs.append(line.rstrip())
return reqs
setup(
name='spec-synthase',
version='0.1.11',
license='MPL2',
description='spec-synthase is a tool to help deal with big swagger files, by building the swagger specification files from little spec files. ',
long_description=read('README.rst'),
author='Allan Silva',
author_email='[email protected]',
url='https://github.com/MicroarrayTecnologia/spec-synthase',
packages=find_packages(),
include_package_data=True,
zip_safe=False,
classifiers=[
'Intended Audience :: Developers',
'License :: OSI Approved :: Mozilla Public License 2.0 (MPL 2.0)',
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
],
entry_points={
"console_scripts": {
"specsynthase = specsynthase.cli:main",
},
},
keywords=[
'OpenAPI Specification', 'OAS', 'swagger', 'yaml', 'spec', 'api'
],
install_requires=get_requirements('requirements.txt'),
tests_require=get_requirements('requirements-test.txt'),
extras_require={
},
)