Commit Graph

14 Commits

Author SHA1 Message Date
Christoph Reiter fa22b42d9f launcher: Fix build with mingw-w64
execv() requires process.h to be included according to the MSVC documentation
but for some reason it also works without it.

mingw-w64 on the other hand fails to build the launcher if the include isn't there,
so add it.
2019-06-13 18:31:57 +02:00
Miro Hrončok 760e2e1df9 Remove spurious executable permissions 2018-07-27 14:53:45 +02:00
Grigory Petrov d9c4d3c51e Added support for Windows RT (arm).
--HG--
branch : distribute
extra : rebase_source : c181b8cc551936e48bdc88d9435018d0d9de00b2
2013-04-03 02:02:44 +04:00
guyroz 793092ce4a Issue #207: passing ctrl-c events to python child process
--HG--
branch : distribute
extra : rebase_source : e8f22b9c0389b62edf48c5c540498f46fac206ea
2011-09-17 16:25:22 +03:00
agronholm e6e0e5add9 Reversing patch for 64-bit Windows script launcher, applied PJE's simpler solution instead
--HG--
branch : distribute
extra : rebase_source : 320927dbc962a262853cae7d8b3734794bb9f21d
2009-10-20 01:37:01 +03:00
agronholm efa78ba0a0 Fix script launcher creation on 64-bit Windows, patch by Jason R. Coombs (http://bugs.python.org/setuptools/issue2)
--HG--
branch : distribute
extra : rebase_source : 60c07b0639b77a3e8ff13eb12161ebe03ab47430
2009-09-25 22:01:27 +03:00
PJ Eby 8e3c998ec1 Backport gui.exe launcher fix.
--HG--
branch : setuptools-0.6
extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/branches/setuptools-0.6%4059684
2008-01-03 23:48:02 +00:00
PJ Eby 6dbe235a60 Fix ``#!`` parsing problems in Windows ``.exe`` script wrappers, when there
was whitespace inside a quoted argument or at the end of the ``#!`` line
(backport from trunk)

--HG--
branch : setuptools-0.6
extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/branches/setuptools-0.6%4053548
2007-01-24 21:00:55 +00:00
PJ Eby e44a3a3aff Overhauled Windows script wrapping to support ``bdist_wininst`` better.
Scripts installed with ``bdist_wininst`` will always use ``#!python.exe`` or
``#!pythonw.exe`` as the executable name (even when built on non-Windows
platforms!), and the wrappers will look for the executable in the script's
parent directory (which should find the right version of Python).
(backport from trunk)

--HG--
branch : setuptools-0.6
extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/branches/setuptools-0.6%4053194
2006-12-29 17:43:39 +00:00
Jim Fulton cd84d4b5eb Added quoting of script arguments and extended the quoting logic to
handle embedded quotes.

Added support for passing a single argument on the shebang line to
pass things like -O and -i.

Fixed bug in handling trailing whitespace in Python command.

--HG--
branch : setuptools-0.6
extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/branches/setuptools-0.6%4051487
2006-08-22 19:58:05 +00:00
PJ Eby fd21ab7f9a Quote arguments to python.exe (including python's path) to avoid
problems when Python (or a script) is installed in a directory
whose name contains spaces.  :(

--HG--
branch : setuptools
extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041460
2005-11-17 03:01:33 +00:00
PJ Eby c23b0fb2bf Fix problem with Windows console scripts conflicting with module names,
thereby confusing the import process.  Scripts are now generated with a
suffix of the form '-script.py' to avoid conflicts.  (The .exe's are still
generated without the '-script' part, so you don't have to type it.)
Thanks to Matthew R. Scott for reporting the problem.

--HG--
branch : setuptools
extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041261
2005-10-16 20:45:30 +00:00
PJ Eby ad0eebab21 Support generating .pyw/.exe wrappers for Windows GUI scripts, and
"normal" #! wrappers for GUI scripts on other platforms.

--HG--
branch : setuptools
extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041254
2005-09-24 20:29:57 +00:00
PJ Eby 673ac23e93 Added support to solve the infamous "we want .py on Windows, no
extension elsewhere" problem, while also bypassing the need for PATHEXT
on Windows, and in fact the need to even write script files at all, for
any platform.  Instead, you define "entry points" in your setup script,
in this case the names of the scripts you want (without extensions) and
the functions that should be imported and run to implement the scripts.
Setuptools will then generate platform-appropriate script files at
install time, including an .exe wrapper when installing on Windows.

--HG--
branch : setuptools
extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041246
2005-09-17 01:13:02 +00:00