Python: Use "build" instead of "build_ext" in scripts (#460)

Previously, the Python package consisted of a single extension
module, so `build_ext` was sufficient.  Now, the package
contains a native module and an extension module, so both
`build_py` and `build_ext` are required.  Instead, run `build`,
which calls both `build_py` and `build_ext` automatically.
This commit is contained in:
Alex Nicksay 2016-10-31 07:58:45 -04:00 committed by Eugene Kliuchnikov
parent 1a8ee40de9
commit 9203765492
3 changed files with 3 additions and 3 deletions

View File

@ -39,7 +39,7 @@ case "$1" in
if [ "${TRAVIS_OS_NAME}" = "osx" ]; then
source venv/bin/activate
fi
python setup.py build_ext test
python setup.py build test
;;
esac
;;

View File

@ -53,7 +53,7 @@ See [Premake5](https://premake.github.io/)
The basic commands to build, test, and install the Python module are:
$ python setup.py build_ext test
$ python setup.py build test
$ python setup.py install
See the [Python readme](python/README.md) for more details.

View File

@ -7,7 +7,7 @@ This directory contains the code for the Python `brotli` module,
To build the module, execute the following from the root project
directory:
$ python setup.py build_ext
$ python setup.py build
To test the module, execute the following from the root project
directory: