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