-
Notifications
You must be signed in to change notification settings - Fork 3
/
setup.py
60 lines (56 loc) · 1.79 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
import os
import re
from setuptools import find_packages
from setuptools import setup
here = os.path.abspath(os.path.dirname(__file__))
try:
# obtain version string from __init__.py
init_py = open(os.path.join(here, 'concarne', '__init__.py')).read()
version = re.search('__version__ = "(.*)"', init_py).groups()[0]
except Exception:
version = ''
try:
# obtain long description from README and CHANGES
README = open(os.path.join(here, 'README.rst')).read()
#CHANGES = open(os.path.join(here, 'CHANGES.rst')).read()
except IOError:
README = ''
#CHANGES = ''
install_requires = [
'numpy',
'Theano', # we require a development version, see requirements.txt
'Lasagne'
]
tests_require = [
# 'mock',
# 'pytest',
# 'pytest-cov',
# 'pytest-pep8',
]
setup(name='concarne',
version=version,
description='Lightweight framework for learning with side information, based on Theano and Lasagne',
long_description=README,
classifiers=[
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.4",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
],
keywords="",
author='Sebastian Hoefer, Rico Jonschkowski',
author_email='[email protected], [email protected]',
url='https://github.com/tu-rbo/concarne',
license="MIT",
packages=find_packages(),
include_package_data=False,
zip_safe=False,
install_requires=install_requires,
# extras_require={
# 'testing': tests_require,
# },
)