forked from rdidyk/falcon-swagger-ui
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
57 lines (44 loc) · 1.33 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
import os
from setuptools import setup
CURRENT_VERSION = '1.1.1'
def read_file(filename):
"""Open a file, read it and return its contents."""
path = os.path.join(os.path.dirname(__file__), filename)
with open(path) as f:
return f.read()
setup(
name='falcon-swagger-ui',
version=CURRENT_VERSION,
description='Swagger UI Application for Falcon',
# Get the long description from the README file
long_description=read_file('README.rst'),
url='https://github.com/rdidyk/falcon-swagger-ui',
download_url='https://github.com/rdidyk/falcon-swagger-ui'
'/archive/{}.tar.gz'.format(CURRENT_VERSION),
author='Ruslan Didyk',
author_email='rdidyk@tmgtop.com',
license='MIT',
classifiers=[
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
],
keywords='falcon swagger',
packages=['falcon_swagger_ui'],
install_requires=[
'falcon',
'Jinja2',
],
package_data={
'falcon_swagger_ui': [
'README.rst',
'setup.cfg',
'LICENSE',
'templates/*',
'dist/*',
'dist/*/*',
],
}
)