Skip to content

Commit

Permalink
Merge pull request #13842 from UltimateLobster/bugfix/minor_version_e…
Browse files Browse the repository at this point in the history
…ntrypoints

Reused the previously unused find_entry_points in setup.py
  • Loading branch information
Carreau committed Nov 28, 2022
2 parents 28f76f8 + cfa39c5 commit 40a524f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
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

0 comments on commit 40a524f

Please sign in to comment.