mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-02-02 01:08:20 +00:00
move tarball generation to tox.ini
and change the Makefile to delegate the "tarballs" target to tox This should fix the ticket:2910 problem of the "tarballs" buildbot failing.
This commit is contained in:
parent
526b97c753
commit
906c4f4f32
5
Makefile
5
Makefile
@ -218,9 +218,8 @@ test-pip-install:
|
|||||||
|
|
||||||
# TARBALL GENERATION
|
# TARBALL GENERATION
|
||||||
.PHONY: tarballs
|
.PHONY: tarballs
|
||||||
tarballs:
|
tarballs: # delegated to tox, so setup.py can update setuptools if needed
|
||||||
$(MAKE) make-version
|
tox -e tarballs
|
||||||
$(PYTHON) setup.py sdist --formats=bztar,gztar,zip bdist_wheel
|
|
||||||
|
|
||||||
.PHONY: upload-tarballs
|
.PHONY: upload-tarballs
|
||||||
upload-tarballs:
|
upload-tarballs:
|
||||||
|
6
tox.ini
6
tox.ini
@ -120,3 +120,9 @@ deps =
|
|||||||
# See https://pyinstaller.readthedocs.io/en/stable/advanced-topics.html#creating-a-reproducible-build
|
# See https://pyinstaller.readthedocs.io/en/stable/advanced-topics.html#creating-a-reproducible-build
|
||||||
setenv=PYTHONHASHSEED=1
|
setenv=PYTHONHASHSEED=1
|
||||||
commands=pyinstaller -y --clean pyinstaller.spec
|
commands=pyinstaller -y --clean pyinstaller.spec
|
||||||
|
|
||||||
|
[testenv:tarballs]
|
||||||
|
deps =
|
||||||
|
commands =
|
||||||
|
python setup.py update_version
|
||||||
|
python setup.py sdist --formats=bztar,gztar,zip bdist_wheel
|
||||||
|
Loading…
x
Reference in New Issue
Block a user