Make setup.py use sleekxmpp.__version__

This commit is contained in:
Lance Stout 2011-04-08 16:41:18 -04:00
parent 87ccd804ff
commit 2e1befc8c6

View file

@ -12,6 +12,8 @@
from distutils.core import setup from distutils.core import setup
import sys import sys
import sleekxmpp
# if 'cygwin' in sys.platform.lower(): # if 'cygwin' in sys.platform.lower():
# min_version = '0.6c6' # min_version = '0.6c6'
# else: # else:
@ -25,7 +27,7 @@ import sys
# #
# from setuptools import setup, find_packages, Extension, Feature # from setuptools import setup, find_packages, Extension, Feature
VERSION = '1.0.0.0' VERSION = sleekxmpp.__version__
DESCRIPTION = 'SleekXMPP is an elegant Python library for XMPP (aka Jabber, Google Talk, etc).' DESCRIPTION = 'SleekXMPP is an elegant Python library for XMPP (aka Jabber, Google Talk, etc).'
LONG_DESCRIPTION = """ LONG_DESCRIPTION = """
SleekXMPP is an elegant Python library for XMPP (aka Jabber, Google Talk, etc). SleekXMPP is an elegant Python library for XMPP (aka Jabber, Google Talk, etc).