0
|
1 """
|
3
|
2 setup packaging script for numerics
|
0
|
3 """
|
|
4
|
|
5 import os
|
|
6
|
|
7 version = "0.0"
|
2
|
8 dependencies = ['numpy',
|
|
9 'pandas',
|
|
10 'matplotlib',
|
|
11 'bokeh']
|
0
|
12
|
|
13 # allow use of setuptools/distribute or distutils
|
|
14 kw = {}
|
|
15 try:
|
|
16 from setuptools import setup
|
|
17 kw['entry_points'] = """
|
11
|
18 [console_scripts]
|
15
|
19 interpolate = numerics.interpolation:main
|
|
20 read-csv = numerics.read:main
|
0
|
21 """
|
|
22 kw['install_requires'] = dependencies
|
|
23 except ImportError:
|
|
24 from distutils.core import setup
|
|
25 kw['requires'] = dependencies
|
|
26
|
|
27 try:
|
|
28 here = os.path.dirname(os.path.abspath(__file__))
|
|
29 description = file(os.path.join(here, 'README.txt')).read()
|
|
30 except IOError:
|
|
31 description = ''
|
|
32
|
|
33
|
3
|
34 setup(name='numerics',
|
0
|
35 version=version,
|
3
|
36 description="personal experiments in numerics + plotting",
|
0
|
37 long_description=description,
|
|
38 classifiers=[], # Get strings from http://www.python.org/pypi?%3Aaction=list_classifiers
|
|
39 author='Jeff Hammel',
|
|
40 author_email='k0scist@gmail.com',
|
3
|
41 url='http://k0s.org/hg/numerics',
|
0
|
42 license='',
|
3
|
43 packages=['numerics'],
|
0
|
44 include_package_data=True,
|
|
45 zip_safe=False,
|
|
46 **kw
|
|
47 )
|