-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
43 lines (40 loc) · 1.29 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
#!/usr/bin/env python3
from setuptools import setup
def import_requires():
"""
Imports the required packages from requirements.txt
"""
with open("requirements.txt", "r") as req:
return [req_line.strip() for req_line in req.readlines() if not req_line.startswith("-") and req_line.strip()]
setup(
name="rapid-rest",
version="0.5.2",
url='https://gitlab.bunker/global/rapid-rest',
description="Rapid development REST API server built on Flask and friends",
license='MIT',
author='Benumbed',
author_email='[email protected]',
package_dir={'': 'src'},
packages=[
"rapidrest",
"rapidrest.security",
"rapidrest_dummyapi",
"rapidrest_tests",
],
install_requires = import_requires(),
extras_require = {
"Vault": ["hvac>=0.7.2"],
"tests": ["nose2", "WebTest"]
},
classifiers=[
'Topic :: Internet :: WWW/HTTP :: WSGI :: Application',
'Development Status :: 2 - Alpha',
'Environment :: Web Environment',
'Framework :: Flask',
'License :: OSI Approved :: MIT',
'Intended Audience :: Information Technology',
'Natural Language :: English'
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
]
)