Leverage same build system used by PyPi in the ArchInstall ISO (#973)
* Leverage same build system used by PyPi in the ArchInstall ISO * 3.6.0 is not in the archinstall repos yet. Use 3.5.1 so ISOs don't need networking to build.
This commit is contained in:
parent
a741b1a530
commit
2c897cdcc6
|
|
@ -31,7 +31,7 @@ jobs:
|
|||
- run: find .
|
||||
- run: cat /etc/os-release
|
||||
- run: mkdir -p /tmp/archlive/airootfs/root/archinstall-git; cp -r . /tmp/archlive/airootfs/root/archinstall-git
|
||||
- run: echo "pip uninstall archinstall -y; cd archinstall-git; python setup.py install" > /tmp/archlive/airootfs/root/.zprofile
|
||||
- run: echo "pip uninstall archinstall -y; cd archinstall-git; rm -rf dist; python -m build -n; pip install dist/archinstall*.whl" > /tmp/archlive/airootfs/root/.zprofile
|
||||
- run: echo "echo \"This is an unofficial ISO for development and testing of archinstall. No support will be provided.\"" >> /tmp/archlive/airootfs/root/.zprofile
|
||||
- run: echo "echo \"This ISO was built from Git SHA $GITHUB_SHA\"" >> /tmp/archlive/airootfs/root/.zprofile
|
||||
- run: echo "echo \"Type archinstall to launch the installer.\"" >> /tmp/archlive/airootfs/root/.zprofile
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
[build-system]
|
||||
requires = ["flit_core >=3.6.0,<4", "setuptools>=45", "wheel"]
|
||||
requires = ["flit_core >=3.5.1,<4", "setuptools>=45", "wheel"]
|
||||
build-backend = "flit_core.buildapi"
|
||||
|
||||
[project]
|
||||
|
|
|
|||
Loading…
Reference in New Issue