0
|
1 """
|
|
2 setup packaging script for KCl
|
|
3 """
|
|
4
|
|
5 import os
|
|
6
|
|
7 version = "0.0"
|
|
8 dependencies = []
|
|
9
|
|
10 # allow use of setuptools/distribute or distutils
|
|
11 kw = {}
|
|
12 try:
|
|
13 from setuptools import setup
|
|
14 kw['entry_points'] = """
|
|
15 [console_scripts]
|
|
16 kcl = kcl.kcl:main
|
|
17 package-versions = kcl.versions:main
|
|
18 run_cmd = kcl.run_cmd:main
|
|
19 sudo_scp = kcl.sudo_scp:main
|
|
20 """
|
|
21 kw['install_requires'] = dependencies
|
|
22 except ImportError:
|
|
23 from distutils.core import setup
|
|
24 kw['requires'] = dependencies
|
|
25
|
|
26 try:
|
|
27 here = os.path.dirname(os.path.abspath(__file__))
|
|
28 description = file(os.path.join(here, 'README.txt')).read()
|
|
29 except IOError:
|
|
30 description = ''
|
|
31
|
|
32
|
|
33 setup(name='KCl',
|
|
34 version=version,
|
|
35 description="fake salt",
|
|
36 long_description=description,
|
|
37 classifiers=[], # Get strings from http://www.python.org/pypi?%3Aaction=list_classifiers
|
|
38 author='Jeff Hammel',
|
|
39 author_email='k0scist@gmail.com',
|
|
40 url='',
|
|
41 license='',
|
|
42 packages=['kcl'],
|
|
43 include_package_data=True,
|
|
44 zip_safe=False,
|
|
45 **kw
|
|
46 )
|