-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
78 lines (70 loc) · 2.34 KB
/
setup.py
File metadata and controls
78 lines (70 loc) · 2.34 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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
#! /usr/bin/env python
# -*- coding: utf-8 -*-
from setuptools import setup, find_packages
from codecs import open
from os import path
here = path.abspath(path.dirname(__file__))
with open(path.join(here, 'README.md'), encoding='utf-8') as f:
long_description = f.read().strip()
with open(path.join(here, 'VERSION'), encoding='utf-8') as f:
version = f.read().strip()
setup(
# Authoring
name='swaggery',
version=version,
description='A Python3 framework to create self-documenting swagger APIs',
long_description=long_description,
url='https://github.com/quasipedia/swaggery',
author='Mac Ryan',
author_email='quasipedia@gmail.com',
license='AGPLv3+',
keywords='swagger API documentation asyncronous framework uWSGI WSGI',
# Classifiers: https://pypi.python.org/pypi?%3Aaction=list_classifiers
classifiers=[
'License :: OSI Approved :: '
'GNU Affero General Public License v3 or later (AGPLv3+)',
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'Topic :: Software Development :: Build Tools',
'Topic :: Documentation',
'Topic :: Internet :: WWW/HTTP :: WSGI :: Application',
'Topic :: Software Development :: Documentation',
'Topic :: Software Development :: Libraries :: Application Frameworks',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
],
# Dependencies
install_requires=[
'uWSGI==2.0.7',
'Werkzeug==0.15.3',
'jsonschema==2.4.0',
'docopt==0.6.2',
],
extras_require={
'dev': [
'wheel==0.24.0',
'pip==1.5.6',
'twine==1.3.1',
],
'test': [
'coverage==3.7.1',
'nose==1.3.4',
'rednose==0.4.1',
],
},
# Content
packages=find_packages(exclude=['contrib', 'docs', 'test']),
package_data={
'swaggery': ['static/*', 'introspection/*.json', 'templates/*'],
},
data_files=[
('swaggery-examples/async', ['examples/async/async.py']),
('swaggery-examples/calc', ['examples/calc/calc.py']),
('swaggery-examples/vetinari', ['examples/vetinari/vetinari.py']),
],
# entry_points={
# 'console_scripts': [
# 'swag = sample:main',
# ],
# },
)