-
Notifications
You must be signed in to change notification settings - Fork 11
/
setup.py
61 lines (58 loc) · 1.78 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
import re
import setuptools
with open('apiflask/__init__.py', 'r') as f:
version = re.search(r'^__version__\s*=\s*[\'"]([^\'"]*)[\'"]',
f.read(), re.MULTILINE).group(1)
with open('README.md', 'r') as fh:
long_description = fh.read()
setuptools.setup(
name='APIFlask',
version=version,
license='MIT',
author='Grey Li',
author_email='[email protected]',
description='A lightweight web API framework based on Flask and marshmallow-code projects.',
long_description=long_description,
long_description_content_type='text/markdown',
platforms='any',
url='https://apiflask.com',
project_urls={
'Documentation': 'https://apiflask.com',
'Source': 'https://github.com/greyli/apiflask',
'Changelog': 'https://apiflask.com/changelog',
},
packages=['apiflask'],
package_data={
'apiflask': [
'templates/apiflask/*.html',
'static/favicon.png'
]
},
include_package_data=True,
install_requires=[
'flask>=1.1.0',
'flask-marshmallow',
'webargs>=6',
'flask-httpauth>=4',
'apispec>=4.2.0',
],
tests_require=[
'openapi-spec-validator',
],
extras_require={
'dotenv': ['python-dotenv'],
'yaml': ['pyyaml'],
},
classifiers=[
'Development Status :: 3 - Alpha',
'Environment :: Web Environment',
'Intended Audience :: Developers',
'Programming Language :: Python :: 3 :: Only',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
],
python_requires='>=3.7',
)