mirror of
https://github.com/borgbackup/borg.git
synced 2025-03-06 19:49:20 +00:00
Merge pull request #7977 from ThomasWaldmann/drop-setup-requires-1.4
drop setup_requires, use pip and build
This commit is contained in:
commit
c14af19576
8 changed files with 11 additions and 9 deletions
3
.github/workflows/ci.yml
vendored
3
.github/workflows/ci.yml
vendored
|
@ -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
3
Vagrantfile
vendored
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -2,6 +2,7 @@ setuptools>=64
|
|||
setuptools_scm>=8
|
||||
pip
|
||||
virtualenv
|
||||
build
|
||||
pkgconfig
|
||||
tox
|
||||
pytest
|
||||
|
|
|
@ -1,5 +1,8 @@
|
|||
#!/bin/bash
|
||||
|
||||
python setup.py build_ext --inplace
|
||||
python setup.py bdist_wheel
|
||||
# build borg.exe
|
||||
SETUPTOOLS_USE_DISTUTILS=stdlib pip install -e .
|
||||
pyinstaller -y scripts/borg.exe.spec
|
||||
|
||||
# build sdist and wheel in dist/...
|
||||
SETUPTOOLS_USE_DISTUTILS=stdlib python -m build
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/bash
|
||||
|
||||
pacman -S --needed --noconfirm git mingw-w64-ucrt-x86_64-{toolchain,pkgconf,zstd,lz4,xxhash,openssl,python,cython,python-setuptools,python-wheel,python-pkgconfig,python-packaging,python-msgpack,python-pip}
|
||||
pacman -S --needed --noconfirm git mingw-w64-ucrt-x86_64-{toolchain,pkgconf,zstd,lz4,xxhash,openssl,python,cython,python-setuptools,python-wheel,python-build,python-pkgconfig,python-packaging,python-msgpack,python-pip}
|
||||
pip install pyinstaller==5.13.2
|
||||
|
|
|
@ -13,7 +13,7 @@ else
|
|||
GPG=qubes-gpg-client-wrapper
|
||||
fi
|
||||
|
||||
python setup.py sdist
|
||||
python -m build
|
||||
|
||||
D=dist/borgbackup-$R.tar.gz
|
||||
|
||||
|
|
1
setup.py
1
setup.py
|
@ -306,7 +306,6 @@ setup(
|
|||
},
|
||||
cmdclass=cmdclass,
|
||||
ext_modules=ext_modules,
|
||||
setup_requires=['setuptools_scm>=1.7'],
|
||||
install_requires=install_requires,
|
||||
extras_require=extras_require,
|
||||
python_requires='>=3.9',
|
||||
|
|
Loading…
Add table
Reference in a new issue