diff --git a/rust/hgcli/README.md b/rust/hgcli/README.md index c900d962e38bd59c39489f6ac9672c9af0b85b77_cnVzdC9oZ2NsaS9SRUFETUUubWQ=..16c3fe46929a9da72ba7439b89730f7a06207bff_cnVzdC9oZ2NsaS9SRUFETUUubWQ= 100644 --- a/rust/hgcli/README.md +++ b/rust/hgcli/README.md @@ -12,9 +12,8 @@ # Building -This project currently requires an unreleased version of PyOxidizer -(0.7.0-pre). For best results, build the exact PyOxidizer commit -as defined in the `pyoxidizer.bzl` file: +First, acquire and build a copy of PyOxidizer; you probably want to do this in +some directory outside of your clone of Mercurial: $ git clone https://github.com/indygreg/PyOxidizer.git $ cd PyOxidizer @@ -18,6 +17,5 @@ $ git clone https://github.com/indygreg/PyOxidizer.git $ cd PyOxidizer - $ git checkout <Git commit from pyoxidizer.bzl> $ cargo build --release @@ -22,4 +20,4 @@ $ cargo build --release -Then build this Rust project using the built `pyoxidizer` executable:: +Then build this Rust project using the built `pyoxidizer` executable: @@ -25,4 +23,4 @@ - $ /path/to/pyoxidizer/target/release/pyoxidizer build + $ /path/to/pyoxidizer/target/release/pyoxidizer build --release If all goes according to plan, there should be an assembled application @@ -27,4 +25,4 @@ If all goes according to plan, there should be an assembled application -under `build/<arch>/debug/app/` with an `hg` executable: +under `build/<arch>/release/app/` with an `hg` executable: @@ -30,5 +28,5 @@ - $ build/x86_64-unknown-linux-gnu/debug/app/hg version + $ build/x86_64-unknown-linux-gnu/release/app/hg version Mercurial Distributed SCM (version 5.3.1+433-f99cd77d53dc+20200331) (see https://mercurial-scm.org for more information) @@ -46,5 +44,5 @@ to the Mercurial source directory. e.g.: $ cd /path/to/hg/src/tests - $ PYTHONPATH=`pwd`/.. python3.7 run-tests.py \ - --with-hg `pwd`/../rust/hgcli/build/x86_64-unknown-linux-gnu/debug/app/hg + $ PYTHONPATH=`pwd`/.. python3.9 run-tests.py \ + --with-hg `pwd`/../rust/hgcli/build/x86_64-unknown-linux-gnu/release/app/hg