| python Programming Glossary: distutils.coreHow to compile python script to binary executable  http://stackoverflow.com/questions/12339671/how-to-compile-python-script-to-binary-executable  oldlogs.py this file need coversion setup.py code is from distutils.core import setup import py2exe setup console 'oldlogs.py' Now please.. 
 How to extend distutils with a simple post install script? http://stackoverflow.com/questions/1321270/how-to-extend-distutils-with-a-simple-post-install-script  custom commands. It's not pretty but it does work. import distutils.core from distutils.command.install import install ... class my_install.. interfaces. I strongly suggest reading the docstrings. ... distutils.core.setup ... cmdclass dict install my_install ... `  share improve.. 
 How do I propagate C++ exceptions to Python in a SWIG wrapper library? http://stackoverflow.com/questions/1394484/how-do-i-propagate-c-exceptions-to-python-in-a-swig-wrapper-library  will fail when _mylibrary is not recognized setup.py from distutils.core import setup Extension mylibrary_module Extension '_mylibrary'.. 
 scipy with py2exe http://stackoverflow.com/questions/14215303/scipy-with-py2exe  maxima' show And here is my setup.py file # setup.py from distutils.core import setup import py2exe import os import matplotlib setup.. 
 How to tell distutils to use gcc? http://stackoverflow.com/questions/16737260/how-to-tell-distutils-to-use-gcc  setup.py file. The content of my file looks like this from distutils.core import setup from distutils.extension import Extension from.. 
 How to run installed python script? http://stackoverflow.com/questions/1829524/how-to-run-installed-python-script  to install my python package with this setup.py import distutils.core args 'name' 'plugh' 'version' '1.0' 'scripts' scripts plugh.. 'version' '1.0' 'scripts' scripts plugh 'packages' plugh d distutils.core.setup args On linux mac it works as expected plugh hello world.. 
 Process to convert simple Python script into Windows executable http://stackoverflow.com/questions/2136837/process-to-convert-simple-python-script-into-windows-executable  question   Using py2exe include this in your setup.py from distutils.core import setup import py2exe sys os sys.argv.append 'py2exe' setup.. 
 how can i get the executable's current directory in py2exe? http://stackoverflow.com/questions/2292703/how-can-i-get-the-executables-current-directory-in-py2exe  os.path.dirname os.path.realpath sys.argv 0  setup.py from distutils.core import setup import py2exe setup console 'foo.py' results C.. 
 Make distutils look for numpy header files in the correct place http://stackoverflow.com/questions/2379898/make-distutils-look-for-numpy-header-files-in-the-correct-place  distutils setup.py copied from the Cython user guide from distutils.core import setup from distutils.extension import Extension from..   share improve this question   Use numpy.get_include from distutils.core import setup from distutils.extension import Extension from.. 
 python distutils does not include data_files http://stackoverflow.com/questions/2994396/python-distutils-does-not-include-data-files  data files along with the package.. here is my code.. from distutils.core import setup setup name 'Scrapper' version '1.0' description.. 
 Simple wrapping of C code with cython http://stackoverflow.com/questions/3046305/simple-wrapping-of-c-code-with-cython  questions tagged distutils python import numpy from distutils.core import setup from distutils.extension import Extension from.. 
 py2exe fails to generate an executable http://stackoverflow.com/questions/323424/py2exe-fails-to-generate-an-executable  in the dist folder. My setup.py looks like this from distutils.core import setup import py2exe setup console 'ServerManager.py'.. 
 How to correct bugs in this Damerau-Levenshtein implementation? http://stackoverflow.com/questions/3431933/how-to-correct-bugs-in-this-damerau-levenshtein-implementation  free to point out any problems you perceive. setup.py from distutils.core import setup from distutils.extension import Extension from.. 
 MANIFEST.in ignored on “python setup.py install” - no data files installed? http://stackoverflow.com/questions/3596979/manifest-in-ignored-on-python-setup-py-install-no-data-files-installed  with non code stuff removed # usr bin env python from distutils.core import setup from whyteboard.misc import meta setup name 'Whyteboard'.. 
 Py2Exe: DLL load failed http://stackoverflow.com/questions/3782117/py2exe-dll-load-failed  it caused this kind of problem. The install script from distutils.core import setup import py2exe setup console 'test.py' Yes both.. 
 trouble installing rpy2 on win7 (R 2.12, Python 2.5) http://stackoverflow.com/questions/4924917/trouble-installing-rpy2-on-win7-r-2-12-python-2-5  from distutils.command.build import build as _build from distutils.core import setup from distutils.core import Extension pack_name.. build as _build from distutils.core import setup from distutils.core import Extension pack_name 'rpy2' pack_version __import__ 'rpy'.. 
 Opening an EXE of my Pygame program gives me import errors http://stackoverflow.com/questions/6482235/opening-an-exe-of-my-pygame-program-gives-me-import-errors  And I tried to put it into an exe with this code from distutils.core import setup import py2exe setup console 'mp3player.py' When.. 
 How to build debian package with CPack to execute setup.py? http://stackoverflow.com/questions/7249440/how-to-build-debian-package-with-cpack-to-execute-setup-py  most important files setup.py # usr bin env python from distutils.core import setup setup name 'fake_package' version '1.0.5' description.. 
 |