0
|
1 """
|
3
|
2 setup packaging script for numerics
|
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'] = """
|
|
18 [console_scripts]
|
|
19 """
|
|
20 kw['install_requires'] = dependencies
|
|
21 except ImportError:
|
|
22 from distutils.core import setup
|
|
23 kw['requires'] = dependencies
|
|
24
|
|
25 try:
|
|
26 here = os.path.dirname(os.path.abspath(__file__))
|
|
27 description = file(os.path.join(here, 'README.txt')).read()
|
|
28 except IOError:
|
|
29 description = ''
|
|
30
|
|
31
|
3
|
32 setup(name='numerics',
|
0
|
33 version=version,
|
3
|
34 description="personal experiments in numerics + plotting",
|
0
|
35 long_description=description,
|
|
36 classifiers=[], # Get strings from http://www.python.org/pypi?%3Aaction=list_classifiers
|
|
37 author='Jeff Hammel',
|
|
38 author_email='k0scist@gmail.com',
|
3
|
39 url='http://k0s.org/hg/numerics',
|
0
|
40 license='',
|
3
|
41 packages=['numerics'],
|
0
|
42 include_package_data=True,
|
|
43 zip_safe=False,
|
|
44 **kw
|
|
45 )
|