Mercurial > hg > tvii
comparison setup.py @ 93:36c141f0f0bd default tip
add tensorflow dependency + console scripts
author | Jeff Hammel <k0scist@gmail.com> |
---|---|
date | Sun, 17 Dec 2017 14:31:35 -0800 |
parents | a7d8583f7482 |
children |
comparison
equal
deleted
inserted
replaced
92:f1d1f2388fd6 | 93:36c141f0f0bd |
---|---|
9 'matplotlib', | 9 'matplotlib', |
10 'numerics', | 10 'numerics', |
11 'numpy', | 11 'numpy', |
12 'Pillow', | 12 'Pillow', |
13 'scikit-learn', | 13 'scikit-learn', |
14 'scipy'] | 14 'scipy', |
15 'tensorflow'] | |
15 | 16 |
16 # allow use of setuptools/distribute or distutils | 17 # allow use of setuptools/distribute or distutils |
17 kw = {} | 18 kw = {} |
18 try: | 19 try: |
19 from setuptools import setup | 20 from setuptools import setup |
20 kw['entry_points'] = """ | 21 kw['entry_points'] = """ |
21 [console_scripts] | 22 [console_scripts] |
23 centroid = nettwerk.centroid:main | |
24 gaussian = nettwerk.dataset.gauss:main | |
25 k-means = nettwerk.kmeans:main | |
26 line = nettwerk.dataset.line:main | |
27 linear-regression = nettwerk.linear_regression:main | |
28 nettwerk-mnist = nettwerk.mnist:main | |
29 random-circle = nettwerk.dataset.circle:main | |
30 random-data = nettwerk.dataset.rand:main | |
31 sigmoid = nettwerk.sigmoid:main | |
22 """ | 32 """ |
23 kw['install_requires'] = dependencies | 33 kw['install_requires'] = dependencies |
24 except ImportError: | 34 except ImportError: |
25 from distutils.core import setup | 35 from distutils.core import setup |
26 kw['requires'] = dependencies | 36 kw['requires'] = dependencies |