-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
zapp doesn't copy entrypoint file #1
Comments
@Dobatymo I see what you mean. I am afraid this use case is not supported. I admit it seems like a legitimate use case but not one I intend to implement in the near future, especially since I do not have the resources to work on this project currently. If I can offer an alternative to make it work... I recommend you turn this For example: [project]
name = "MyApp"
version = "0.0.0"
[tool.setuptools]
py-modules = ["main"] And then add the path to the directory containing py -m zapp myapp.pyz main:main . --requirements requirements.txt |
@sinoroc Thanks for the workaround. It's an acceptable solution. In the meantime I was looking at https://github.com/ClericPy/zipapps which seems to be similar but with a few more features. |
Using Windows 10, python 3.8,
zapp==0.0.7
Running
py -m zapp myapp.pyz main:main --requirements requirements.txt
in a folder with only amain.py
and arequirements.txt
file doesn't copy the main.py file into the resultingmyapp.pyz
.The text was updated successfully, but these errors were encountered: