forked from ArtificialIntelligenceToolkit/conx
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
43 lines (38 loc) · 1.33 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
import io
import sys
try:
import pypandoc
except:
pypandoc = None
from setuptools import find_packages, setup
with io.open('conx/_version.py', encoding='utf-8') as fid:
for line in fid:
if line.startswith('__version__'):
version = line.strip().split()[-1][1:-1]
break
with io.open('README.md', encoding='utf-8') as fp:
long_desc = fp.read()
if pypandoc is not None:
try:
long_desc = pypandoc.convert(long_desc, "rst", "markdown_github")
except:
pass
setup(name='conx',
version=version,
description='On-Ramp to Deep Learning. Built on Keras',
long_description=long_desc,
author='Douglas S. Blank',
author_email='doug.blank@gmail.com',
url='https://github.com/Calysto/conx',
install_requires=['numpy', 'keras>=2.1.3', 'matplotlib', 'ipywidgets>=7.0',
'Pillow', 'IPython', 'h5py', "svgwrite", "sklearn",
"tqdm", "requests", "pydot", "cairosvg"],
packages=find_packages(include=['conx', 'conx.*']),
include_data_files = True,
test_suite = 'nose.collector',
classifiers=[
'Framework :: IPython',
'License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)',
'Programming Language :: Python :: 3',
]
)