| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
use of $(srcdir) in Makefile.pre.in so builds outside the source dir still
work.
|
|
|
|
|
|
|
|
|
|
| |
Subversion revision number.
First, in an svn export, there will be no .svn directory, so use an in-file
$Revision$ keyword string with the keyword chrome stripped off.
Also, use $(srcdir) in the Makefile.pre.in to handle the case where Python is
build outside the source tree.
|
|
|
|
|
|
|
| |
Add C API function Py_GetBuildNumber(), add it to the interactive prompt
banner (i.e. Py_GetBuildInfo()), and add it as the sys.build_number
attribute. The build number is a string instead of an int because it may
contain a trailing 'M' if there are local modifications.
|
|
|
|
| |
simplifies a lot of error handling code, and fixes many memory leaks.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
This change implements a new bytecode compiler, based on a
transformation of the parse tree to an abstract syntax defined in
Parser/Python.asdl.
The compiler implementation is not complete, but it is in stable
enough shape to run the entire test suite excepting two disabled
tests.
|
|
|
|
| |
which can't be compiled. Thanks to Mat Martineau for spotting the problem.
|
|
|
|
|
|
|
| |
to be used for flags that change binary compatibility.
Distutils was tweaked to also use the variable if used during compilation of
the interpreter.
|
|
|
|
|
|
|
|
|
|
|
|
| |
POSIX is enabled. This prevents the toolbox glue, all of Carbon,
and various other non-POSIX features from compiling. The POSIX
symbols are still used by default, so turning off the #define
doesn't hurt.
Additionally, linker flags have changed for Darwin 8, and are
different for Darwin 8/gcc4 (default) and Darwin 8/gcc3.3.
Approved by Anthony
|
|
|
|
| |
(closes SF bug #1093173)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
directories) and the include directories specified in CPPFLAGS (``-I``
directories) for compiling the extension modules.
This has led to the core being compiled with the values in the shell's
CPPFLAGS. It has also removed the need for special casing to use Fink and
DarwinPorts under darwin since the needed directories can now be specified in
LDFLAGS and CPPFLAGS (e.g., DarwinPorts users can now do
``LDFLAGS=-L/opt/local/lib; CPPFLAGS=-I/opt/local/include; ./configure`` for
everything to work properly).
Parsing the values in the environment variables is done with getopt. While optparse
would have been a nicer solution it cannot be used because of dependency issues
at execution time; optparse uses gettext which uses struct which will not have
been compiled when the code is imported. If optparse ever makes its
importation of gettext optional by catching ImportError and setting _() to an
identity function then it can be used.
|
|
|
|
| |
Backported to 2.3.
|
|
|
|
| |
$PYTHONFRAMEWORK.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
of hard linking against the framework).
If $MACOSX_DEPLOYMENT_TARGET is set, and >= 10.3, during configure we
setup extensions to link with dynamic lookup. We also record the
value in the Makefile.
Distutils checks whether a value for MACOSX_DEPLOYMENT_TARGET was
recorded in the Makefile, and if it was insists that the current
value matches.
This is only a partial fix because it only applies to 2.4, and the
"two python problem" exists with Python 2.3 shipped with MacOSX 10.3,
which we have no influence over.
|
| |
|
|
|
|
| |
directory.
|
|
|
|
| |
$(prefix) wasn't communicated to Mac/OSX/Makefile for all targets. Fixed.
|
|
|
|
| |
in altbininstall. Backported to 2.3.
|
|
|
|
|
|
|
|
| |
* Install the unittests, docs, newsitem, include file, and makefile update.
* Exercise the new functions whereever sets.py was being used.
Includes the docs for libfuncs.tex. Separate docs for the types are
forthcoming.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
which still supports shared extensions. It takes advantage the latest
Cygwin binutils (i.e., 20030901-1) which can export symbols from
executables:
http://cygwin.com/ml/cygwin-announce/2003-09/msg00002.html
Additionally, it finally lays to rest the following mailing list
subthread:
http://mail.python.org/pipermail/python-list/2002-May/102500.html
I tested the patch under Red Hat Linux 8.0 too
|
| |
|
|
|
|
|
|
|
|
|
| |
- In the top level Makefile, the argument to -install_name should be
prepended with /System/Library/Frameworks/, so it is an absolute path.
- In the top level Makefile, because of 2), RUNSHARED needs to be set to
DYLD_FRAMEWORK_PATH=<path to local framework> and $(RUNSHARED) prepended
to the $(MAKE) lines in the frameworkinstallmaclib and
frameworkinstallapps targets.
|
|
|
|
|
| |
Also add force, to recompile string.pyc in DESTDIR (which would normally
compiled by running compileall.py).
|
|
|
|
| |
framework. Fixes #758112.
|
|
|
|
|
|
|
| |
and not part of a normal frameworkinstall) that installs Demo and Tools
and a readme file into /Applications/MacPython-2.3/Extras. This will
give people access to the demos and tools if they instal Python through
the binary installer.
|
| |
|
| |
|
|
|
|
| |
from setup.py.
|
|
|
|
|
| |
to be installed to a different location. This should make the OSX binary
installer building a lot simpler.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
honor them). Use this when building the MacOSX binary installer to
get group-writeable files.
Ths fix works for directories and executables, not for files just yet,
because of bug #735274.
|
| |
|
| |
|
|
|
|
|
|
| |
work. This includes some more code that used to be part of pgen in
the main parser; I'm okay with that. I'll see if the Windows build
needs work next.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
for specific platforms. Use this to add plat-mac and
plat-mac/lib-scriptpackages on MacOSX. Also tested for not having adverse
effects on Linux, and I think this code isn't used on Windows anyway.
Fixes #661521.
|
|
|
|
| |
of the older (and, according to some manpages, deprecated) "test -h".
|
| |
|
|
|
|
|
|
| |
called python.exe but actually pass it from the main Makefile to
Mac/OSX/Makefile. This makes framework builds work again on case
sensitive filesystems. Fixes bug #677753.
|
|
|
|
|
|
| |
case-insensitive
filenames.
|
| |
|
|
|
|
| |
framework, if applicable). This speeds up startup time by up to 50%.
|