Skip to content
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

main: Fix console entry point in setup.cfg #35

Merged

Conversation

brian-kubisiak-skydio
Copy link

The setuptools module requires that the entrypoint is specified as
'module.submodule:function' and newer versions of setuptools will
break if 'module:submodule' is provided instead. Modify revup's
entrypoint by adding a wrapper _main() function and point at this
instead.

This also fixes importing main.py without running it, which can
happen in some linting utilities.

Signed-off-by: Brian Kubisiak [email protected]

The setuptools module requires that the entrypoint is specified as
'module.submodule:function' and newer versions of setuptools will
break if 'module:submodule' is provided instead. Modify revup's
entrypoint by adding a wrapper _main() function and point at this
instead.

This also fixes importing __main__.py without running it, which can
happen in some linting utilities.

Signed-off-by: Brian Kubisiak <[email protected]>
@brian-kubisiak-skydio
Copy link
Author

Reviews in this chain:
#35 main: Fix console entry point in setup.cfg

@brian-kubisiak-skydio
Copy link
Author

# head base diff date summary
0 707b31b6 919a2d28 diff Sep 13 4:45 PM 2 files changed, 16 insertions(+), 10 deletions(-)

@jerry-skydio jerry-skydio merged commit 4a4bc9f into Skydio:main Sep 13, 2022
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.

3 participants