# HG changeset patch # User Goffi # Date 1306775108 -7200 # Node ID 3ec237e82aed8b0da0a53d72c79f53b5b040f526 # Parent 8ff113e2abcb7c0bf53c0e5d003a9417c84987d0 setup.py update: - version number updated - install now check environment variable "SAT_INSTALL" with commas-separated options. if nopreinstall is in it, pre-installation will be skipped - "à" removed in SàT commit user for hg patch, to avoid non-ascii char issue diff -r 8ff113e2abcb -r 3ec237e82aed setup.py --- a/setup.py Mon May 30 16:16:46 2011 +0200 +++ b/setup.py Mon May 30 19:05:08 2011 +0200 @@ -92,7 +92,7 @@ 'cd wokkel', '%s pull -f http://hg.ik.nu/ralphm/wokkel-muc-client-support-24-2 -r 1b19c49d30c2' % hg_path, '%s merge wokkel-muc-client-support-24' % hg_path, - '%s commit -u "SàT installation script" -m "Merged wokkel\'s MUC branch"' % hg_path, + '%s commit -u "SaT installation script" -m "Merged wokkel\'s MUC branch"' % hg_path, '%s setup.py %s' % (sys.executable, ' '.join(sys.argv[1:]))] #XXX: we use the same arguments as for this setup.py for command in commands: if command.startswith('cd '): @@ -117,6 +117,7 @@ def run(self): install.run(self) sys.stdout.write ('running post installation stuff\n') + sys.stdout.flush() self.sh_script_path = os.path.join(self.install_lib,'sat','sat.sh') self.primitivus_path = os.path.join(self.install_lib,'sat_frontends','primitivus') self.custom_auto_options() @@ -174,10 +175,12 @@ if sys.argv[1].lower() in ['egg_info','install']: #we only check dependencies if egg_info or install is used - preinstall_check() + install_opt = os.environ.get("SAT_INSTALL","") + if not "nopreinstall" in install_opt: #user can force preinstall skipping + preinstall_check() setup(name=NAME, - version='0.1.1', + version='0.2.0', description=u'Salut à Toi multi-frontend XMPP client', long_description=u'Salut à Toi (SàT) is a XMPP client based on a daemon/frontend architecture. You can use it with the desktop frontend (wix - WxPython based), console ui frontend (Primitivus, Urwid based), or command line frontend (jp), and others are coming. ', author='Goffi (Jérôme Poisson)',