Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,11 +102,11 @@ Every [release](https://github.com/libmonero/monero-python/releases) has prebuil

* Debian and Ubuntu: `python3-monero_<version>-1<distro>1_<arch>.deb` for `bookworm`, `trixie`, `jammy` and `noble` on `amd64`, `arm64` and `armhf`, installed for the system Python 3:
```bash
sudo apt install ./python3-monero_0.9.10-1noble1_amd64.deb
sudo apt install ./python3-monero_0.9.11-1noble1_amd64.deb
```
* macOS and Windows: one wheel per Python version, `monero-<version>-<python>-<platform>.whl`:
```bash
pip3 install monero-0.9.10-cp313-cp313-win_amd64.whl
pip3 install monero-0.9.11-cp313-cp313-win_amd64.whl
```

On anything else, build it from source.
Expand Down
5 changes: 4 additions & 1 deletion bin/build_monero_cpp.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,13 @@ jobs=${JOBS:-3}
# monero builds with -march=native unless it is told which cpu to build for, and objects compiled
# on a machine with newer instructions, restored by ccache or shipped in a package, end in an illegal
# instruction on another cpu
# On armhf the +fp is needed: -march=armv7-a alone drops the FPU that the gcc of Debian and Ubuntu
# defaults to (-march=armv7-a+fp, hard float), and it fails with "-mfloat-abi=hard: selected
# architecture lacks an FPU". It is the default of the compiler, so the baseline does not change.
case $(uname -m) in
x86_64) arch=x86-64;;
aarch64|arm64) arch=armv8-a;;
armv7l|armv8l) arch=armv7-a;;
armv7l|armv8l) arch=armv7-a+fp;;
*) arch=native;;
esac

Expand Down
4 changes: 2 additions & 2 deletions debian/set-version.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/sh
# Adds an entry to debian/changelog for the version declared in pyproject.toml, so the
# version is not repeated here. The package is named like python3-monero_0.9.10-1noble1_amd64.deb.
# With a snapshot, such as the commit that is built, it is python3-monero_0.9.10~git1a2b3c4-1noble1_amd64.deb: the tilde sorts it
# version is not repeated here. The package is named like python3-monero_0.9.11-1noble1_amd64.deb.
# With a snapshot, such as the commit that is built, it is python3-monero_0.9.11~git1a2b3c4-1noble1_amd64.deb: the tilde sorts it
# before the release, so a release is always newer than the snapshots that came before it.
#
# usage: debian/set-version.sh [distribution [snapshot]] the distribution is the one of the system by default
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "monero"
# the only place where the version is declared: CMakeLists.txt, debian/set-version.sh and
# the release workflow read it from here
version = "0.9.10"
version = "0.9.11"
description = "A Python library for using Monero"
authors = [
{ name = "everoddandeven", email = "everoddandeven@protonmail.com" }
Expand Down
Loading