summaryrefslogtreecommitdiffstats
path: root/Lib/distutils
Commit message (Collapse)AuthorAgeFilesLines
* Backport a checkin of jvr's:Michael W. Hudson2002-03-171-1/+4
| | | | | | on MacOSX/Darwin, use ranlib when building static libs. I hope this belongs on the branch...
* Backport theller's check-in of revision 1.45:Michael W. Hudson2002-02-221-4/+5
| | | | | | | Make it 1.5.2 compatible again. (I'm not sure how having symlinks around the repository interacts with branches -- I'm going to tread carefully in here)
* backport akuchling's checkin ofMichael W. Hudson2002-02-221-0/+7
| | | | | | | | | | | | revision 1.12 of file_util.py [Bug #220993; may also fix bug #479469] Fix flakiness when old 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.
* backport akuchling's checkin ofMichael W. Hudson2002-02-221-1/+1
| | | | | | | | | | | | | | revision 1.11 of install_scripts.py Restrict the mode to the lowest four octal positions; higher positions 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. This patch was applied by an alarmingly automated system -- I hope it worked...
* Backport theller's checkin of revision 1.35:Michael W. Hudson2002-02-191-1/+5
| | | | | | | package_dir must be converted from the distutils path conventions to local conventions before being used by build_py. Fixes SF bug #509288, probably a candidate for 2.2.1
* Backport loewis' checkin of revision 1.44:Michael W. Hudson2002-02-061-0/+4
| | | | | | | Encode MSVC paths as mbcs. Fixes #509117. 2.2.1 candidate. (apparently 1.5.2 compatibility is still a goal for distutils, but I'll wait until that gets amended on the trunk...)
* Backport of akuchling's checkin of 1.10:Michael W. Hudson2001-12-281-1/+1
| | | | | | | | | | | Suggested by Pete Shinners: treat .m and .mm files as source code. Question for Jack Jansen: is this reasonable? Candidate for 2.2 release branch (if Jack thinks it's OK). Not sure how this wasn't on the branch already, seeing as I thought it went into 2.2.
* 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
|
* Wrap a comment to fit in 80 columns.Fred Drake2001-08-101-6/+6
| | | | | Use construction-syntax for an exception to make the argument easier to read.
* Use .get_license()Andrew M. Kuchling2001-08-101-1/+1
|
* [Bug #412271, bug #449009] Use 'license' as the attribute name,Andrew M. Kuchling2001-08-101-11/+11
| | | | | | | though 'licence' is still supported for backward-compatibility (Should I add a warning to get_licence(), or not bother?) Also fixes an UnboundLocalError noticed by PyChecker
* Import UnknownFileErrorAndrew M. Kuchling2001-08-091-1/+1
|
* Import the errno moduleAndrew M. Kuchling2001-08-091-1/+2
|
* Use correct variable nameAndrew M. Kuchling2001-08-091-1/+1
|
* Miscellaneous minor cleanups.Fred Drake2001-08-021-20/+21
|
* Do convert_path() on script paths (now PyXML builds out of the boxJust van Rossum2001-07-291-0/+2
| | | | under MacOS.)
* Add backwards compatibility.Marc-André Lemburg2001-07-261-1/+6
|
* Patch #411138: Rename config.h to pyconfig.h. Closes bug #231774.Martin v. Löwis2001-07-263-13/+13
|
* Undo revision 1.7: always mangle a #! line containing "python" to pointGreg Ward2001-07-251-4/+2
| | | | | | | | | | | | | | to the current Python interpreter (ie. the one used for building/installation), even (especially!) if "/usr/bin/env" appears in the #! line. Rationale: installing scripts with "#!/usr/bin/env python" is asking for trouble, because 1) it might pick the wrong interpreter (not the one used to build/install the script) 2) it doesn't work on all platforms (try it on IRIX 5, or on Linux with command-line options for python) 3) "env" might not be in /usr/bin