Skip to content

Commit 175ae4f

Browse files
committed
Use extras to describe urwid dependency for bpython.urwid
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
1 parent fdc0a4c commit 175ae4f

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

setup.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,9 @@ def initialize_options(self):
152152
install_requires = [
153153
'pygments'
154154
],
155+
extras_require = {
156+
'urwid': ['urwid']
157+
},
155158
tests_require = ['mock'],
156159
packages = ["bpython", "bpython.test", "bpython.translations", "bpdb"],
157160
data_files = data_files,
@@ -163,7 +166,7 @@ def initialize_options(self):
163166
entry_points = {
164167
'console_scripts': [
165168
'bpython = bpython.cli:main',
166-
'bpython-urwid = bpython.urwid:main',
169+
'bpython-urwid = bpython.urwid:main [urwid]',
167170
],
168171
'gui_scripts': [
169172
'bpython-gtk = bpython.gtk_:main'

0 commit comments

Comments
 (0)