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
|
17
|
20 plot = numerics.plot:main
|
|
21 read-csv = numerics.read:main
|
29
|
22 smooth = numerics.smooth:main
|
41
|
23 sum = numerics.sum:main
|
27
|
24 types = numerics.convert:main
|
0
|
25 """
|
|
26 kw['install_requires'] = dependencies
|
|
27 except ImportError:
|
|
28 from distutils.core import setup
|
|
29 kw['requires'] = dependencies
|
|
30
|
|
31 try:
|
|
32 here = os.path.dirname(os.path.abspath(__file__))
|
|
33 description = file(os.path.join(here, 'README.txt')).read()
|
|
34 except IOError:
|
|
35 description = ''
|
|
36
|
|
37
|
3
|
38 setup(name='numerics',
|
0
|
39 version=version,
|
3
|
40 description="personal experiments in numerics + plotting",
|
0
|
41 long_description=description,
|
|
42 classifiers=[], # Get strings from http://www.python.org/pypi?%3Aaction=list_classifiers
|
|
43 author='Jeff Hammel',
|
|
44 author_email='k0scist@gmail.com',
|
3
|
45 url='http://k0s.org/hg/numerics',
|
0
|
46 license='',
|
3
|
47 packages=['numerics'],
|
0
|
48 include_package_data=True,
|
|
49 zip_safe=False,
|
|
50 **kw
|
|
51 )
|