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