2 # Setup script for python-jabberbot
3 # by Thomas Perl <thpinfo.com>
5 from distutils
.core
import setup
11 # Make sure that we import the local jabberbot module
12 sys
.path
.insert(0, os
.path
.dirname(os
.path
.abspath(__file__
)))
16 # How is the package going to be called?
19 # List the modules that need to be installed/packaged
24 # These metadata fields are simply taken from the Jabberbot module
25 VERSION
= jabberbot
.__version
__
26 WEBSITE
= jabberbot
.__website
__
27 LICENSE
= jabberbot
.__license
__
28 DESCRIPTION
= jabberbot
.__doc
__
30 # Extract name and e-mail ("Firstname Lastname <mail@example.org>")
31 AUTHOR
, EMAIL
= re
.match(r
'(.*) <(.*)>', jabberbot
.__author
__).groups()
35 description
=DESCRIPTION
,
41 download_url
=WEBSITE
+PACKAGE
+'-'+VERSION
+'.tar.gz')