Mercurial > hg > numerics
annotate setup.py @ 115:7fac47bb648e
mysteries and more mysteries: bokeh should really be a plugin for this, not the way to do it, but we are porting so lets ignore that and boldly walk forward
author | Jeff Hammel <k0scist@gmail.com> |
---|---|
date | Sun, 15 Mar 2015 17:03:38 -0700 |
parents | 067aa27050a3 |
children | fe820a3afa48 |
rev | line source |
---|---|
103
067aa27050a3
limping along towards bar charts
Jeff Hammel <k0scist@gmail.com>
parents:
101
diff
changeset
|
1 # -*- coding: utf-8 -*-""" |
067aa27050a3
limping along towards bar charts
Jeff Hammel <k0scist@gmail.com>
parents:
101
diff
changeset
|
2 |
0 | 3 """ |
45
ef915968d104
put this in the parser so that i can use this in convert
Jeff Hammel <k0scist@gmail.com>
parents:
41
diff
changeset
|
4 setup packaging script for numerics python package |
0 | 5 """ |
6 | |
7 import os | |
8 | |
9 version = "0.0" | |
2 | 10 dependencies = ['numpy', |
11 'pandas', | |
12 'matplotlib', | |
13 'bokeh'] | |
0 | 14 |
15 # allow use of setuptools/distribute or distutils | |
16 kw = {} | |
17 try: | |
18 from setuptools import setup | |
19 kw['entry_points'] = """ | |
11 | 20 [console_scripts] |
103
067aa27050a3
limping along towards bar charts
Jeff Hammel <k0scist@gmail.com>
parents:
101
diff
changeset
|
21 bar-chart = numerics.bar:main |
62 | 22 cat-columns = numerics.cat_columns:main |
95 | 23 display-fraction = numerics.text_display:main |
63
0df8bcb6d521
stubbing: unicode histograms
Jeff Hammel <k0scist@gmail.com>
parents:
62
diff
changeset
|
24 histogram = numerics.histogram:main |
15 | 25 interpolate = numerics.interpolation:main |
61 | 26 manipulate = numerics.manipulate:main |
101
b7d4b7f84883
simple script to compute means
Jeff Hammel <k0scist@gmail.com>
parents:
95
diff
changeset
|
27 mean = numerics.mean:main |
17 | 28 plot = numerics.plot:main |
29 read-csv = numerics.read:main | |
29 | 30 smooth = numerics.smooth:main |
41 | 31 sum = numerics.sum:main |
27 | 32 types = numerics.convert:main |
0 | 33 """ |
54
bbfe25d23a9f
notes to self re fitting Skinny Puppy reference
Jeff Hammel <k0scist@gmail.com>
parents:
45
diff
changeset
|
34 # TODO: |
66
7dd1b18c9f78
minor cleanup and better error
Jeff Hammel <k0scist@gmail.com>
parents:
63
diff
changeset
|
35 # cleanse = numerics.clean:main # cleans up outliers |
101
b7d4b7f84883
simple script to compute means
Jeff Hammel <k0scist@gmail.com>
parents:
95
diff
changeset
|
36 # fold = numerics.fold:main # fold data through functions (reduce) |
0 | 37 kw['install_requires'] = dependencies |
38 except ImportError: | |
39 from distutils.core import setup | |
40 kw['requires'] = dependencies | |
41 | |
42 try: | |
43 here = os.path.dirname(os.path.abspath(__file__)) | |
44 description = file(os.path.join(here, 'README.txt')).read() | |
45 except IOError: | |
46 description = '' | |
47 | |
48 | |
3 | 49 setup(name='numerics', |
0 | 50 version=version, |
3 | 51 description="personal experiments in numerics + plotting", |
0 | 52 long_description=description, |
53 classifiers=[], # Get strings from http://www.python.org/pypi?%3Aaction=list_classifiers | |
54 author='Jeff Hammel', | |
55 author_email='k0scist@gmail.com', | |
3 | 56 url='http://k0s.org/hg/numerics', |
0 | 57 license='', |
3 | 58 packages=['numerics'], |
0 | 59 include_package_data=True, |
60 zip_safe=False, | |
61 **kw | |
62 ) |