Sitelet https://github.com/niess/linuxdeploy-plugin-python/pull/11
Skip to content

Add python entrypoint - #11

Merged
niess merged 7 commits into
niess:masterfrom
anki-code:entrypoint
Oct 17, 2019
Merged

niess merged 7 commits into
niess:masterfrom
anki-code:entrypoint

Conversation

@anki-code

@anki-code anki-code commented Oct 14, 2019 •

Copy link
Copy Markdown
Contributor

Hi! Thank you for great work! It's really useful!

Here is the PR that allows to add python PYTHON_ENTRYPOINT variable with recipe example for xonsh.

# python3 --help
usage: python3 [option] ... [-c cmd | -m mod | file | -] [arg] ...
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                 ENTRYPOINT = python options + command + command args

Example for xonsh:

export PYTHON_ENTRYPOINT='"-u" "-c" "from xonsh.main import main; main()"'

@niess
niess merged commit a73d8a2 into niess:master Oct 17, 2019
@niess

niess commented Oct 17, 2019

Copy link
Copy Markdown
Owner

Hello @anki-code . Thank you for this new option and for the xonsh recipee :) Looks useful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants