-
Notifications
You must be signed in to change notification settings - Fork 8
/
setup.py
32 lines (26 loc) · 868 Bytes
/
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
import platform
import sys
from setuptools import find_packages, setup
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("#")
]
depLinks = []
if "linux" in sys.platform and platform.linux_distribution()[0] == "CentOS":
depLinks = [ "https://pypi.numenta.com/pypi/nupic",
"https://pypi.numenta.com/pypi/nupic.bindings" ]
setup(name="brainsquared",
version="0.0.1",
description="HTM Challenge 2015 code",
author="Marion Le Borgne, Pierre Karashchuk",
url="https://github.com/CloudbrainLabs/htm-challenge",
packages=find_packages(),
install_requires=findRequirements(),
dependency_links = depLinks
)