| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
| |
try: # ...
except ImportError, why:
except: # ...
All other changes are re-indenting/formatting.
|
|
|
|
|
|
|
|
| |
Change setup.py to catch all exceptions.
- Rename module if the exception was an ImportError
- Only warn if the exception was any other error
Revert _iconv_codec to raising a RuntimeError.
|
|
|
|
|
| |
is found if you are running fink, but the module doesn't work. For now
I disabled building iconv_codec on darwin.
|
|
|
|
| |
if the include files cannot be found.
|
| |
|
| |
|
|
|
|
|
|
| |
Use level=3 (i.e. log.WARN) for the warnings about failed imports.
(Hmm... Why is that code in an "if 1: ..."? What's the else branch
for?)
|
|
|
|
| |
wouldn't serve a useful purpose anyway.
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
It also prevents building against the real X headers, if installed.
After discussions with the Cygwin project lead, I believe that building
against the real X headers is OK. Especially, since the psuedo-X headers
are *not* installed by the Cygwin Tcl/Tk binary package.
|
|
|
|
|
|
| |
Note that this patch just reverts the lib_prefix (i.e., "cyg") portion
of my Tcl/Tk 8.3 patch. It seems that Cygwin Tcl/Tk is using a more
normal file naming convention again.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
it, so disable the build for now.
|
| |
|
| |
|
|
|
|
| |
supported version.
|
|
|
|
|
|
|
|
|
|
|
| |
compiler flags which are necessary to get a clean compile. The former is
for user-specified optimizer, debug, trace fiddling. See patch 640843.
Add /sw/lib and /sw/include to setup.py search paths on Darwin to take
advantage of fink goodies.
Add scriptsinstall target to Makefile to install certain scripts from
Tools/scripts directory.
|
|
|
|
|
|
|
| |
The attached patch enables Cygwin Python to
build cleanly against the latest Cygwin Tcl/Tk
which is based on Tcl/Tk 8.3. It also prevents
building against the real X headers, if installed.
|
|
|
|
| |
extension module now supports it.
|
|
|
|
| |
core generator for random.py.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
[ 629278 ] install lib-dynload .so files mode 555
fixing
[ 583206 ] lib-dynload/*.so wrong permissions
[ 425007 ] Python 2.1 installs shared libs with mode 0700
Phew.
|
| |
|
| |
|
|
|
|
|
|
|
| |
Python 2.3 will support source code encodings which rely on the
builtin codecs being available to the parser.
Remove struct dependency from codecs.py
|
|
|
|
|
| |
is present and libndbm is not. Add runtime libs to dbm if linked against
Berkeley DB.
|
|
|
|
| |
Fixes #590377.
|
|
|
|
|
|
|
|
|
|
| |
of using the CCompiler.find_library_file() provided by the Distutils.
This patch fixes it to use the Distutils method at the cost of some
additional glue.
(The duplication resulted in the SSL module not being automatically
built on Macs; the Distutils knew that shared libraries on OS X have a
.dylib extension, but the setup.py code didn't.)
|
|
|
|
|
|
| |
whether they crash or not is not a matter of using a framework or not,
but whether the code is run from an app bundle or not. And that it
_can_ crash (instead of tracing back) is Apple's bug anyway, not ours.
|
|
|
|
|
| |
manager doesn't always have the alias as the first argument, so things
become functions in stead of methods.
|
|
|
|
|
| |
manager. This should allow us the get rid of most of the FSSpecs, only
navigation services remains to be done.
|
| |
|
| |
|
| |
|
|
|
|
| |
if people want to compile it, they should edit Modules/Setup, not setup.py
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* setup.py
(PyBuildExt.detect_modules): Included bz2 module detection.
* Modules/bz2module.c
* Lib/test/test_bz2.py
* Doc/lib/libbz2.tex
Included files implementing, testing, and documenting bz2 module.
* Doc/Makefile.deps
* Doc/lib/lib.tex
Include references to libbz2.tex.
* Misc/NEWS
(Library): Mention distutils' c++ linkage patch, and new bz2 module.
|
|
|
|
|
| |
In build_extensions(), don't proceed if srcdir is None. Probably
somebody who tried this on Windows. :-)
|
|
|
|
| |
except in the hands of experts. Will backport to 2.2.2.
|
|
|
|
|
| |
This module raises "SystemError: module dl requires sizeof(int) ==
sizeof(long) == sizeof(char*)" when compiled on 64-bit platforms.
|
|
|
|
|
| |
of the defunct Balloons API. Help tags are TBD, but at least this gives
us access to the help menu.
|
|
|
|
|
|
|
|
|
| |
Push /usr/... further down the list - always check /usr/local/... before
/usr/...
Doubt this will help with http://python.org/sf/589427 or not, but these
changes were prompted by my investigation of that bug report. I wasn't able
to reproduce that problem though
|
|
|
|
|
|
|
| |
This patch enables setup.py to find gettext routines when they are
located in libintl instead of libc. Although I developed this patch for
Cygwin, I hope that it can be easily updated to support other platforms
(if necessary). I tested this patch under Cygwin and Red Hat Linux 7.1.
|
|
|
|
|
| |
1.1.4. Redhat hasn't upgraded but does provide a patched 1.1.3
package, so checking for 1.1.4 just makes life difficult.
|
|
|
|
|
| |
version to 1.1.4 (because of the 1.1.3 security problem). Also
replace a funny use of line.find() with line.startswith().
|
|
|
|
|
|
|
| |
setup.py (indirectly) script to build the standard dynamically loaded
modules, the errno module is being made static so it will always be
available.
Closes SF bug #591205 (needed on trunk only).
|