Mercurial > hg > numerics
annotate setup.py @ 189:637507918c17
untested implementation of choosing Gaussian parameters
author | Jeff Hammel <k0scist@gmail.com> |
---|---|
date | Fri, 21 Jul 2017 13:10:47 -0700 |
parents | 411db53cb9fb |
children |
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 | |
176 | 9 version = "0.2" |
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', |
183 | 16 'whichpy'] |
0 | 17 |
185
411db53cb9fb
user new modern test runners
Jeff Hammel <k0scist@gmail.com>
parents:
183
diff
changeset
|
18 tests_require = ['pytest', 'tox'] |
411db53cb9fb
user new modern test runners
Jeff Hammel <k0scist@gmail.com>
parents:
183
diff
changeset
|
19 |
0 | 20 # allow use of setuptools/distribute or distutils |
21 kw = {} | |
22 try: | |
23 from setuptools import setup | |
24 kw['entry_points'] = """ | |
11 | 25 [console_scripts] |
103
067aa27050a3
limping along towards bar charts
Jeff Hammel <k0scist@gmail.com>
parents:
101
diff
changeset
|
26 bar-chart = numerics.bar:main |
62 | 27 cat-columns = numerics.cat_columns:main |
150 | 28 cleanse = numerics.clean:main |
95 | 29 display-fraction = numerics.text_display:main |
63
0df8bcb6d521
stubbing: unicode histograms
Jeff Hammel <k0scist@gmail.com>
parents:
62
diff
changeset
|
30 histogram = numerics.histogram:main |
15 | 31 interpolate = numerics.interpolation:main |
61 | 32 manipulate = numerics.manipulate:main |
162 | 33 normalize = numerics.normalize:main |
101
b7d4b7f84883
simple script to compute means
Jeff Hammel <k0scist@gmail.com>
parents:
95
diff
changeset
|
34 mean = numerics.mean:main |
128 | 35 median = numerics.median:main |
17 | 36 plot = numerics.plot:main |
37 read-csv = numerics.read:main | |
29 | 38 smooth = numerics.smooth:main |
179 | 39 split-table = numerics.split_table:main |
41 | 40 sum = numerics.sum:main |
179 | 41 table2json = numerics.table:main |
27 | 42 types = numerics.convert:main |
0 | 43 """ |
54
bbfe25d23a9f
notes to self re fitting Skinny Puppy reference
Jeff Hammel <k0scist@gmail.com>
parents:
45
diff
changeset
|
44 # TODO: |
101
b7d4b7f84883
simple script to compute means
Jeff Hammel <k0scist@gmail.com>
parents:
95
diff
changeset
|
45 # fold = numerics.fold:main # fold data through functions (reduce) |
0 | 46 kw['install_requires'] = dependencies |
185
411db53cb9fb
user new modern test runners
Jeff Hammel <k0scist@gmail.com>
parents:
183
diff
changeset
|
47 kw['tests_require'] = tests_require |
0 | 48 except ImportError: |
49 from distutils.core import setup | |
50 kw['requires'] = dependencies | |
51 | |
52 try: | |
53 here = os.path.dirname(os.path.abspath(__file__)) | |
182 | 54 description = open(os.path.join(here, 'README.txt')).read() |
0 | 55 except IOError: |
56 description = '' | |
57 | |
58 | |
3 | 59 setup(name='numerics', |
0 | 60 version=version, |
3 | 61 description="personal experiments in numerics + plotting", |
0 | 62 long_description=description, |
63 classifiers=[], # Get strings from http://www.python.org/pypi?%3Aaction=list_classifiers | |
64 author='Jeff Hammel', | |
65 author_email='k0scist@gmail.com', | |
3 | 66 url='http://k0s.org/hg/numerics', |
0 | 67 license='', |
3 | 68 packages=['numerics'], |
0 | 69 include_package_data=True, |
70 zip_safe=False, | |
71 **kw | |
72 ) |