-
Notifications
You must be signed in to change notification settings - Fork 18
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
whl package does not include an executable #94
Comments
I am not sure what you are missing. syncmymoodle like most python packages does not have a binary executable and in the shown directory structure every file required to run smm seems to be present. |
Please clarify, otherwise this will be closed |
I have execute the install command listed above. But the executable is missing. Sadly I am not familiar enough with python, to be able to say, why this happen. I was able to workaround this issues by installing manual the |
Ah yes to packaging tools this is just a library and has no entrypoints. On the v2 Branch I have declared a proper entrypoint though I have not touched that branch in months sadly. However with your current setup you should still be able to call it like |
The whl package does only include side packages and no executable.
$ tree . └── lib └── python3.10 └── site-packages ├── syncmymoodle │ ├── debug.py │ ├── __init__.py │ ├── __main__.py │ └── __pycache__ │ ├── debug.cpython-310.opt-1.pyc │ ├── debug.cpython-310.pyc │ ├── __init__.cpython-310.opt-1.pyc │ ├── __init__.cpython-310.pyc │ ├── __main__.cpython-310.opt-1.pyc │ └── __main__.cpython-310.pyc └── syncMyMoodle-0.0.3.dist-info ├── LICENSE ├── METADATA ├── RECORD ├── top_level.txt └── WHEEL
Step to reproduce:
python -m build --wheel --no-isolation python -m installer --destdir=test dist/*.whl
The text was updated successfully, but these errors were encountered: