Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Hvornum <anton.feeds+github@gmail.com>2020-12-06 12:37:51 +0100
committerAnton Hvornum <anton.feeds+github@gmail.com>2020-12-06 12:37:51 +0100
commit7764804d4c57a9f89d00a5bb05d66c250ced04d3 (patch)
treef992de3f8d7860cdb22cc2717c481cd9761a7e9c
parent5a07b22606a34e851a9465c50efafba2e6f7fec3 (diff)
Added application profiles to the setup.py
Otherwise local lookups for application specific profiles will break/be missing.
-rw-r--r--archinstall/lib/profiles.py2
-rw-r--r--setup.py2
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')},
)