-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
52 lines (47 loc) · 1.15 KB
/
setup.py
File metadata and controls
52 lines (47 loc) · 1.15 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
#!/usr/bin/env python
## https://packaging.python.org/tutorials/packaging-projects/#creating-setup-py
import typing
import os
from setuptools import setup
from setuptools import find_packages
this_directory = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(this_directory, 'README.md'), encoding='utf-8') as f:
long_description = f.read()
tests_requirements = [
'pytest',
'pytest-runner',
'mock;python_version<="3.3"',
'flake8',
'autopep8',
'pylint',
]
setup(
name='webapp',
version='0.0.1',
description='Webapp',
long_description=long_description,
long_description_content_type='text/markdown',
package_dir={'': 'src'},
packages=find_packages(where='src'),
include_package_data=True,
package_data={
'': ['*.html', ]
},
install_requires=[
'typing;python_version<"3.5"',
'flask==1.1.1',
'fastjsonschema',
],
extras_require={
'gunicorn': [
'gunicorn',
],
'tests': tests_requirements,
},
dependency_links=[
],
setup_requires=[
],
tests_require=tests_requirements,
test_suite='tests',
)