From 667e06c63e1e5207975b50b1eb4a83b84caf3d56 Mon Sep 17 00:00:00 2001 From: Lord Anton Hvornum Date: Sun, 8 Nov 2020 14:11:24 +0100 Subject: 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. --- setup.py | 37 +++++++++++++++++++------------------ 1 file changed, 19 insertions(+), 18 deletions(-) (limited to 'setup.py') diff --git a/setup.py b/setup.py index 7e825129..b0a08afd 100644 --- a/setup.py +++ b/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')}, ) -- cgit v1.2.3-70-g09d2