forked from SamuelJansen/python-framework
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
72 lines (68 loc) · 2.47 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
63
64
65
66
67
68
69
70
71
72
from distutils.core import setup
version = '0.0.1-67'
name = 'python_framework'
url = f'https://github.com/SamuelJansen/{name}/'
# dataFilePackage = "Python38/site-packages"
dataFilePackage = "dist"
swaggerRelativePath = "/api/resource/swaggerui"
setup(
name = name,
packages = [
name,
f'{name}/api',
f'{name}/api/src',
f'{name}/api/src/annotation',
f'{name}/api/src/model',
f'{name}/api/src/domain',
f'{name}/api/src/helper',
f'{name}/api/src/service',
f'{name}/api/src/service/openapi',
f'{name}/api/src/service/flask',
f'{name}/api/resource',
f'{name}/api/resource/swaggerui'
],
data_files = [
(f'{dataFilePackage}/{name}{swaggerRelativePath}', [
f'{name}{swaggerRelativePath}/favicon-16x16.png',
f'{name}{swaggerRelativePath}/favicon-32x32.png',
f'{name}{swaggerRelativePath}/index.template.html',
f'{name}{swaggerRelativePath}/oauth2-redirect.html',
f'{name}{swaggerRelativePath}/swagger-ui-bundle.js',
f'{name}{swaggerRelativePath}/swagger-ui-bundle.js.map',
f'{name}{swaggerRelativePath}/swagger-ui-standalone-preset.js',
f'{name}{swaggerRelativePath}/swagger-ui-standalone-preset.js.map',
f'{name}{swaggerRelativePath}/swagger-ui.css',
f'{name}{swaggerRelativePath}/swagger-ui.css.map',
f'{name}{swaggerRelativePath}/swagger-ui.js',
f'{name}{swaggerRelativePath}/swagger-ui.js.map',
f'{name}{swaggerRelativePath}/LICENSE',
f'{name}{swaggerRelativePath}/VERSION'
])
],
version = version,
license = 'MIT',
description = 'Flask wrapper',
author = 'Samuel Jansen',
author_email = '[email protected]',
url = url,
download_url = f'{url}archive/v{version}.tar.gz',
keywords = ['flask', 'sqlalchemy', 'open api', 'jwt', 'serializer'],
install_requires = [
"gunicorn>=0",
"Flask>=0",
"Flask-RESTful>=0",
"Flask-JWT-Extended>=0",
"Flask-Swagger-Ui>=0",
"psycopg2-binary>=0",
"SQLAlchemy>=0",
"globals==0.0.43-5",
"python_helper==0.0.14"
],
classifiers = [
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'Topic :: Software Development :: Build Tools',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3.8'
]
)