##// END OF EJS Templates
pyoxidizer: update README.md with several small fixes...
Kyle Lippincott -
r49087:16c3fe46 default
parent child Browse files
Show More
@@ -12,23 +12,21 b' functionality.'
12
12
13 # Building
13 # Building
14
14
15 This project currently requires an unreleased version of PyOxidizer
15 First, acquire and build a copy of PyOxidizer; you probably want to do this in
16 (0.7.0-pre). For best results, build the exact PyOxidizer commit
16 some directory outside of your clone of Mercurial:
17 as defined in the `pyoxidizer.bzl` file:
18
17
19 $ git clone https://github.com/indygreg/PyOxidizer.git
18 $ git clone https://github.com/indygreg/PyOxidizer.git
20 $ cd PyOxidizer
19 $ cd PyOxidizer
21 $ git checkout <Git commit from pyoxidizer.bzl>
22 $ cargo build --release
20 $ cargo build --release
23
21
24 Then build this Rust project using the built `pyoxidizer` executable::
22 Then build this Rust project using the built `pyoxidizer` executable:
25
23
26 $ /path/to/pyoxidizer/target/release/pyoxidizer build
24 $ /path/to/pyoxidizer/target/release/pyoxidizer build --release
27
25
28 If all goes according to plan, there should be an assembled application
26 If all goes according to plan, there should be an assembled application
29 under `build/<arch>/debug/app/` with an `hg` executable:
27 under `build/<arch>/release/app/` with an `hg` executable:
30
28
31 $ build/x86_64-unknown-linux-gnu/debug/app/hg version
29 $ build/x86_64-unknown-linux-gnu/release/app/hg version
32 Mercurial Distributed SCM (version 5.3.1+433-f99cd77d53dc+20200331)
30 Mercurial Distributed SCM (version 5.3.1+433-f99cd77d53dc+20200331)
33 (see https://mercurial-scm.org for more information)
31 (see https://mercurial-scm.org for more information)
34
32
@@ -46,5 +44,5 b" Python interpreter can't access them! To"
46 to the Mercurial source directory. e.g.:
44 to the Mercurial source directory. e.g.:
47
45
48 $ cd /path/to/hg/src/tests
46 $ cd /path/to/hg/src/tests
49 $ PYTHONPATH=`pwd`/.. python3.7 run-tests.py \
47 $ PYTHONPATH=`pwd`/.. python3.9 run-tests.py \
50 --with-hg `pwd`/../rust/hgcli/build/x86_64-unknown-linux-gnu/debug/app/hg
48 --with-hg `pwd`/../rust/hgcli/build/x86_64-unknown-linux-gnu/release/app/hg
General Comments 0
You need to be logged in to leave comments. Login now