comparison setup.py @ 3:690778ffd302

rename
author Jeff Hammel <k0scist@gmail.com>
date Wed, 03 Sep 2014 18:47:23 -0700
parents 2d7d3034db18
children 5609225fb254
comparison
equal deleted inserted replaced
2:2d7d3034db18 3:690778ffd302
1 """ 1 """
2 setup packaging script for kplot 2 setup packaging script for numerics
3 """ 3 """
4 4
5 import os 5 import os
6 6
7 version = "0.0" 7 version = "0.0"
14 kw = {} 14 kw = {}
15 try: 15 try:
16 from setuptools import setup 16 from setuptools import setup
17 kw['entry_points'] = """ 17 kw['entry_points'] = """
18 [console_scripts] 18 [console_scripts]
19 kplot = kplot.main:main
20 """ 19 """
21 kw['install_requires'] = dependencies 20 kw['install_requires'] = dependencies
22 except ImportError: 21 except ImportError:
23 from distutils.core import setup 22 from distutils.core import setup
24 kw['requires'] = dependencies 23 kw['requires'] = dependencies
28 description = file(os.path.join(here, 'README.txt')).read() 27 description = file(os.path.join(here, 'README.txt')).read()
29 except IOError: 28 except IOError:
30 description = '' 29 description = ''
31 30
32 31
33 setup(name='kplot', 32 setup(name='numerics',
34 version=version, 33 version=version,
35 description="personal experiments in plotting", 34 description="personal experiments in numerics + plotting",
36 long_description=description, 35 long_description=description,
37 classifiers=[], # Get strings from http://www.python.org/pypi?%3Aaction=list_classifiers 36 classifiers=[], # Get strings from http://www.python.org/pypi?%3Aaction=list_classifiers
38 author='Jeff Hammel', 37 author='Jeff Hammel',
39 author_email='k0scist@gmail.com', 38 author_email='k0scist@gmail.com',
40 url='http://k0s.org/hg/kplot', 39 url='http://k0s.org/hg/numerics',
41 license='', 40 license='',
42 packages=['kplot'], 41 packages=['numerics'],
43 include_package_data=True, 42 include_package_data=True,
44 zip_safe=False, 43 zip_safe=False,
45 **kw 44 **kw
46 ) 45 )
47