| commit | 625dbf2567533e6001d57e5969fba75c1b6ece43 | [log] [tgz] |
|---|---|---|
| author | Victor Stinner <vstinner@redhat.com> | Fri Mar 01 15:59:39 2019 +0100 |
| committer | GitHub <noreply@github.com> | Fri Mar 01 15:59:39 2019 +0100 |
| tree | 021c3f52778c9bf6e03f2a6abb0b6cebc7f63f12 | |
| parent | 8058bdae3e5e1f77a202d9dc907b4189409c9b03 [diff] |
bpo-36146: Refactor setup.py: Add PyBuildExt.srcdir (GH-12124) * Add PyBuildExt.srcdir atribute in setup.py: the source directory is now always absolute. * Add PyBuildExt.inc_dirs and PyBuildExt.lib_dirs attributes: replace 'inc_dirs' and 'lib_dirs' local variables of detect_modules(). * Replace "from distutils.errors import *" with "from distutils.errors import CCompilerError, DistutilsError" to be able to use static analyzers like pyflakes * Reorder imports.