diff options
author | Victor Stinner <vstinner@python.org> | 2021-01-19 22:04:49 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-19 22:04:49 (GMT) |
commit | cad8020cb83ec6d904f874c0e4f599e651022196 (patch) | |
tree | 7db4f105af783ecd5ac60488b081d945bcea14b3 /.travis.yml | |
parent | e8e66eab941b983b6e85cd0d57cd45838880c568 (diff) | |
download | cpython-cad8020cb83ec6d904f874c0e4f599e651022196.zip cpython-cad8020cb83ec6d904f874c0e4f599e651022196.tar.gz cpython-cad8020cb83ec6d904f874c0e4f599e651022196.tar.bz2 |
bpo-42955: Add Python/module_names.h (GH-24258)
Add a private list of all stdlib modules: _Py_module_names.
* Add Tools/scripts/generate_module_names.py script.
* Makefile: Add "make regen-module-names" command.
* setup.py: Add --list-module-names option.
* GitHub Action and Travis CI also runs "make regen-module-names",
not ony "make regen-all", to ensure that the module names remains
up to date.
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml index 547d919..c908891 100644 --- a/.travis.yml +++ b/.travis.yml @@ -172,6 +172,7 @@ before_script: - eval "$(pyenv init -)" - pyenv global 3.8 - PYTHON_FOR_REGEN=python3.8 make -j4 regen-all + - make regen-module-names - changes=`git status --porcelain` - | # Check for changes in regenerated files |