summaryrefslogtreecommitdiffstats
path: root/Lib/distutils
Commit message (Collapse)AuthorAgeFilesLines
* [Patch #536769] Add -Xcompiler flag for adding arguments and switches forAndrew M. Kuchling2002-03-291-0/+2
| | | | the compiler
* Revert part of previous patch: several install_* subcommands expectAndrew M. Kuchling2002-03-221-1/+1
| | | | | | | | .compile to be None, and set it to true if it is. Caught by Pearu Peterson. Bugfix candidate, if the previous change is accepted for release22-maint.
* Add missing Boolean optionsAndrew M. Kuchling2002-03-211-3/+2
| | | | | | | Remove unused no_compile flag Initialize the Boolean attribute .compile to 0 instead of None Bugfix candidate.
* Add unlisted Boolean options. Thomas H., can you please check that IAndrew M. Kuchling2002-03-211-1/+2
| | | | | | got this right? Bugfix candidate, unless Thomas notes a problem.
* [Bug #517451] bdist_rpm didn't list all of its Boolean options.Andrew M. Kuchling2002-03-211-1/+1
| | | | | | (Someone should check the other commands for this same error.) Bugfix candidate.
* Allow shebang's which use versioned Python binaries. FixesMarc-André Lemburg2002-02-281-1/+1
| | | | bug #521526.
* First version which runs an install-script (specified by theThomas Heller2002-02-201-314/+354
| | | | | | | | | | | | | | | | | | | --install-script ... command line option to bdist_wininst) at the end of the installation and at the start of deinstallation. Output (stdout, stderr) of the script (if any) is displayed in the last screen at installation, or in a simple message box at deinstallation. sys.argv[1] for the script will contain '-install' at installation time or '-remove' at deinstallation time. The installation script runs in an environment (embedded by the bdist_wininst runtime) where an additional function is available as builtin: create_shortcut(path, description, filename, [arguments[, workdir[, iconpath, iconindex]]]) Recreated this file after source changes.
* on MacOSX/Darwin, use ranlib when building static libs.Just van Rossum2002-02-111-1/+4
|
* Make it 1.5.2 compatible again.Thomas Heller2002-02-081-4/+5
|
* Forgot to add the new emxccompiler.py from Andrew I. MacIntyre'sMarc-André Lemburg2002-02-061-0/+334
| | | | | | distutils patch for OS/2. Here it is...
* [Bug #220993; may also fix bug #479469] Fix flakiness when oldAndrew M. Kuchling2002-02-011-0/+7
| | | | | | | | | installations are present, by always unlinking the destination file before copying to it. Without the unlink(), the copied file remains owned by its previous UID, causing the subsequent chmod() to fail. Bugfix candidate, though it may cause changes on platforms where file ownership behaves differently.
* package_dir must be converted from the distutils path conventions toThomas Heller2002-02-011-1/+5
| | | | | | local conventions before being used by build_py. Fixes SF bug #509288, probably a candidate for 2.2.1
* Restrict the mode to the lowest four octal positions; higher positionsAndrew M. Kuchling2002-01-311-1/+1
| | | | | | | | contain the type of the file (regular file, socket, link, &c.). This means that install_scripts will now print "changing mode of <file> to 775" instead of "... to 100775". 2.2 bugfix candidate, I suppose, though this isn't actually fixing a bug.
* OS/2 patches by Andrew I MacIntyre for distutils.Marc-André Lemburg2002-01-318-4/+108
| | | | Closes patch #435381.
* Encode MSVC paths as mbcs. Fixes #509117. 2.2.1 candidate.Martin v. Löwis2002-01-291-0/+4
|
* SWIGing a source file <name>.i silently overwrites <name>.c if it isThomas Heller2002-01-181-2/+2
| | | | | | | | | | | | | | present - at least the swigged file should be named <name>_wrap.c as this is also SWIG's default. (Even better would be to generate the wrapped sources in a different location, but I'll leave this for later). Newer versions of SWIG don't accept the -dnone flag any more. Since virtually nobody uses SWIG with distutils, this should do no harm. Suggested be Martin Bless on c.l.p.
* Patch #414775: Add --skip-build option to bdist command.Martin v. Löwis2002-01-123-3/+18
|
* Suggested by Pete Shinners: treat .m and .mm files as source code.Andrew M. Kuchling2001-12-211-1/+1
| | | | | | Question for Jack Jansen: is this reasonable? Candidate for 2.2 release branch (if Jack thinks it's OK).
* Recreated after source changes.Thomas Heller2001-12-181-284/+284
|
* Second part of fix for bug [#483982] Python 2.2b2 bdist_wininstThomas Heller2001-12-181-3/+6
| | | | | | | | | | | | crashes. If no external zip-utility is found, the archive is created by the zipfile module, which behaves different now than in 2.1: if the zip-file is created in the root directory if the distribution, it will contain an (empty) version of itself. This triggered the above bug - so it's better to create the zip-file far away in the TMP directory.
* Joe VanAndel wrote:Marc-André Lemburg2001-12-111-1/+1
| | | | | | | | | | | > > When using 'distutils' (shipped with Python 2.1) I've found that my > Python scripts installed with a first line of: > > #!/usr/bin/python2.1None > > This is caused by distutils trying to patch the first line of the python > script to use the current interpreter.
* When using GCC, use the right option to add a directory to the list of dirsFred Drake2001-12-111-1/+18
| | | | | searched for a dependency for runtime linking. This closes SF bug #445902.
* Fix forMichael W. Hudson2001-12-101-2/+11
| | | | [ #409430 ] pydoc install broken
* Fix forMichael W. Hudson2001-12-101-1/+2
| | | | | | | | [ #477371 ] build_scripts can use wrong #! line scripts now get "built" into a directory build/scripts-$(PYTHON_VERSION)/
* Visious hackery to solve a build-control problem related to our use ofFred Drake2001-12-061-0/+11
| | | | | | | distutils for the library modules built as shared objects. A better solution appears possible, but with the threat that the distutils becomes more magical ("complex"). This closes SF bug #458343.
* [Bug #475009] Tighten the pattern for the first line, so we don'tAndrew M. Kuchling2001-12-061-1/+1
| | | | adjust it when a versioned interpreter is supplied (#!.../python2 ...)
* Whitespace normalization.Fred Drake2001-12-0611-48/+48
|
* Whitespace normalization.Fred Drake2001-12-0621-216/+210
|
* Use a version number of 0.0.0 instead of ???. The latter leads toThomas Heller2001-12-061-1/+1
| | | | | | | | | | invalid filenames on Windows when building without specifying a version number in the setup script. See also http://mail.python.org/pipermail/distutils-sig/2001-November/002656.html Bugfix candidate.
* [Bug #459270] Fix incorrect docstringAndrew M. Kuchling2001-12-061-8/+5
|
* The libraries argument was completely ignored, fixed. Reported byJack Jansen2001-11-101-1/+2
| | | | Tom Loredo.
* With Andrew's blessing: distutils version number is now 1.0.3.Thomas Heller2001-10-051-1/+1
|
* Explicitely list the metadata attributes to showThomas Heller2001-10-051-295/+304
| | | | | in the gui. Updated to include the new exe-file.
* Implement PEP250: Use Lib/site-packages under windows.Thomas Heller2001-09-051-311/+306
| | | | | | | | | bdist_wininst doesn't use the NT SCHEME any more, instead a custom SCHEME is used, which is exchanged at installation time, depending on the python version used. Avoid a bogus warning frpom install_lib about installing into a directory not on sys.path.
* [Bug #404274] Restore some special-case code for AIX and BeOS under 1.5.2.Andrew M. Kuchling2001-09-051-1/+28
| | | | | This will have to stay until we decide to drop 1.5.2 compatibility completely.
* [Bug #444589] Record empty directories in the install_data commandAndrew M. Kuchling2001-09-041-4/+12
| | | | Slightly modified version of patch from Jon Nelson (jnelson).
* [Bug #436732] install.py does not record a created *.pth file in theAndrew M. Kuchling2001-09-041-2/+5
| | | | | INSTALLED_FILES output. Modified version of a patch from Jon Nelson (jnelson)
* On the mac some library paths returned were outdated, some were outright funny.Jack Jansen2001-09-041-5/+3
| | | | Fixed.
* Don't use dir() to find instance attribute names.Neil Schemenauer2001-09-031-3/+7
|
* Flush output more aggressively. This makes things look better ifNeil Schemenauer2001-08-291-0/+2
| | | | the setup script is running from inside Vim.
* Patch by Bill Noon: added 'dylib' as a library type along withJack Jansen2001-08-272-4/+9
| | | | | 'static' and 'shared'. This fixes extension building for dynamic Pythons on MacOSX.
* Patch #449054 to implement PEP 250. The standard install directory forGreg Ward2001-08-232-8/+22
| | | | | | modules and extensions on Windows is now $PREFIX/Lib/site-packages. Includes backwards compatibility code for pre-2.2 Pythons. Contributed by Paul Moore.
* [Patch #441691] preprocess() method for Borland C compiler.Andrew M. Kuchling2001-08-161-1/+35
| | | | I have no way of testing this.
* [Patch #444854 from twburton]Andrew M. Kuchling2001-08-161-1/+4
| | | | Add executable extension, needed to get the program name right on Win32
* [Patch #442530 from twburton]Andrew M. Kuchling2001-08-161-4/+4
| | | | | Provide include_dirs argument to all calls to ._preprocess and ._compile Fix typo: pattern.search(pattern) should be pattern.search(line)
* Fix for NameError caught by PyChecker.Andrew M. Kuchling2001-08-131-2/+2
| | | | (This command seems to be essentially untested; should fix that...)
* [Bug #414032] Make the 'sdist' command work when the distribution containsAndrew M. Kuchling2001-08-101-2/+18
| | | | | | libraries. This is done by adding a .get_source_files() method, contributed by Rene Liebscher and slightly modified. Remove an unused local variable spotted by PyChecker
* Remove unused variableAndrew M. Kuchling2001-08-101-1/+0
|
* Fix typo caught by PyCheckerAndrew M. Kuchling2001-08-101-1/+1
|
* Add forgotten importAndrew M. Kuchling2001-08-101-0/+1
|