Commit 6c9e08d5 authored by Silvio Rhatto's avatar Silvio Rhatto
Browse files

Merge branch 'fix/python-packaging' into 'main'

Python packaging fixes (#20)

See merge request !38
parents 3db37f14 125523ea
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -35,10 +35,11 @@ python:
    - !reference [.apt-init]
  script:
    # Needs Git installed so "./onionbalance.py --version" works
    - apt-get install -y git
    - apt-get install -y git twine
    - scripts/provision-packaging-python
    - mkdir -p dist
    - make build-python-package
    - twine check dist/*
  artifacts:
    paths:
      - dist
+1 −1
Original line number Diff line number Diff line
@@ -58,7 +58,7 @@ Build the Python package:
Install this package in a fresh virtual machine. Example:

    sudo apt-get install -y python3-pip tor
    pip install --break-system-packages dist/onionbalance-$VERSION-*.whl
    pip install --break-system-packages dist/onionbalance-$ONIONBALANCE_VERSION-*.whl

Then test it: