mirror of
https://github.com/google/brotli.git
synced 2025-01-13 09:50:08 +00:00
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:
parent
1a8ee40de9
commit
9203765492
@ -39,7 +39,7 @@ case "$1" in
|
|||||||
if [ "${TRAVIS_OS_NAME}" = "osx" ]; then
|
if [ "${TRAVIS_OS_NAME}" = "osx" ]; then
|
||||||
source venv/bin/activate
|
source venv/bin/activate
|
||||||
fi
|
fi
|
||||||
python setup.py build_ext test
|
python setup.py build test
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
;;
|
;;
|
||||||
|
@ -53,7 +53,7 @@ See [Premake5](https://premake.github.io/)
|
|||||||
|
|
||||||
The basic commands to build, test, and install the Python module are:
|
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
|
$ python setup.py install
|
||||||
|
|
||||||
See the [Python readme](python/README.md) for more details.
|
See the [Python readme](python/README.md) for more details.
|
||||||
|
@ -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
|
To build the module, execute the following from the root project
|
||||||
directory:
|
directory:
|
||||||
|
|
||||||
$ python setup.py build_ext
|
$ python setup.py build
|
||||||
|
|
||||||
To test the module, execute the following from the root project
|
To test the module, execute the following from the root project
|
||||||
directory:
|
directory:
|
||||||
|
Loading…
Reference in New Issue
Block a user