Mercurial > hg > tvii
annotate setup.py @ 30:ae0c345ea09d
remove ephemeral notes
author | Jeff Hammel <k0scist@gmail.com> |
---|---|
date | Mon, 04 Sep 2017 12:04:58 -0700 |
parents | d945a862617c |
children | a7d8583f7482 |
rev | line source |
---|---|
0 | 1 """ |
2 setup packaging script for tvii | |
3 """ | |
4 | |
5 import os | |
6 | |
7 version = "0.0" | |
26
d945a862617c
note dependencies; need wheels
Jeff Hammel <k0scist@gmail.com>
parents:
9
diff
changeset
|
8 dependencies = ['h5py', |
d945a862617c
note dependencies; need wheels
Jeff Hammel <k0scist@gmail.com>
parents:
9
diff
changeset
|
9 'matplotlib', |
d945a862617c
note dependencies; need wheels
Jeff Hammel <k0scist@gmail.com>
parents:
9
diff
changeset
|
10 'numerics', |
d945a862617c
note dependencies; need wheels
Jeff Hammel <k0scist@gmail.com>
parents:
9
diff
changeset
|
11 'numpy', |
d945a862617c
note dependencies; need wheels
Jeff Hammel <k0scist@gmail.com>
parents:
9
diff
changeset
|
12 'Pillow', |
d945a862617c
note dependencies; need wheels
Jeff Hammel <k0scist@gmail.com>
parents:
9
diff
changeset
|
13 'scipy'] |
0 | 14 |
15 # allow use of setuptools/distribute or distutils | |
16 kw = {} | |
17 try: | |
18 from setuptools import setup | |
19 kw['entry_points'] = """ | |
20 [console_scripts] | |
21 tvii = tvii.main:main | |
22 tvii-template = tvii.template:main | |
23 """ | |
24 kw['install_requires'] = dependencies | |
25 except ImportError: | |
26 from distutils.core import setup | |
27 kw['requires'] = dependencies | |
28 | |
29 try: | |
30 here = os.path.dirname(os.path.abspath(__file__)) | |
31 description = open(os.path.join(here, 'README.txt')).read() | |
32 except IOError: | |
33 description = '' | |
34 | |
35 | |
36 setup(name='tvii', | |
37 version=version, | |
38 description="TV2", | |
39 long_description=description, | |
40 classifiers=[], # Get strings from http://www.python.org/pypi?%3Aaction=list_classifiers | |
41 author='Jeff Hammel', | |
42 author_email='k0scist@gmail.com', | |
43 url='http://k0s.org/hg/tvii', | |
44 license='', | |
45 packages=['tvii'], | |
46 include_package_data=True, | |
9 | 47 setup_requires=['pytest-runner'], |
48 tests_require=['tox', 'pytest'], | |
0 | 49 zip_safe=False, |
50 **kw | |
51 ) |