comparison setup.py @ 0:96362e527bd6

initial package
author Jeff Hammel <jhammel@mozilla.com>
date Tue, 21 Feb 2012 20:30:10 -0800
parents
children aad329df2548
comparison
equal deleted inserted replaced
-1:000000000000 0:96362e527bd6
1 """
2 setup packaging script for PaInt
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 python-package = PaInt.main:main
17 """
18 kw['install_requires'] = dependencies
19 except ImportError:
20 from distutils.core import setup
21
22 try:
23 here = os.path.dirname(os.path.abspath(__file__))
24 description = file(os.path.join(here, 'README.txt')).read()
25 except IOError:
26 description = ''
27
28 setup(name='PaInt',
29 version=version,
30 description="python PAckage INTrospection",
31 long_description=description,
32 classifiers=[], # Get strings from http://www.python.org/pypi?%3Aaction=list_classifiers
33 author='Jeff Hammel',
34 author_email='jhammel@mozilla.com',
35 url='http://k0s.org/mozilla/hg/PaInt',
36 license='',
37 packages=['paint'],
38 include_package_data=True,
39 zip_safe=False,
40 **kw
41 )