Mercurial > hg > numerics
annotate setup.py @ 57:f16d5f013739
stub for manipulating data
author | Jeff Hammel <k0scist@gmail.com> |
---|---|
date | Tue, 20 Jan 2015 16:32:16 -0800 |
parents | bbfe25d23a9f |
children | 82a18c9337c3 |
rev | line source |
---|---|
0 | 1 """ |
45
ef915968d104
put this in the parser so that i can use this in convert
Jeff Hammel <k0scist@gmail.com>
parents:
41
diff
changeset
|
2 setup packaging script for numerics python package |
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 """ |
54
bbfe25d23a9f
notes to self re fitting Skinny Puppy reference
Jeff Hammel <k0scist@gmail.com>
parents:
45
diff
changeset
|
26 # TODO: |
bbfe25d23a9f
notes to self re fitting Skinny Puppy reference
Jeff Hammel <k0scist@gmail.com>
parents:
45
diff
changeset
|
27 # cleanse = numerics.clean:main |
bbfe25d23a9f
notes to self re fitting Skinny Puppy reference
Jeff Hammel <k0scist@gmail.com>
parents:
45
diff
changeset
|
28 # fold = numerics.fold:main |
bbfe25d23a9f
notes to self re fitting Skinny Puppy reference
Jeff Hammel <k0scist@gmail.com>
parents:
45
diff
changeset
|
29 # manipulate = numerics.manipulate:main |
0 | 30 kw['install_requires'] = dependencies |
31 except ImportError: | |
32 from distutils.core import setup | |
33 kw['requires'] = dependencies | |
34 | |
35 try: | |
36 here = os.path.dirname(os.path.abspath(__file__)) | |
37 description = file(os.path.join(here, 'README.txt')).read() | |
38 except IOError: | |
39 description = '' | |
40 | |
41 | |
3 | 42 setup(name='numerics', |
0 | 43 version=version, |
3 | 44 description="personal experiments in numerics + plotting", |
0 | 45 long_description=description, |
46 classifiers=[], # Get strings from http://www.python.org/pypi?%3Aaction=list_classifiers | |
47 author='Jeff Hammel', | |
48 author_email='k0scist@gmail.com', | |
3 | 49 url='http://k0s.org/hg/numerics', |
0 | 50 license='', |
3 | 51 packages=['numerics'], |
0 | 52 include_package_data=True, |
53 zip_safe=False, | |
54 **kw | |
55 ) |