Example #1
0
 def run(self):
     self._is_running = True
     try:
         _bdist_wininst.run(self)
         self._fix_upload_names()
     finally:
         self._is_running = False
Example #2
0
 def run(self):
     self._is_running = True
     try:
         _bdist_wininst.run(self)
         self._fix_upload_names()
     finally:
         self._is_running = False
Example #3
0
 def run(self):
     tag = '_Qt%s%s%s' % tuple(
         get_config('qt').get('qt_version_str').split('.'))
     name = self.distribution.metadata.name
     if -1 == name.find(tag):
         self.distribution.metadata.name = name + tag
     old_bdist_wininst.run(self)
Example #4
0
 def run(self):
     tag = '_Qt%s%s%s' % tuple(
         get_config('qt').get('qt_version_str').split('.'))
     name = self.distribution.metadata.name
     if -1 == name.find(tag):
         self.distribution.metadata.name = name + tag
     old_bdist_wininst.run(self)
Example #5
0
    def run(self):
        fh, abs_path = mkstemp(".py")
        new_file = open(abs_path, "w")
        # Clear old installation
        new_file.write(
            """
from distutils import sysconfig
import os, shutil
old_installation = os.path.join(sysconfig.get_python_lib(), 'expyriment')
if os.path.isdir(old_installation):
    shutil.rmtree(old_installation)
"""
        )
        new_file.close()
        close(fh)
        self.pre_install_script = abs_path
        bdist_wininst.run(self)
Example #6
0
 def run(self):
     self._is_running = True
     try:
         _bdist_wininst.run(self)
     finally:
         self._is_running = False
Example #7
0
 def run(self):
     self.run_command('build_ext')
     return _bdist_wininst.run(self)
Example #8
0
 def run(self):
     self.distribution.add_prefix = True
     bdist_wininst.run(self)
Example #9
0
 def run(self):
     self._is_running = True
     try:
         _bdist_wininst.run(self)
     finally:
         self._is_running = False
Example #10
0
 def run(self):
     self.run_command('data')
     self.run_command('ui_cvt')
     _bdist_wininst.run(self)
Example #11
0
 def run(self):
    global using_bdist
    using_bdist = 1
    bdist_wininst.run(self)
Example #12
0
 def run(self):
     self.distribution.add_prefix = True
     bdist_wininst.run(self)
Example #13
0
 def run(self):
     self.run_command('build_ext')
     return _bdist_wininst.run(self)