forked from itdxer/neupy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
60 lines (47 loc) · 1.5 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 warnings
from setuptools import setup, find_packages
import neupy
CURRENT_DIR = os.path.abspath(os.path.dirname(__file__))
def get_requirements():
try:
requirements_file = os.path.join(CURRENT_DIR, 'requirements',
'main.txt')
with open(requirements_file) as f:
requirements = f.read()
return requirements.splitlines()
except IOError as e:
warnings.warn("error", e)
# Simple hack for `tox` test.
return []
setup(
# Info
name='neupy',
version=neupy.__version__,
license='MIT',
url='http://neupy.com',
description=neupy.__doc__.strip(),
# Author
author='Yurii Shevhcuk',
author_email='mail@itdxer.com',
# Package
packages=find_packages(),
install_requires=get_requirements(),
include_package_data=True,
zip_safe=False,
keywords=['neural networks', 'deep learning'],
# Other
classifiers=[
'Intended Audience :: Developers',
'Natural Language :: English',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Topic :: Software Development :: Libraries :: Python Modules',
],
)