use less setup.py, use pip and build

todo: clean clean2 build_usage build_man
This commit is contained in:
Thomas Waldmann 2023-12-24 18:44:47 +01:00
parent 66eb086c4a
commit 1a544845a2
No known key found for this signature in database
GPG Key ID: 243ACFA951F78E01
5 changed files with 7 additions and 7 deletions

View File

@ -177,8 +177,7 @@ jobs:
# so, set it here, again. # so, set it here, again.
PKG_CONFIG_PATH: "/usr/local/opt/openssl@1.1/lib/pkgconfig:$PKG_CONFIG_PATH" PKG_CONFIG_PATH: "/usr/local/opt/openssl@1.1/lib/pkgconfig:$PKG_CONFIG_PATH"
run: | run: |
# pip install -e . pip install -e .
python setup.py -v develop
- name: run tox env - name: run tox env
env: env:
# we already have that in the global env, but something is broken and overwrites that. # we already have that in the global env, but something is broken and overwrites that.

3
Vagrantfile vendored
View File

@ -278,8 +278,7 @@ def install_borg(fuse)
pip install -U wheel # upgrade wheel, might be too old pip install -U wheel # upgrade wheel, might be too old
cd borg cd borg
pip install -r requirements.d/development.lock.txt pip install -r requirements.d/development.lock.txt
python setup.py clean python setup.py clean clean2
python setup.py clean2
pip install -e .[#{fuse}] pip install -e .[#{fuse}]
EOF EOF
end end

View File

@ -1,8 +1,9 @@
setuptools==68.2.2 setuptools==68.2.2
setuptools-scm==8.0.4 setuptools-scm==8.0.4
pip==23.3.1 pip==23.3.2
wheel==0.41.3 wheel==0.41.3
virtualenv==20.24.6 virtualenv==20.25.0
build==1.0.3
pkgconfig==1.5.5 pkgconfig==1.5.5
tox==4.11.3 tox==4.11.3
pytest==7.4.3 pytest==7.4.3

View File

@ -3,6 +3,7 @@ setuptools_scm
pip pip
wheel wheel
virtualenv virtualenv
build
pkgconfig pkgconfig
tox tox
pytest pytest

View File

@ -13,7 +13,7 @@ else
GPG=qubes-gpg-client-wrapper GPG=qubes-gpg-client-wrapper
fi fi
python setup.py sdist python -m build
D=dist/borgbackup-$R.tar.gz D=dist/borgbackup-$R.tar.gz