-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.py
74 lines (65 loc) · 1.58 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
73
74
# -*- coding: utf-8 -*-
from os import path
from setuptools import setup, find_packages
here = path.abspath(path.dirname(__file__))
with open(path.join(here, 'README.md'), encoding='utf-8') as f:
long_description = f.read()
install_requires = [
'click==7.0.*',
'pyserial==3.4.*',
'tornado==6.0.*'
]
setup_requires = [
'pytest-runner>=4.4'
]
tests_require = [
'pytest==4.4.*',
'coverage>=4.5',
'pytest-cov>=2.6'
]
sound_testing_require = [
'pygame==1.9.*'
]
extras_require = {
'tests': tests_require,
'all': install_requires + tests_require + sound_testing_require
}
setup(
name="dusty-acorn",
version="2.0",
description="Air Quality monitoring web application",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/niwa/dusty-acorn",
packages=find_packages(),
# find . -name "*.*" -exec sh -c 'echo "${0##*.}"' {} \; | sort | uniq
package_data={
'': [
'*.css',
'*.eot',
'*.html',
'*.jpg',
'*.js',
'*.json',
'*.mp3',
'*.mp4',
'*.ods',
'*.otf',
'*.png',
'*.svg',
'*.ttf',
'*.woff',
'*.woff2'
],
},
python_requires='>=3.7',
install_requires=install_requires,
setup_requires=setup_requires,
tests_require=tests_require,
extras_require=extras_require,
entry_points={
'console_scripts': [
'dusty-acorn=dusty_acorn.main:main'
]
}
)