Mercurial > hg > numerics
comparison setup.py @ 2:2d7d3034db18
wip
| author | Jeff Hammel <k0scist@gmail.com> |
|---|---|
| date | Thu, 14 Aug 2014 16:34:04 -0700 |
| parents | 48d0f28311a3 |
| children | 690778ffd302 |
comparison
equal
deleted
inserted
replaced
| 1:2c37f81bf3a7 | 2:2d7d3034db18 |
|---|---|
| 3 """ | 3 """ |
| 4 | 4 |
| 5 import os | 5 import os |
| 6 | 6 |
| 7 version = "0.0" | 7 version = "0.0" |
| 8 dependencies = ['MakeItSo', 'webob'] | 8 dependencies = ['numpy', |
| 9 'pandas', | |
| 10 'matplotlib', | |
| 11 'bokeh'] | |
| 9 | 12 |
| 10 # allow use of setuptools/distribute or distutils | 13 # allow use of setuptools/distribute or distutils |
| 11 kw = {} | 14 kw = {} |
| 12 try: | 15 try: |
| 13 from setuptools import setup | 16 from setuptools import setup |
| 14 kw['entry_points'] = """ | 17 kw['entry_points'] = """ |
| 15 [console_scripts] | 18 [console_scripts] |
| 16 kplot = kplot.main:main | 19 kplot = kplot.main:main |
| 17 kplot-template = kplot.template:main | |
| 18 """ | 20 """ |
| 19 kw['install_requires'] = dependencies | 21 kw['install_requires'] = dependencies |
| 20 except ImportError: | 22 except ImportError: |
| 21 from distutils.core import setup | 23 from distutils.core import setup |
| 22 kw['requires'] = dependencies | 24 kw['requires'] = dependencies |
