Mercurial > hg > numerics
annotate setup.py @ 168:7603829e7610
random 10 sample file
author | Jeff Hammel <k0scist@gmail.com> |
---|---|
date | Tue, 19 May 2015 19:51:11 -0700 |
parents | 1896743209d3 |
children | f9c87cba1df3 |
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 | |
167 | 9 version = "0.1" |
2 | 10 dependencies = ['numpy', |
11 'pandas', | |
12 'matplotlib', | |
120
4e0c6887604e
cleanup and note dependencies
Jeff Hammel <k0scist@gmail.com>
parents:
116
diff
changeset
|
13 'bokeh>=0.8.1', |
4e0c6887604e
cleanup and note dependencies
Jeff Hammel <k0scist@gmail.com>
parents:
116
diff
changeset
|
14 'python-dateutil', |
139 | 15 'tempita', |
120
4e0c6887604e
cleanup and note dependencies
Jeff Hammel <k0scist@gmail.com>
parents:
116
diff
changeset
|
16 'which'] |
0 | 17 |
18 # allow use of setuptools/distribute or distutils | |
19 kw = {} | |
20 try: | |
21 from setuptools import setup | |
22 kw['entry_points'] = """ | |
11 | 23 [console_scripts] |
103
067aa27050a3
limping along towards bar charts
Jeff Hammel <k0scist@gmail.com>
parents:
101
diff
changeset
|
24 bar-chart = numerics.bar:main |
62 | 25 cat-columns = numerics.cat_columns:main |
150 | 26 cleanse = numerics.clean:main |
95 | 27 display-fraction = numerics.text_display:main |
63
0df8bcb6d521
stubbing: unicode histograms
Jeff Hammel <k0scist@gmail.com>
parents:
62
diff
changeset
|
28 histogram = numerics.histogram:main |
15 | 29 interpolate = numerics.interpolation:main |
61 | 30 manipulate = numerics.manipulate:main |
162 | 31 normalize = numerics.normalize:main |
101
b7d4b7f84883
simple script to compute means
Jeff Hammel <k0scist@gmail.com>
parents:
95
diff
changeset
|
32 mean = numerics.mean:main |
128 | 33 median = numerics.median:main |
17 | 34 plot = numerics.plot:main |
35 read-csv = numerics.read:main | |
29 | 36 smooth = numerics.smooth:main |
41 | 37 sum = numerics.sum:main |
27 | 38 types = numerics.convert:main |
0 | 39 """ |
54
bbfe25d23a9f
notes to self re fitting Skinny Puppy reference
Jeff Hammel <k0scist@gmail.com>
parents:
45
diff
changeset
|
40 # TODO: |
101
b7d4b7f84883
simple script to compute means
Jeff Hammel <k0scist@gmail.com>
parents:
95
diff
changeset
|
41 # fold = numerics.fold:main # fold data through functions (reduce) |
0 | 42 kw['install_requires'] = dependencies |
43 except ImportError: | |
44 from distutils.core import setup | |
45 kw['requires'] = dependencies | |
46 | |
47 try: | |
48 here = os.path.dirname(os.path.abspath(__file__)) | |
49 description = file(os.path.join(here, 'README.txt')).read() | |
50 except IOError: | |
51 description = '' | |
52 | |
53 | |
3 | 54 setup(name='numerics', |
0 | 55 version=version, |
3 | 56 description="personal experiments in numerics + plotting", |
0 | 57 long_description=description, |
58 classifiers=[], # Get strings from http://www.python.org/pypi?%3Aaction=list_classifiers | |
59 author='Jeff Hammel', | |
60 author_email='k0scist@gmail.com', | |
3 | 61 url='http://k0s.org/hg/numerics', |
0 | 62 license='', |
3 | 63 packages=['numerics'], |
0 | 64 include_package_data=True, |
65 zip_safe=False, | |
66 **kw | |
67 ) |