cpython/Lib/distutils
Victor Stinner 9d02f56296 [3.6] bpo-23404: make touch becomes make regen-all (#1405) (#1461)
* bpo-23404: make touch becomes make regen-all (#1405)

Don't rebuild generated files based on file modification time
anymore, the action is now explicit. Replace "make touch"
with "make regen-all".

Changes:

* Remove "make touch", Tools/hg/hgtouch.py and .hgtouch
* Add a new "make regen-all" command to rebuild all generated files
* Add subcommands to only generate specific files:

  - regen-ast: Include/Python-ast.h and Python/Python-ast.c
  - regen-grammar: Include/graminit.h and Python/graminit.c
  - regen-importlib: Python/importlib_external.h and Python/importlib.h
  - regen-opcode: Include/opcode.h
  - regen-opcode-targets: Python/opcode_targets.h
  - regen-typeslots: Objects/typeslots.inc

* Rename PYTHON_FOR_GEN to PYTHON_FOR_REGEN
* pgen is now only built by by "make regen-grammar"
* Add $(srcdir)/ prefix to paths to source files to handle correctly
  compilation outside the source directory

Note: $(PYTHON_FOR_REGEN) is no more used nor needed by "make"
default target building Python.
(cherry picked from commit a5c62a8e9f)

* bpo-30273: Update sysconfig (#1464)

The AST_H_DIR variable was removed from Makefile.pre.in by the commit
a5c62a8e9f (bpo-23404).

AST_H_DIR was hardcoded to "Include", so replace the removed variable
by its content.

Remove also ASDLGEN variable from sysconfig example since this
variable was also removed.
(cherry picked from commit b109a1d336)
2017-05-05 00:46:56 +02:00
..
command Issue #26071: Fixes preprocessor definition and rebuilds wininst-14.0[-amd64].exe 2016-12-13 09:06:42 -08:00
tests bpo-30132: distutils BuildExtTestCase use temp_cwd (#1387) 2017-05-02 15:50:42 +02:00
__init__.py keep distutils version in sync with python version automatically 2015-05-25 21:24:00 -05:00
_msvccompiler.py Issue #27048: Prevents distutils failing on Windows when environment variables contain non-ASCII characters 2016-06-17 09:32:38 -07:00
archive_util.py Closes #27904: Improved logging statements to defer formatting until needed. 2016-08-31 08:22:29 +01:00
bcppcompiler.py Fix closes Issue11439 Remove the SVN keywords from the code as it is no longer applicable in hg. Patch Contributed by Neil Muller. 2011-07-28 22:32:49 +08:00
ccompiler.py Issue #25136: Support Apple Xcode 7's new textual SDK stub libraries. 2016-02-25 00:56:38 +11:00
cmd.py #27364: fix "incorrect" uses of escape character in the stdlib. 2016-09-08 13:59:53 -04:00
config.py Merge 3.4 2016-08-03 18:49:19 -04:00
core.py Issue #23426: run_setup was broken in distutils. 2015-07-28 15:55:07 +12:00
cygwinccompiler.py #27364: fix "incorrect" uses of escape character in the stdlib. 2016-09-08 13:59:53 -04:00
debug.py Fix closes Issue11439 Remove the SVN keywords from the code as it is no longer applicable in hg. Patch Contributed by Neil Muller. 2011-07-28 22:32:49 +08:00
dep_util.py Fix closes Issue11439 Remove the SVN keywords from the code as it is no longer applicable in hg. Patch Contributed by Neil Muller. 2011-07-28 22:32:49 +08:00
dir_util.py fix instances of consecutive articles (closes #23221) 2015-01-13 09:17:24 -05:00
dist.py Issue #26089: Remove duplicate field 'license' from DistributionMetadata 2016-04-24 01:55:09 +03:00
errors.py Replace IOError with OSError (#16715) 2012-12-25 16:47:37 +02:00
extension.py Removed unused imports. 2016-04-25 00:12:32 +03:00
fancy_getopt.py Fix closes Issue11439 Remove the SVN keywords from the code as it is no longer applicable in hg. Patch Contributed by Neil Muller. 2011-07-28 22:32:49 +08:00
file_util.py Issue #8876: distutils now falls back to copying files when hard linking doesn't work. 2014-10-30 19:37:07 +01:00
filelist.py Issue #22493: Inline flags now should be used only at the start of the 2016-09-11 12:50:02 +03:00
log.py Merged revisions 81359-81361 via svnmerge from 2010-05-19 20:30:19 +00:00
msvc9compiler.py #27364: fix "incorrect" uses of escape character in the stdlib. 2016-09-08 13:59:53 -04:00
msvccompiler.py Issue #22919: Windows build updated to support VC 14.0 (Visual Studio 2015), which will be used for the official 3.5 release. 2014-11-22 12:54:57 -08:00
README Merged revisions 70017 via svnmerge from 2009-02-27 12:58:56 +00:00
spawn.py Issue #23285: PEP 475 -- Retry system calls failing with EINTR. 2015-02-07 13:27:50 +00:00
sysconfig.py [3.6] bpo-23404: make touch becomes make regen-all (#1405) (#1461) 2017-05-05 00:46:56 +02:00
text_file.py Removed unused imports. 2016-04-25 00:12:32 +03:00
unixccompiler.py Issue #20767: Fix -R option for FreeBSD/clang. 2016-08-03 11:18:26 +02:00
util.py subprocess._optim_args_from_interpreter_flags() 2016-01-18 12:15:08 +01:00
version.py Issue #23326: Removed __ne__ implementations. Since fixing default __ne__ 2015-01-31 12:05:05 +02:00
versionpredicate.py #27364: fix "incorrect" uses of escape character in the stdlib. 2016-09-08 13:59:53 -04:00

This directory contains the Distutils package.

There's a full documentation available at:

    http://docs.python.org/distutils/

The Distutils-SIG web page is also a good starting point:

    http://www.python.org/sigs/distutils-sig/

WARNING : Distutils must remain compatible with 2.3

$Id$