summaryrefslogtreecommitdiff
path: root/setuptools/command/install_scripts.py
Commit message (Collapse)AuthorAgeFilesLines
* Remove bdist_wininstMiro Hrončok2021-03-081-1/+2
| | | | Fixes https://github.com/pypa/setuptools/issues/2558
* Fix install_scripts() if bdist_wininst is missingVictor Stinner2020-02-031-2/+5
| | | | Closes #1985
* Remove spurious executable permissionsMiro Hrončok2018-07-271-0/+0
|
* Ensure shebang lines are correctly quoted if sys.executable contains spaces.Felix Krull2016-06-261-0/+5
| | | | | | | | Fixes issue #398. This only special-cases sys.executable; if the --executable parameter is used, paths with spaces have to be quoted there explicitly. While this change also applies to Unix platforms, if sys.executable contains spaces on Unix, any shebang lines created with it aren't going to work either way, whether they are quoted or not.
* Use a .best classmethod to resolve JythonCommandSpec when relevant.Jason R. Coombs2015-01-201-1/+1
|
* Correct command reference.Jason R. Coombs2015-01-181-1/+1
|
* Allow the CommandSpec class to be resolved by the writer.Jason R. Coombs2015-01-181-1/+1
|
* Extract writer resolution as a variableJason R. Coombs2015-01-181-1/+3
|
* Defer resolution of the CommandSpec and do it exactly once.Jason R. Coombs2015-01-181-2/+2
|
* Extract variable for exec_paramJason R. Coombs2015-01-181-1/+2
|
* Extract variable for bdist_wininst commandJason R. Coombs2015-01-181-3/+2
|
* Renamed .get_writer to .best and removed boolean argument.Jason R. Coombs2015-01-161-5/+6
|
* Update install_scripts to use CommandSpec for generating script headers.Jason R. Coombs2015-01-041-7/+5
|
* Rename _gen_args to get_args (for consistency).Jason R. Coombs2015-01-041-1/+1
|
* Deprecate and remove usage of easy_install.get_script_header.Jason R. Coombs2015-01-041-2/+2
|
* Move get_script_header into ScriptWriterJason R. Coombs2015-01-041-1/+3
|
* Move decision logic about windows/header generation closer to ↵Jason R. Coombs2015-01-041-4/+6
| | | | install_scripts, as it doesn't appear to be used elsewhere.
* Fixed PEP 8 compliancy of the setuptools.command packageAlex Grönholm2014-06-181-5/+8
|
* Use modern syntax for octal valuesJason R. Coombs2014-05-051-1/+1
|
* Correct indentation and clarify meaning by using namespacingJason R. Coombs2014-04-301-5/+4
| | | | | --HG-- extra : amend_source : 20ab7547c8478eb084767fe701e627bdd462ba16
* Remove excess whitespaceJason R. Coombs2014-03-011-1/+0
|
* Merge with upstreamJason R. Coombs2013-06-181-2/+3
|\ | | | | | | | | --HG-- branch : distribute
| * When writing out scripts, respect the users umaskJustin Azoff2012-05-121-2/+3
| | | | | | | | | | | | --HG-- branch : distribute extra : rebase_source : d4fc14bcdcd3e1a45da8bdcdef490537863ece35
* | Changes to support 2.x and 3.x in the same codebase.Vinay Sajip2011-06-201-1/+1
|/ | | | | | --HG-- branch : distribute extra : rebase_source : 7d3608edee54a43789f0574d702fb839628b5071
* make sure all tests passes on all python versions fixes #149Tarek Ziade2010-05-061-2/+2
| | | | | | --HG-- branch : distribute extra : rebase_source : 6288f4fcf65083b9d4ffb0ea8b35af44e699b4d5
* Fixed #80: test_develop fails with Python 3.1. I don't understand why the ↵tarek2009-11-151-1/+4
| | | | | | | | module is shadowed at this stage, but importing it fixes the problem. --HG-- branch : distribute extra : rebase_source : 9cbb38022787d08f0c8399e25829b10286fb655d
* removed PJE-style white linestarek2009-10-271-35/+3
| | | | | | --HG-- branch : distribute extra : rebase_source : b6f2b1983aa0e5994df5a29688348929fcd20628
* chmod/test cleanups and Jython compatibility (backport from trunk)PJ Eby2008-01-181-5/+5
| | | | | | --HG-- branch : setuptools-0.6 extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/branches/setuptools-0.6%4060062
* Partial support for cross-platform generation of bdist_wininst .exe's.PJ Eby2006-12-291-4/+4
| | | | | | | | | | | Unfortunately, bdist_wininst doesn't fix up #! lines, so python.exe or pythonw.exe have to be on PATH for generated scripts to work. This could probably be fixed up with a post-install script, but that's a job for another day. (backport from trunk) --HG-- branch : setuptools-0.6 extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/branches/setuptools-0.6%4053186
* Fixed duplication of scripts inside .egg filesPJ Eby2006-02-131-1/+42
| | | | | | --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4042345
* Make the install_scripts command respect the "build_scripts -e"PJ Eby2005-12-261-4/+4
| | | | | | | | | option when installing generated scripts using the --single-version-externally-managed option. --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041815
* Fix "legacy mode" trying to install scripts when there are none.PJ Eby2005-12-201-3/+4
| | | | | | --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041777
* Support full roundtrip translation of eggs to and from ``bdist_wininst``PJ Eby2005-12-141-0/+40
format. Running ``bdist_wininst`` on a setuptools-based package wraps the egg in an .exe that will safely install it as an egg (i.e., with metadata and entry-point wrapper scripts), and ``easy_install`` can turn the .exe back into an ``.egg`` file or directory and install it as such. At this point, it should also be possible to "system package" any egg, complete with wrapper scripts, and at least bdist_wininst works now. More testing is needed for at least bdist_dumb and bdist_rpm. --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041692