Added application profiles to the setup.py
Otherwise local lookups for application specific profiles will break/be missing.
This commit is contained in:
parent
5a07b22606
commit
7764804d4c
|
|
@ -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':
|
||||
|
|
|
|||
2
setup.py
2
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')},
|
||||
)
|
||||
|
|
|
|||
Loading…
Reference in New Issue