-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
54 lines (50 loc) · 2.1 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
# Always prefer setuptools over distutils
from setuptools import setup, find_packages
# To use a consistent encoding
from codecs import open
from os import path
here = path.abspath(path.dirname(__file__))
# Get the long description from the README file
with open(path.join(here, 'README.md'), encoding='utf-8') as f:
long_description = f.read()
with open(path.join(here, 'requirements.txt'), encoding='utf-8') as f:
requirements = f.read().split("\n")
setup(
name='seshat-server',
version='0.1.0',
description='A self-hosted tool to manage and ensure quality of audio annotations',
long_description=long_description,
long_description_content_type="text/markdown",
url='https://gitlab.com/bootphon/seshat',
author='Hadrien Titeux',
author_email='[email protected]',
license="MIT",
classifiers=[
'Development Status :: 3 - Alpha',
'Natural Language :: English',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3.6'
],
keywords='',
namespace_packages=['seshat'],
install_requires=requirements,
packages=find_packages(exclude=['docs', 'tests', 'corpora']),
exclude_package_data={'': ['*.wav']},
setup_requires=['pytest-runner', 'setuptools>=38.6.0'], # >38.6.0 needed for markdown README.md
tests_require=['pytest'],
entry_points={
'console_scripts': [
'add-manager = seshat.cli_apps.add_manager:main',
'change-password = seshat.cli_apps.change_password:main',
'check-parser = seshat.cli_apps.check_parser:main',
'check-corpus = seshat.cli_apps.check_corpus:main',
'check-textgrid = seshat.cli_apps.check_textgrid:main',
'add-annotator = seshat.cli_apps.add_annotator:main',
'delete-annotator = seshat.cli_apps.delete_annotator:main',
'campaign-gamma = seshat.cli_apps.campaign_gamma:main',
'assign-task = seshat.cli_apps.assign_task:main',
'list-tasks = seshat.cli_apps.list_tasks:main',
'list-campaigns = seshat.cli_apps.list_campaigns:main',
]
}
)