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.
PKG_CONFIG_PATH: "/usr/local/opt/openssl@1.1/lib/pkgconfig:$PKG_CONFIG_PATH"
run: |
# pip install -e .
python setup.py -v develop
pip install -e .
- name: run pytest via tox
env:
# 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
cd borg
pip install -r requirements.d/development.lock.txt
python setup.py clean
python setup.py clean2
python setup.py clean clean2
pip install -e .[#{fuse}]
EOF
end

View File

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

View File

@ -2,6 +2,7 @@ setuptools>=64
setuptools_scm>=8
pip
virtualenv
build
pkgconfig
tox
pytest

View File

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