forked from numenta/nupic.research
-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
75 lines (68 loc) · 2.74 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
64
65
66
67
68
69
70
71
72
73
74
75
# ------------------------------------------------------------------------------
# Numenta Platform for Intelligent Computing (NuPIC)
# Copyright (C) 2019, Numenta, Inc. Unless you have an agreement
# with Numenta, Inc., for a separate license for this software code, the
# following terms and conditions apply:
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero Public License version 3 as
# published by the Free Software Foundation.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
# See the GNU Affero Public License for more details.
#
# You should have received a copy of the GNU Affero Public License
# along with this program. If not, see http://www.gnu.org/licenses.
#
# http://numenta.org/licenses/
#
# ------------------------------------------------------------------------------
from os import path
from setuptools import setup
import nupic.research
ROOT = path.abspath(path.dirname(__file__))
# Get requirements from file
with open(path.join(ROOT, "requirements.txt")) as f:
requirements = [line.strip() for line in f.readlines() if not line.startswith("#")]
# Get requirements-dev from file
with open(path.join(ROOT, "requirements-dev.txt")) as f:
requirements_dev = [
line.strip() for line in f.readlines() if not line.startswith("#")
]
# Get the long description from the README file
with open(path.join(ROOT, "README.md")) as f:
readme = f.read()
setup(
name="nupic.research",
author="Numenta",
author_email="[email protected]",
license="AGPLv3",
platforms=["any"],
url="https://github.com/numenta/nupic.research",
description="Numenta Experimental Research Code",
long_description=readme,
long_description_content_type="text/markdown",
version=nupic.research.__version__,
packages=["nupic"],
install_requires=requirements,
dependency_links=["git+https://github.com/numenta/nupic.torch.git#egg=nupic.torch"],
python_requires=">=3.6, <4",
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: GNU Affero General Public License v3 or later "
"(AGPLv3+)",
"Operating System :: OS Independent",
"Environment :: Console",
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
],
project_urls={
"Bug Reports": "https://github.com/numenta/nupic.research/issues",
"Source": "https://github.com/numenta/nupic.research",
},
test_suite="tests",
tests_require=["pytest>=4.4.0"],
extras_require={"dev": requirements_dev},
)