*** empty log message ***
[pli.git] / setup.py
blob4af97476ac1ea8ad4341970cee8f10aba092fb1c
1 #=======================================================================
3 __version__ = '''0.1.12'''
4 __sub_version__ = '''20040823025217'''
5 __copyright__ = '''(c) Alex A. Naanou 2003'''
8 #-----------------------------------------------------------------------
9 __doc__ = '''\
10 PLI: a utility library for the Python language.
12 It defines a set of generic patters, aspects, utilities and tools. the
13 main target of this set of tools is to assist in rapid/concise
14 development (composition) of software.
15 '''
17 #-----------------------------------------------------------------------
18 __classifiers__ = '''\
19 Development Status :: 2 - Pre-Alpha
20 Intended Audience :: Developers
21 License :: OSI Approved :: BSD License
22 Natural Language :: English
23 Programming Language :: Python
24 '''
26 #-----------------------------------------------------------------------
27 from distutils.core import setup
29 try:
30 import version
31 __pkg_version__ = version.__version__
32 except ImportError:
33 import os
34 pkg_info = './PKG-INFO'
35 ver_str = 'Version:'
36 if os.path.exists(pkg_info):
37 f = open(pkg_info, 'r')
38 for l in f:
39 if l.startswith(ver_str):
40 __pkg_version__ = l.split(ver_str, 1)[-1].lstrip().rstrip()
41 break
42 else:
43 __pkg_version__ = '0.0.00'
46 #-----------------------------------------------------------------------
47 setup(
48 name = 'pli',
49 version = __pkg_version__,
50 description = __doc__.split("\n", 1)[0],
51 long_description = __doc__,
52 author = 'Alex A. Naanou',
53 author_email = 'alex_nanou@users.sourceforge.net',
54 url = 'http://pli.sourceforge.net/',
55 license = 'BSD License',
56 platforms = ['any'],
57 classifiers = filter(None, __classifiers__.split("\n")),
59 ## package_dir = {'': 'pli'},
60 packages = [
61 'pli',
62 'pli.apps',
63 'pli.apps.xmlrpcserver',
64 'pli.aspect',
65 'pli.config',
66 ## 'pli.dispatch',
67 'pli.event',
68 'pli.misc',
69 'pli.net',
70 ## 'pli.unit',
71 'pli.pattern',
72 'pli.pattern.proxy',
73 'pli.pattern.state',
74 'pli.pattern.store',
75 'pli.pattern.mixin',
76 ## 'pli.pattern.tree',
77 'pli.serialize',
79 ## py_modules = [],
84 #=======================================================================
85 # vim:set ts=4 sw=4 nowrap :