Fixed an issue where python's setuptools didn't like running bdist_wheel. Causing issues upstream on pypi because examples/ and VERSION would be missing for instance.
This commit is contained in:
parent
f5230fcb30
commit
667e06c63e
|
|
@ -1,7 +1,7 @@
|
|||
# Maintainer: Anton Hvornum anton@hvornum.se
|
||||
# Contributor: Anton Hvornum anton@hvornum.se
|
||||
pkgname="archinstall-bin"
|
||||
pkgver="2.0.6rc4"
|
||||
pkgver="2.0.6rc7"
|
||||
pkgdesc="Installs a pre-built binary of ${pkgname}"
|
||||
pkgrel=1
|
||||
url="https://github.com/Torxed/archinstall"
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
# Maintainer: Anton Hvornum <anton@hvornum.se>
|
||||
# Contributor: demostanis worlds <demostanis@protonmail.com>
|
||||
pkgname="archinstall"
|
||||
pkgver="2.0.6rc4"
|
||||
pkgver="2.0.6rc7"
|
||||
pkgdesc="Installs launcher scripts for archinstall"
|
||||
pkgrel=1
|
||||
url="https://github.com/Torxed/archinstall"
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
# Contributor: demostanis worlds <demostanis@protonmail.com>
|
||||
|
||||
pkgname="python-archinstall"
|
||||
pkgver="2.0.6rc4"
|
||||
pkgver="2.0.6rc7"
|
||||
pkgdesc="Installs ${pkgname} as a python library."
|
||||
pkgrel=1
|
||||
url="https://github.com/Torxed/archinstall"
|
||||
|
|
|
|||
3
make.sh
3
make.sh
|
|
@ -11,8 +11,7 @@ mv archinstall.dist "archinstall-v${VERSION}-x86_64"
|
|||
tar -czvf "archinstall-v${VERSION}.tar.gz" "archinstall-v${VERSION}-x86_64"
|
||||
|
||||
# makepkg -f
|
||||
# python3 setup.py sdist bdist_wheel
|
||||
python3 setup.py sdist make
|
||||
python3 setup.py sdist bdist_wheel
|
||||
echo 'python3 -m twine upload dist/* && rm -rf dist/'
|
||||
|
||||
rm -rf archinstall.egg-info/ build/ src/ pkg/ archinstall.build/ "archinstall-v${VERSION}-x86_64/"
|
||||
|
|
|
|||
37
setup.py
37
setup.py
|
|
@ -1,26 +1,27 @@
|
|||
import setuptools, glob, shutil
|
||||
|
||||
with open("README.md", "r") as fh:
|
||||
long_description = fh.read()
|
||||
long_description = fh.read()
|
||||
|
||||
with open('VERSION', 'r') as fh:
|
||||
VERSION = fh.read()
|
||||
VERSION = fh.read()
|
||||
|
||||
setuptools.setup(
|
||||
name="archinstall",
|
||||
version=VERSION,
|
||||
author="Anton Hvornum",
|
||||
author_email="anton@hvornum.se",
|
||||
description="Arch Linux installer - guided, templates etc.",
|
||||
long_description=long_description,
|
||||
long_description_content_type="text/markdown",
|
||||
url="https://github.com/Torxed/archinstall",
|
||||
packages=setuptools.find_packages(),
|
||||
classifiers=[
|
||||
"Programming Language :: Python :: 3.8",
|
||||
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
|
||||
"Operating System :: POSIX :: Linux",
|
||||
],
|
||||
python_requires='>=3.8',
|
||||
package_data={'archinstall': glob.glob('examples/*.py') + glob.glob('profiles/*.py'), 'VERSION' : 'VERSION'},
|
||||
name="archinstall",
|
||||
version=VERSION,
|
||||
author="Anton Hvornum",
|
||||
author_email="anton@hvornum.se",
|
||||
description="Arch Linux installer - guided, templates etc.",
|
||||
long_description=long_description,
|
||||
long_description_content_type="text/markdown",
|
||||
url="https://github.com/Torxed/archinstall",
|
||||
packages=setuptools.find_packages(),
|
||||
classifiers=[
|
||||
"Programming Language :: Python :: 3.8",
|
||||
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
|
||||
"Operating System :: POSIX :: Linux",
|
||||
],
|
||||
python_requires='>=3.8',
|
||||
setup_requires=['wheel'],
|
||||
package_data={'archinstall': glob.glob('examples/*.py') + glob.glob('profiles/*.py')},
|
||||
)
|
||||
|
|
|
|||
Loading…
Reference in New Issue