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