summaryrefslogtreecommitdiffstats
path: root/Makefile.pre.in
Commit message (Collapse)AuthorAgeFilesLines
* Changes to build the _ctypes extension module.Thomas Heller2006-03-081-1/+1
| | | | Based on a patch from Hye-Shik Chang.
* Allow buildbot to pass extra test flags to regrtest (specifically -r) via ↵Neal Norwitz2006-02-221-1/+1
| | | | the environment.
* Always set SVNVERSION to "exported" if it otherwise fails.Martin v. Löwis2006-01-051-1/+1
|
* Stop maintaining the buildno file.Martin v. Löwis2006-01-051-18/+10
| | | | Also, stop determining Unicode sizes with PyString_GET_SIZE.
* Try to make svnversion test more portable, based on Sjoerd's suggestionNeal Norwitz2006-01-051-1/+1
|
* SF bug #1395926: Also test for svnversion command on $PATH before using it toBarry Warsaw2006-01-031-1/+1
| | | | calculate the build number.
* As discussed on python-dev, don't remove Python-ast.[ch] with distcleanNeal Norwitz2006-01-031-1/+1
| | | | | even though they are generated. Since these files require Python 2.2+, it's possible they can't be created on a fresh system.
* Revert most of r41765. Don't use $Revision$ in Py_GetBuildNumber(). Keep theBarry Warsaw2005-12-191-6/+5
| | | | | use of $(srcdir) in Makefile.pre.in so builds outside the source dir still work.
* Handle a couple of use cases discussed in python-dev w.r.t. calculating theBarry Warsaw2005-12-181-7/+8
| | | | | | | | | | 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.
* Expose Subversion revision number (calculated via "svnversion .") to Python.Barry Warsaw2005-12-181-2/+4
| | | | | | | 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.
* Merge from ast-arena. This reduces the code in Python/ast.c by ~300 lines,Neal Norwitz2005-12-171-0/+2
| | | | simplifies a lot of error handling code, and fixes many memory leaks.
* fixed installation of xmlcore libraries (including xmlcore.etree)Fredrik Lundh2005-12-141-1/+1
|
* delete Python-ast.[ch] in distcleanSkip Montanaro2005-11-131-0/+1
|
* Merge ast-branch to headJeremy Hylton2005-10-201-1/+19
| | | | | | | | | | 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.
* Get "make install" working again after adding Lib/test/bad_coding.pyNeal Norwitz2005-10-041-2/+2
| | | | which can't be compiled. Thanks to Mat Martineau for spotting the problem.
* Introduced EXTRA_CFLAGS as an environment variable used by the Makefile. MeantBrett Cannon2005-04-241-1/+1
| | | | | | | to be used for flags that change binary compatibility. Distutils was tweaked to also use the variable if used during compilation of the interpreter.
* patch [1171735] - Darwin 8's headers disable functionality whenBob Ippolito2005-03-281-3/+3
| | | | | | | | | | | | 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
* install distutils.tests on Unix (contributed patch)Fred Drake2005-01-191-1/+2
| | | | (closes SF bug #1093173)
* setup.py now uses the library directories specified in LDFLAGS (``-L``Brett Cannon2004-12-071-1/+4
| | | | | | | | | | | | | | | | | | | 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.
* Replace -soname with -h for Solaris compatibility. Fixes #1034496.Martin v. Löwis2004-09-261-1/+1
| | | | Backported to 2.3.
* Don't hardcode "Python" as the framework name, we have a variable for it:Jack Jansen2004-07-161-1/+1
| | | | $PYTHONFRAMEWORK.
* install test/decimaltestdata as wellAnthony Baxter2004-07-121-0/+1
|
* Patch #774665: Make Python LC_NUMERIC agnostic.Martin v. Löwis2004-06-081-0/+1
|
* Partial fix for #887242 (link extensions with dynamic_lookup in steadJack Jansen2004-06-031-0/+3
| | | | | | | | | | | | | | | | 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.
* Patch #957398: Add public API for Generator Object/Type.Martin v. Löwis2004-06-011-0/+2
|
* Ignore error status codes occurred while compiling site-packagesHye-Shik Chang2004-03-181-2/+2
| | | | directory.
* forward port of 1.136.6.2:Jack Jansen2003-12-071-2/+2
| | | | $(prefix) wasn't communicated to Mac/OSX/Makefile for all targets. Fixed.
* Patch #841807: Check whether a versioned libpython.so symlink is neededMartin v. Löwis2003-11-181-1/+3
| | | | in altbininstall. Backported to 2.3.
* * Migrate set() and frozenset() from the sandbox.Raymond Hettinger2003-11-161-0/+2
| | | | | | | | * 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.
* Patch #805678: Add .so symlink during make install. Backported to 2.3.Martin v. Löwis2003-09-201-0/+1
|
* This patch enables the building of Cygwin Python with a static coreJason Tishler2003-09-041-4/+8
| | | | | | | | | | | | | | | 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
* Patch #770245: Pass LDFLAGS to pgen creation.Martin v. Löwis2003-07-131-1/+1
|
* Fixed two bugs in MacOSX framework handling spotted by Edward Moy:Jack Jansen2003-07-041-3/+3
| | | | | | | | | - 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.
* Set -d in compileall, to get proper path in case DESTDIR is not empty.Martin v. Löwis2003-06-211-0/+4
| | | | | Also add force, to recompile string.pyc in DESTDIR (which would normally compiled by running compileall.py).
* Set the executable bits when installing the shared library in a MacOSXJack Jansen2003-06-201-1/+1
| | | | framework. Fixes #758112.
* Added a target frameworkinstallextras (OSX framework build specific,Jack Jansen2003-06-191-0/+7
| | | | | | | 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.
* Properly bracket variables. Fixes part of #749911.Martin v. Löwis2003-06-141-1/+1
|
* Install idlelib and idlelib/Icons as well.Guido van Rossum2003-06-131-1/+1
|
* Don't install Tools/idle any more. We now install Tools/scripts/idleGuido van Rossum2003-06-131-13/+1
| | | | from setup.py.
* Fixed the DESTDIR modifications to also allow MacOSX framework buildsJack Jansen2003-05-251-15/+16
| | | | | to be installed to a different location. This should make the OSX binary installer building a lot simpler.
* Patch #738325: Install optimized idlelib files.Martin v. Löwis2003-05-161-0/+1
|
* Patch #735613: Pass install-purelib to idleinstall.Martin v. Löwis2003-05-111-0/+1
|
* Patch #718286: Support DESTDIR.Martin v. Löwis2003-05-111-63/+66
|
* Pass DIRMODE and FILEMODE to Mac/OSX/Makefile on framework builds (andJack Jansen2003-05-091-2/+3
| | | | | | | | 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.
* add Guido's reasoning behind running all tests twiceSkip Montanaro2003-05-061-0/+7
|
* add testall target - just adds -uall to the regrtest runsSkip Montanaro2003-05-061-0/+5
|
* Changes from Jonathan Riehl to allow his pgen extension (PEP 269) toGuido van Rossum2003-04-171-4/+4
| | | | | | 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.
* Lib/plat-mac/lib-scriptpackages/SystemEvents added.Jack Jansen2003-03-311-0/+1
|
* Use soname option when building a shared libpython. Fixes #701823.Martin v. Löwis2003-03-301-1/+6
|
* include the csv package during installationSkip Montanaro2003-03-201-1/+1
|