~vcs-imports/jabberpy/main

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#!/usr/bin/env python2
import sys

try:
    from distutils.core import setup
except:
    if sys.version[0] < 2:
        print "jabber.py requires at least python 2.0"
        print "Setup cannot continue."
        sys.exit(1)
    print "You appear not to have the Python distutils modules"
    print "installed. Setup cannot continue."
    print "You can manually install jabberpy by coping the jabber"
    print "directory to your /python-libdir/site-packages"    
    print "directory."
    sys.exit(1)
    
setup(name="jabber.py",
      version="0.3-1",
      #py_modules=["xmlstream","jabber"],
      packages=["jabber"],
      description="Python xmlstream and jabber IM protocol libs",
      author="Matthew Allum",
      author_email="breakfast@10.am",
      url="http://jabberpy.sf.net/",
      license="LGPL"
      )