-
Notifications
You must be signed in to change notification settings - Fork 3
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
mailbagit.py and mailbagit-gui.py manually created shims unnecessary for docker #206
Comments
Thanks for this! I was expecting users to use the Definitely open to feedback on this if there's a better way! Maybe just more in the Docker docs saying to use `mailbagit' entry point? |
This might avoid those files: https://github.com/pyinstaller/pyinstaller/wiki/Recipe-Setuptools-Entry-Point |
This did not work when I tried it;
I tried it by adding
The example is not giving |
Describe the bug
When getting the app to work in docker, scripts were added to the top level mailbag directory that replicate the entry-point functionality given by setuptools for an installed version of mailbag. On the surface, this works fine, and we might not hit problems, but those shims actually do substantial work to make sure imports and other things work as expected, and it's I think not good practice to add them when instead we can just install the package as intended.
To wit, I would argue that the manually created shims should be deleted, and then rather than just copying the directory in the dockerfile, copy the directory and then:
pip install .
from the setup directory. This will create the mailbagit and mailbagit-gui shims.
@gwiedeman
The text was updated successfully, but these errors were encountered: