1
0
Fork 0
mirror of https://github.com/borgbackup/borg.git synced 2024-12-31 20:26:40 +00:00

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 021d08c8be
commit 84df37a19f
No known key found for this signature in database
GPG key ID: 243ACFA951F78E01
5 changed files with 5 additions and 5 deletions

View file

@ -122,8 +122,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 pytest via tox - name: run pytest via tox
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

@ -193,8 +193,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

@ -2,6 +2,7 @@ setuptools==69.0.3
setuptools-scm==8.0.4 setuptools-scm==8.0.4
pip==23.3.2 pip==23.3.2
virtualenv==20.25.0 virtualenv==20.25.0
build==1.0.3
pkgconfig==1.5.5 pkgconfig==1.5.5
tox==4.11.4 tox==4.11.4
pytest==7.4.3 pytest==7.4.3

View file

@ -2,6 +2,7 @@ setuptools>=64
setuptools_scm>=8 setuptools_scm>=8
pip pip
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