Mercurial > hg > numerics
annotate setup.py @ 62:18c0820bfe12
stub concatenating columns
author | Jeff Hammel <k0scist@gmail.com> |
---|---|
date | Mon, 23 Feb 2015 10:50:13 -0800 |
parents | 82a18c9337c3 |
children | 0df8bcb6d521 |
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] |
62 | 19 cat-columns = numerics.cat_columns:main |
15 | 20 interpolate = numerics.interpolation:main |
61 | 21 manipulate = numerics.manipulate:main |
17 | 22 plot = numerics.plot:main |
23 read-csv = numerics.read:main | |
29 | 24 smooth = numerics.smooth:main |
41 | 25 sum = numerics.sum:main |
27 | 26 types = numerics.convert:main |
0 | 27 """ |
54
bbfe25d23a9f
notes to self re fitting Skinny Puppy reference
Jeff Hammel <k0scist@gmail.com>
parents:
45
diff
changeset
|
28 # TODO: |
bbfe25d23a9f
notes to self re fitting Skinny Puppy reference
Jeff Hammel <k0scist@gmail.com>
parents:
45
diff
changeset
|
29 # cleanse = numerics.clean:main |
bbfe25d23a9f
notes to self re fitting Skinny Puppy reference
Jeff Hammel <k0scist@gmail.com>
parents:
45
diff
changeset
|
30 # fold = numerics.fold:main |
0 | 31 kw['install_requires'] = dependencies |
32 except ImportError: | |
33 from distutils.core import setup | |
34 kw['requires'] = dependencies | |
35 | |
36 try: | |
37 here = os.path.dirname(os.path.abspath(__file__)) | |
38 description = file(os.path.join(here, 'README.txt')).read() | |
39 except IOError: | |
40 description = '' | |
41 | |
42 | |
3 | 43 setup(name='numerics', |
0 | 44 version=version, |
3 | 45 description="personal experiments in numerics + plotting", |
0 | 46 long_description=description, |
47 classifiers=[], # Get strings from http://www.python.org/pypi?%3Aaction=list_classifiers | |
48 author='Jeff Hammel', | |
49 author_email='k0scist@gmail.com', | |
3 | 50 url='http://k0s.org/hg/numerics', |
0 | 51 license='', |
3 | 52 packages=['numerics'], |
0 | 53 include_package_data=True, |
54 zip_safe=False, | |
55 **kw | |
56 ) |