forked from LAAC-LSCP/ChildProject
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
52 lines (49 loc) · 1.78 KB
/
setup.py
File metadata and controls
52 lines (49 loc) · 1.78 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
from setuptools import setup, find_packages
import ChildProject
requires = {
"core": ["pandas>=0.25.0", "jinja2", "numpy>=1.16.5", "sox", "datalad"],
"annotations": ["lxml", "pympi-ling", "pylangacq", "python-dateutil>=2.8.1"],
"metrics": ['pyannote.metrics; python_version >= "3.7.0"', "nltk", "sklearn"],
"audio": ["librosa", "pydub", "pysoundfile"],
"samplers": ["PyYAML"],
"zooniverse": ["panoptes-client"],
"eaf-builder": ["importlib-resources"],
"constraints": [
"click==7.1.1",
"requests==2.25.0",
"chardet<4,>=3.0.2",
], # these are not direct dependencies, but rather constraints to avoid version clashes
}
extra_requires = {"metrics": 'pygamma-agreement; python_version >= "3.6.0"'}
setup(
name="ChildProject",
version=ChildProject.__version__,
description="LAAC@LSCP",
url="https://github.com/LAAC-LSCP/ChildProject",
author="Lucas Gautheron",
author_email="lucas.gautheron@gmail.com",
license="MIT",
classifiers=[
"Development Status :: 3 - Alpha",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Operating System :: Unix",
"Programming Language :: Python",
"Topic :: Scientific/Engineering",
],
packages=find_packages(),
install_requires=requires["core"]
+ requires["annotations"]
+ requires["audio"]
+ requires["metrics"]
+ requires["samplers"]
+ requires["zooniverse"]
+ requires["eaf-builder"]
+ requires["constraints"],
extra_requires=extra_requires,
include_package_data=True,
package_data={"ChildProject": ["templates/*.*"]},
entry_points={"console_scripts": ["child-project=ChildProject.cmdline:main",],},
zip_safe=False,
)