Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 3 additions & 7 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,10 @@ dist-bin/localstack build: $(VENV_ACTIVATE) main.py
$(PYINSTALLER_ARGS) -n localstack \
--hidden-import cookiecutter.main \
--hidden-import cookiecutter.extensions \
--hidden-import localstack.dev.run.configurators \
--hidden-import localstack.pro.core.plugins \
--hidden-import localstack.pro.core.cli.localstack \
--hidden-import localstack.pro.core.extensions.plugins \
--hidden-import localstack_cli.cli.core_plugin \
--hidden-import localstack_cli.pro.core.cli.localstack \
--collect-all=rich \
--copy-metadata localstack_ext \
--collect-data localstack.pro.core \
--copy-metadata localstack \
--additional-hooks-dir hooks

dist-dir/localstack: PYINSTALLER_ARGS=--distpath=dist-dir
Expand All @@ -47,4 +44,3 @@ clean-venv:
rm -rf $(VENV_DIR)

.PHONY: all build clean clean-venv

4 changes: 4 additions & 0 deletions hooks/hook-localstack.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
from PyInstaller.utils.hooks import copy_metadata

# make sure to add the entrypoints data for localstack (for plux plugin discovery)
datas = copy_metadata('localstack')
4 changes: 0 additions & 4 deletions hooks/hook-localstack_core.py

This file was deleted.

2 changes: 1 addition & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
freeze_support()

os.environ["SKIP_PATCH_MOTO_ACCOUNT_ID"] = "1"
from localstack.cli import main
from localstack_cli.cli import main

if __name__ == '__main__':
main.main()
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
pyinstaller
localstack==4.13.1
localstack==4.13.2.dev3
cookiecutter
Loading