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