40 lines
1.1 KiB
Diff
40 lines
1.1 KiB
Diff
From c8d7e1ff6504515c11d4bc0d34011773472927e2 Mon Sep 17 00:00:00 2001
|
|
From: Lumir Balhar <lbalhar@redhat.com>
|
|
Date: Wed, 30 Nov 2022 23:07:23 +0100
|
|
Subject: [PATCH] fix entry points
|
|
|
|
---
|
|
setup.cfg | 3 +++
|
|
setup.py | 1 -
|
|
2 files changed, 3 insertions(+), 1 deletion(-)
|
|
|
|
diff --git a/setup.cfg b/setup.cfg
|
|
index 9e6753e..1d87cbb 100644
|
|
--- a/setup.cfg
|
|
+++ b/setup.cfg
|
|
@@ -106,6 +106,9 @@ 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
|
|
diff --git a/setup.py b/setup.py
|
|
index 4939ca5..1ca6d98 100644
|
|
--- a/setup.py
|
|
+++ b/setup.py
|
|
@@ -139,7 +139,6 @@ setup_args['cmdclass'] = {
|
|
'install_scripts_sym': install_scripts_for_symlink,
|
|
'unsymlink': unsymlink,
|
|
}
|
|
-setup_args["entry_points"] = {"console_scripts": find_entry_points()}
|
|
|
|
#---------------------------------------------------------------------------
|
|
# Do the actual setup now
|
|
--
|
|
2.38.1
|
|
|