From 7764804d4c57a9f89d00a5bb05d66c250ced04d3 Mon Sep 17 00:00:00 2001 From: Anton Hvornum Date: Sun, 6 Dec 2020 12:37:51 +0100 Subject: Added application profiles to the setup.py Otherwise local lookups for application specific profiles will break/be missing. --- archinstall/lib/profiles.py | 2 +- setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/archinstall/lib/profiles.py b/archinstall/lib/profiles.py index cd408d52..a7b2603c 100644 --- a/archinstall/lib/profiles.py +++ b/archinstall/lib/profiles.py @@ -25,7 +25,7 @@ def list_profiles(filter_irrelevant_macs=True, subpath=''): for PATH_ITEM in storage['PROFILE_PATH']: import time print('Walking:', os.path.abspath(os.path.expanduser(PATH_ITEM+subpath))) - time.sleep(10) + time.sleep(3) for root, folders, files in os.walk(os.path.abspath(os.path.expanduser(PATH_ITEM+subpath))): for file in files: if os.path.splitext(file)[1] == '.py': diff --git a/setup.py b/setup.py index b0a08afd..02029a70 100644 --- a/setup.py +++ b/setup.py @@ -23,5 +23,5 @@ setuptools.setup( ], python_requires='>=3.8', setup_requires=['wheel'], - package_data={'archinstall': glob.glob('examples/*.py') + glob.glob('profiles/*.py')}, + package_data={'archinstall': glob.glob('examples/*.py') + glob.glob('profiles/*.py') + glob.glob('profiles/applications/*.py')}, ) -- cgit v1.2.3-54-g00ecf