-
Notifications
You must be signed in to change notification settings - Fork 4
/
setup.py
44 lines (36 loc) · 1.4 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
from os import path
import itertools
from setuptools import setup
from hipose import __version__
here = path.abspath(path.dirname(__file__))
requires_list = []
with open(path.join(here, "requirements.txt"), encoding="utf-8") as f:
for line in f:
requires_list.append(str(line))
extras = {
"parse": ["pandas", "openpyxl"],
"plot": ["matplotlib", "seaborn"],
"vis3d": ["PyQt5", "PyOpenGL", "pyqtgraph"],
"doc": ["sphinx", "sphinx-rtd-theme", "sphinx-autoapi"],
"test": ["pytest", "pytest-flake8", "pytest-cov", "pytest-clarity", "pytest-randomly", "pytest-pydocstyle"]
}
extras["all"] = list(itertools.chain(*extras.values()))
with open("README.md", "r") as freadme:
long_description = freadme.read()
setup(name="hipose",
version=__version__,
description="Human whole-body pose estimation using MARG multi-sensor data.",
long_description=long_description,
long_description_content_type='text/markdown',
author="ManuelPalermo",
author_email="[email protected]",
url="https://github.com/ManuelPalermo/HumanInertialPose",
packages=["hipose"],
license="MIT",
install_requires=requires_list,
extras_require=extras,
classifiers=[
"Programming Language :: Python :: 3.9",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent"],
)