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