-
Notifications
You must be signed in to change notification settings - Fork 9
/
setup.py
63 lines (58 loc) · 2.11 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
import os
from setuptools import setup, find_packages
PACKAGE_NAME = "naplib"
DESCRIPTION = "Tools and functions for neural data processing and analysis in python"
with open("README.md", "r") as f:
LONG_DESCRIPTION = f.read()
AUTHOR = "Gavin Mischler, Vinay Raghavan, Menoua Keshishian"
MAINTAINER = "Gavin Mischler"
MAINTAINER_EMAIL = "[email protected]"
URL = "https://github.com/naplab/naplib-python"
PYTHON_VERSION = '>=3.8' # Minimum Python version
with open("./requirements.txt", "r") as f:
REQUIRED_PACKAGES = f.read()
# Find package version.
PROJECT_PATH = os.path.dirname(os.path.abspath(__file__))
for line in open(os.path.join(PROJECT_PATH, "naplib", "__init__.py")):
if line.startswith("__version__ = "):
VERSION = line.strip().split()[2][1:-1]
non_python_files = ['features/*.mat',
'features/eng.*',
'features/prosodylab_aligner/eng.*',
'features/resample.sh',
'features/prosodylab_aligner/LICENSE',
'features/test.wav',
'io/sample_data/*.mat',
'visualization/*.locs'
]
setup(
name=PACKAGE_NAME,
version=VERSION,
description=DESCRIPTION,
long_description=LONG_DESCRIPTION,
long_description_content_type="text/markdown",
author=AUTHOR,
maintainer=MAINTAINER,
maintainer_email=MAINTAINER_EMAIL,
install_requires=REQUIRED_PACKAGES,
python_requires=PYTHON_VERSION,
url=URL,
project_urls={
'Source': URL,
'Tracker': URL + '/issues/',
},
license="MIT",
classifiers=[
"Development Status :: 3 - Alpha",
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering :: Mathematics",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10"
],
packages=find_packages(exclude=["tests"]),
package_data={'naplib': non_python_files},
include_package_data=True,
)