- 25 Mar, 2004 2 commits
-
-
Fred Drake authored
scripts closes SF bug 796042
-
Martin v. Löwis authored
-
- 22 Mar, 2004 1 commit
-
-
Anthony Baxter authored
requires and provides. requires is a sequence of strings, of the form 'packagename-version'. The dependency checking so far merely does an '__import__(packagename)' and checks for packagename.__version__ You can also leave off the version, and any version of the package will be installed. There's a special case for the package 'python' - sys.version_info is used, so requires= ( 'python-2.3', ) just works. Provides is of the same format as requires - but if it's not supplied, a provides is generated by adding the version to each entry in packages, or modules if packages isn't there. Provides is currently only used in the PKG-INFO file. Shortly, PyPI will grow the ability to accept these lines, and register will be updated to send them. There's a new command 'checkdep' command that runs these checks. For this version, only greater-than-or-equal checking is done. We'll add the ability to specify an optional operator later.
-
- 24 Feb, 2004 1 commit
-
-
Hye-Shik Chang authored
by SIGCHLD or sth because no signal is masked before. This fixes an optimized installation problem on FreeBSD libpthread.
-
- 20 Feb, 2004 5 commits
-
-
Thomas Heller authored
msvccompiler.get_build_version(). Distributions without a pre-install-script didn't work any longer, we must at least provide the terminating NUL character.
-
Thomas Heller authored
included in Python distributions for systems other than Windows. Windows installers can be build on non-Windows systems as long as they only include pure python module distributions.
-
Thomas Heller authored
-
Thomas Heller authored
Patch #892660 from Mark Hammond, for distutils bdist_wininst command. install.c: support for a 'pre-install-script', run before anything has been installed. Provides a 'message_box' module function for use by either the pre-install or post-install scripts. bdist_wininst.py: support for pre-install script. Typo (build->built), fixes so that --target-version can still work, even when the distribution has extension modules - in this case, we insist on --skip-build, as we still can't actually build other versions.
-
Thomas Heller authored
install.c: support for a 'pre-install-script', run before anything has been installed. Provides a 'message_box' module function for use by either the pre-install or post-install scripts. bdist_wininst.py: support for pre-install script. Typo (build->built), fixes so that --target-version can still work, even when the distribution has extension modules - in this case, we insist on --skip-build, as we still can't actually build other versions.
-
- 17 Feb, 2004 1 commit
-
-
Fred Drake authored
suggested approach to dealing with it isn't a good one; we need a better general purpose config reader, not a distutils-specific reader
-
- 12 Feb, 2004 1 commit
-
-
Walter Dörwald authored
From SF patch #852334.
-
- 18 Jan, 2004 2 commits
-
-
Tim Peters authored
patch.
-
Tim Peters authored
-
- 05 Dec, 2003 1 commit
-
-
Thomas Heller authored
Use case: Sometimes 'compiling' source files (with SWIG, for example) creates additionl files which included by later sources. The win32all setup script requires this. There is no SF item for this, but it was discussed on distutils-sig: http://mail.python.org/pipermail/distutils-sig/2003-November/003514.html
-
- 02 Dec, 2003 1 commit
-
-
Andrew MacIntyre authored
-
- 28 Nov, 2003 1 commit
-
-
Thomas Heller authored
is installed but the registry settings are incomplete because the gui has never been run. Already backported to release23-maint.
-
- 24 Oct, 2003 1 commit
-
-
Martin v. Löwis authored
-
- 20 Oct, 2003 1 commit
-
-
Walter Dörwald authored
(From SF patch #810751)
-
- 17 Jul, 2003 1 commit
-
-
Jeremy Hylton authored
I tested against VC 7.0 and it caused no problems there.
-
- 27 Jun, 2003 1 commit
-
-
Gustavo Niemeyer authored
-
- 12 Jun, 2003 1 commit
-
-
Thomas Heller authored
The problem was that subcommands were not reinitialized. Bugfix candidate, will backport myself.
-
- 01 Jun, 2003 1 commit
-
-
Jack Jansen authored
-
- 31 May, 2003 1 commit
-
-
Martin v. Löwis authored
for the library path.
-
- 14 May, 2003 1 commit
-
-
Marc-André Lemburg authored
-
- 09 May, 2003 2 commits
-
-
Jeremy Hylton authored
-
Jeremy Hylton authored
distutils now looks for the compiler version in sys.version, falling back to MSVC 6 if the version isn't listed (Python 2.2 and lower). Add helper routines for reading the registry. Refactor many module functions into methods of the compiler to avoid passing lots of state as arguments.
-
- 24 Apr, 2003 1 commit
-
-
Skip Montanaro authored
argument function is available on the current platform
-
- 18 Apr, 2003 1 commit
-
-
Jason Tishler authored
On cygwin, the setup.py script uses unixccompiler.py for compiling and linking C extensions. The unixccompiler.py script assumes that executables do not get special extensions, which makes sense for Unix. However, on Cygwin, executables get an .exe extension. This causes a problem during the configuration step (python setup.py config), in which some temporary executables may be generated. As unixccompiler.py does not know about the .exe extension, distutils fails to clean up after itself: it does not remove _configtest.exe but tries to remove _configtest instead. The attached patch to unixccompiler.py sets the correct exe_extension for cygwin by checking if sys.platform is 'cygwin'. With this patch, distutils cleans up after itself correctly. Michiel de Hoon University of Tokyo, Human Genome Center.
-
- 14 Apr, 2003 1 commit
-
-
Jason Tishler authored
After some more reflection (and no negative feedback), I am reverting the original patch and applying my version, cygwinccompiler.py-shared.diff, instead. My reasons are the following: 1. support for older toolchains is retained 2. support for new toolchains (i.e., ld -shared) is added The goal of my approach is to avoid breaking older toolchains while adding better support for newer ones.
-
- 09 Apr, 2003 3 commits
-
-
Jason Tishler authored
The cygwinccompiler.get_versions() function only handles versions numbers of the form "x.y.z". The attached patch enhances get_versions() to handle "x.y" too (i.e., the ".z" is optional). This change causes the unnecessary "--entry _DllMain@12" link option to be suppressed for recent Cygwin and Mingw toolchains. Additionally, it directs recent Mingw toolchains to use gcc instead of dllwrap during linking.
-
Jason Tishler authored
Currently, the cygwinccompiler.py compiler handling in distutils is invoking the cygwin and mingw compilers with the -static option. Logically, this means that the linker should choose to link to static libraries instead of shared/dynamically linked libraries. Current win32 binutils expect import libraries to have a .dll.a suffix and static libraries to have .a suffix. If -static is passed, it will skip the .dll.a libraries. This is pain if one has a tree with both static and dynamic libraries using this naming convention, and wish to use the dynamic libraries. The -static option being passed in distutils is to get around a bug in old versions of binutils where it would get confused when it found the DLLs themselves. The decision to use static or shared libraries is site or package specific, and should be left to the setup script or to command line options.
-
Andrew M. Kuchling authored
-
- 03 Mar, 2003 3 commits
-
-
Andrew M. Kuchling authored
This patch makes it work again.
-
Andrew M. Kuchling authored
-
Andrew M. Kuchling authored
-
- 28 Feb, 2003 1 commit
-
-
Andrew M. Kuchling authored
-
- 26 Feb, 2003 1 commit
-
-
Andrew M. Kuchling authored
specified with an absolute path, the object file is also written to an absolute path. The patch drops the drive and leading '/' from the source path, so a path like /path/to/foo.c results in an object file like build/temp.i686linux/path/to/foo.o.
-
- 20 Feb, 2003 2 commits
-
-
Guido van Rossum authored
-
Guido van Rossum authored
levels. (Previously, -vvv would be the same as -q!)
-
- 19 Feb, 2003 1 commit
-
-
Andrew M. Kuchling authored
-