-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
62 lines (56 loc) · 1.53 KB
/
setup.py
File metadata and controls
62 lines (56 loc) · 1.53 KB
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
import codecs
import os.path
from setuptools import find_packages, setup
here = os.path.abspath(os.path.dirname(__file__))
with codecs.open(os.path.join(here, "README.md"), encoding="utf-8") as f:
long_description = f.read()
tests_require = [
"flake8",
"pytest",
"pytest-cov",
"tox",
"tornado",
"PyYAML"
]
setup(
name="python_swagger_ui",
author='Growbots',
author_email='lukasz.jakobiec@growbots.com',
url='https://github.com/growbots/python_swagger_ui/',
#version = '0.1',
use_scm_version={
"root": here,
"write_to": os.path.join(here, "swagger/_version.py"),
},
description="Swagger UI displaying swagger YAML definition",
long_description=long_description,
packages=find_packages(where=here),
include_package_data=True,
package_data={
'': ['swagger/static/*'],
},
install_requires=[
"tornado",
"PyYAML"
],
setup_requires=[
"pytest-runner",
"setuptools_scm>=1.10.1,<2.0.0",
"tornado",
"PyYAML"
],
tests_require=tests_require,
extras_require={
"tests": tests_require,
},
classifiers=[
"Operating System :: OS Independent",
"Intended Audience :: Developers",
"Programming Language :: Python",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
],
)