Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Python Idlex setup
#1
I am trying to setup an extension for Python Idle called Idlex. The instructions are not working for me. The final step to "include the contents
of "config_extension_def" found in the extension source code" is not working for me. I can't figure out where "config_extension_def" is. I searched the extension folder with nothing found.

Here are the instructions:
Adding Extensions to Standard IDLE
==================================

If you want to include an extension in the standard IDLE,
copy the extension to "idlelib" and then modify
idlelib/config-extensions.def to include the contents
of "config_extension_def" found in the extension source code.


Could someone tell me where to find "config_extension_def" and provide a sample of what config-extensions.def would look like?
Reply
#2
There is a file config-extensions.def in the idlelib directory. To find this directory, try
>>> import idlelib
>>> idlelib
<module 'idlelib' from '/usr/lib/python3.8/idlelib/__init__.py'>
Reply
#3
I know where config-extensions.def file is. I need to modify this file and "include the contents
of "config_extension_def" found in the extension source code". I don't know where to find "config_extension_def" and add this to "config-extensions.def"
Reply
#4
I don't think you need this to run IdleX. It looks rather like a reminder of the system of extensions for Idle. For example in pypi one can find old extensions such as squeezer and they contain a file to append to config-extensions.def.

I never did anything like this when installing IdleX and it works very well.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Setup Portable Python on Windows for script starts with double clicks? pstein 0 1,778 Feb-18-2022, 01:29 PM
Last Post: pstein
  VSCode Setup and configuring to run with Python apollo 2 2,995 Jan-13-2021, 04:55 PM
Last Post: jefsummers
  python setup.py install error blackclover 2 7,799 Jan-07-2021, 04:36 AM
Last Post: blackclover
  'python setup.py bdist' gets error on 'compiler_flags' 1780yz 0 2,172 Sep-02-2020, 09:17 PM
Last Post: 1780yz
  Python to setup samuelbachorik 2 2,295 Apr-19-2020, 11:19 AM
Last Post: samuelbachorik
  Arduino / Python Environment Setup - PIP stevealbright 0 2,216 Feb-24-2019, 10:48 PM
Last Post: stevealbright
  run setup.exe from python script with special parameters asheru93 0 2,287 Feb-01-2019, 03:11 PM
Last Post: asheru93
  Command "python setup.py egg_info" failed Sina 1 10,057 May-08-2018, 07:27 AM
Last Post: buran
  Setup Notepad++ for python LavaCreeperKing 6 12,684 Mar-22-2018, 07:27 PM
Last Post: LavaCreeperKing
  python setup.py install joebenny1 2 12,132 Feb-12-2018, 01:31 AM
Last Post: snippsat

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020