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

Reused the previously unused find_entry_points in setup.py #13842

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
3 changes: 0 additions & 3 deletions setup.cfg
Expand Up @@ -106,9 +106,6 @@ IPython.lib.tests = *.wav
IPython.testing.plugin = *.txt

[options.entry_points]
console_scripts =
ipython = IPython:start_ipython
ipython3 = IPython:start_ipython
pygments.lexers =
ipythonconsole = IPython.lib.lexers:IPythonConsoleLexer
ipython = IPython.lib.lexers:IPythonLexer
Expand Down
3 changes: 2 additions & 1 deletion setup.py
Expand Up @@ -66,7 +66,7 @@
# Our own imports
sys.path.insert(0, ".")

from setupbase import target_update
from setupbase import target_update, find_entry_points

from setupbase import (
setup_args,
Expand Down Expand Up @@ -139,6 +139,7 @@
'install_scripts_sym': install_scripts_for_symlink,
'unsymlink': unsymlink,
}
setup_args["entry_points"] = {"console_scripts": find_entry_points()}

#---------------------------------------------------------------------------
# Do the actual setup now
Expand Down