-
Notifications
You must be signed in to change notification settings - Fork 12
/
setup.py
58 lines (49 loc) · 1.75 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
import os
import sys
from setuptools import setup, find_packages, Extension
REPO_DIR = os.path.dirname(os.path.realpath(__file__))
def findRequirements():
"""
Read the requirements.txt file and parse into requirements for setup's
install_requirements option.
"""
return [
line.strip()
for line in open("requirements.txt").readlines()
if not line.startswith("#")
]
description = """Auditory tools and experiments using HTM/CLA (for NuPIC).
This repository is structured as follows:
- stand-alone experiments in separate folders
- `Theory/` with collection of interesting papers
- `nupic/audio/` with reusable components (pip-installable), mainly Encoders
"""
if __name__ == "__main__":
setup(
name="nupic.audio",
description=description,
package_data = {"nupic.examples.data": ["*.wav"]},
# namespace_packages=["nupic"],
packages=find_packages(),
requires=findRequirements(),
version="0.1.0",
author="NuPIC-community",
author_email="[email protected]",
url="https://github.com/nupic-community/nupic.audio",
# zip_safe=False,
classifiers=[
"Programming Language :: Python",
"Programming Language :: Python :: 2",
"License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)",
"Operating System :: MacOS :: MacOS X",
"Operating System :: POSIX :: Linux",
"Operating System :: Microsoft :: Windows",
# It has to be "5 - Production/Stable" or else pypi rejects it!
"Development Status :: 5 - Production/Stable",
"Environment :: Console",
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering :: Artificial Intelligence"
],
license="AGPL",
keywords="HTM NuPIC audio AI encoders music",
)