Open christian-heusel opened 2 months ago
Hello everybody! šš»
It seems like the latest release puts tests files into global directories:
$ pacman -Qlp /home/custompkgs/b4-0.14.0-1-any.pkg.tar.zst | grep tests b4 /usr/lib/python3.12/site-packages/tests/ b4 /usr/lib/python3.12/site-packages/tests/__init__.py b4 /usr/lib/python3.12/site-packages/tests/__pycache__/ b4 /usr/lib/python3.12/site-packages/tests/__pycache__/__init__.cpython-312.opt-1.pyc b4 /usr/lib/python3.12/site-packages/tests/__pycache__/__init__.cpython-312.pyc b4 /usr/lib/python3.12/site-packages/tests/__pycache__/conftest.cpython-312.opt-1.pyc b4 /usr/lib/python3.12/site-packages/tests/__pycache__/conftest.cpython-312.pyc b4 /usr/lib/python3.12/site-packages/tests/__pycache__/test___init__.cpython-312.opt-1.pyc b4 /usr/lib/python3.12/site-packages/tests/__pycache__/test___init__.cpython-312.pyc b4 /usr/lib/python3.12/site-packages/tests/__pycache__/test_ez.cpython-312.opt-1.pyc b4 /usr/lib/python3.12/site-packages/tests/__pycache__/test_ez.cpython-312.pyc b4 /usr/lib/python3.12/site-packages/tests/__pycache__/test_mbox.cpython-312.opt-1.pyc b4 /usr/lib/python3.12/site-packages/tests/__pycache__/test_mbox.cpython-312.pyc b4 /usr/lib/python3.12/site-packages/tests/conftest.py b4 /usr/lib/python3.12/site-packages/tests/test___init__.py b4 /usr/lib/python3.12/site-packages/tests/test_ez.py b4 /usr/lib/python3.12/site-packages/tests/test_mbox.py
This has not been the case with the previous version. We're just doing a PEP517 based install (see this link for the full build instructions):
build() { cd "$pkgname-$pkgver" python -m build --wheel --no-isolation } package() { cd "$pkgname-$pkgver" python -m installer --destdir="$pkgdir" dist/*.whl }
Hello everybody! šš»
It seems like the latest release puts tests files into global directories:
This has not been the case with the previous version. We're just doing a PEP517 based install (see this link for the full build instructions):