forked from Eomys/MoSQITo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
59 lines (53 loc) · 1.67 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
import setuptools
# /!\ update before a release
MoSQITo_VERSION = "1.0.8"
# MoSQITo description
with open("README.md", "r", encoding="utf-8") as fh:
long_description = fh.read()
python_requires = ">= 3.5"
# MoSQITo dependencies
with open("requirements.txt", "r") as file:
requirements = file.readlines()
install_requires = "".join(
requirements
).splitlines() # remove endline in each element
tests_require = ["pytest>=5.4.1", "pandas", "openpyxl", "SciDataTool", "matplotlib"]
uff_require = ["pyuff"]
scidatatool_require = ["SciDataTool"]
all_require = tests_require + uff_require
setuptools.setup(
name="mosqito",
version=MoSQITo_VERSION,
author="MoSQITo Developers",
author_email="martin.glesser@eomys.com",
description="Modular Sound Quality Integrated Toolbox",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/Eomys/MoSQITo",
download_url="https://github.com/Eomys/MoSQITo/archive/v{}.tar.gz".format(
MoSQITo_VERSION
),
packages=setuptools.find_packages(
exclude=[
"docs",
"tutorials",
"validations",
"tests",
]
),
include_package_data=True,
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
],
python_requires=python_requires,
install_requires=install_requires,
tests_require=tests_require,
extras_require={
"testing": tests_require,
"uff": uff_require,
"SciDataTool": scidatatool_require,
"all": all_require,
},
)