예제 #1
0
파일: setup.py 프로젝트: ssbb/Phoenix
 def run(self):        
     if not self.skip_build:
         # Run build.py to do the actual building of the extension modules
         msg('WARNING: Building this way assumes that all generated files have been \n'
             'generated already.  If that is not the case then use build.py directly \n'
             'to generate the source and perform the build stage.  You can use \n'
             '--skip-build with the bdist_* or install commands to avoid this \n'
             'message and the wxWidgets and Phoenix build steps in the future.\n')       
     
         # Use the same Python that is running this script.
         cmd = [sys.executable, '-u', 'build.py', 'build']
         cmd = ' '.join(cmd)
         runcmd(cmd)
     
     # Let distutils handle building up the package folder under the
     # build/lib folder like normal.
     orig_build.run(self)
예제 #2
0
 def run(self):        
     if not self.skip_build:
         # Run build.py to do the actual building of the extension modules
         msg('WARNING: Building this way assumes that all generated files have been \n'
             'generated already.  If that is not the case then use build.py directly \n'
             'to generate the source and perform the build stage.  You can use \n'
             '--skip-build with the bdist_* or install commands to avoid this \n'
             'message and the wxWidgets and Phoenix build steps in the future.\n')       
     
         # Use the same Python that is running this script.
         cmd = ['"{}"'.format(sys.executable), '-u', 'build.py', 'build']
         cmd = ' '.join(cmd)
         runcmd(cmd)
     
     # Let distutils handle building up the package folder under the
     # build/lib folder like normal.
     orig_build.run(self)