By using the following PKGBUILD, one can use idlex2 to start idlex with python2 and idlex or idlex3 to start it with python3.
Obviously, this is just qick and dirty hack... and it adds both python versions as a dependency..
But if you just need a working solution, this should work (at least it works for me):
http://sprunge.us/bBcg
Search Criteria
Package Details: idlex 1.22-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/idlex.git (read-only, click to copy) |
---|---|
Package Base: | idlex |
Description: | Extensions to IDLE, the Python IDE |
Upstream URL: | http://idlex.sourceforge.net/ |
Keywords: | idle python |
Licenses: | NCSA |
Submitter: | Nordwin |
Maintainer: | TrialnError |
Last Packager: | TrialnError |
Votes: | 18 |
Popularity: | 0.000000 |
First Submitted: | 2011-12-11 19:58 (UTC) |
Last Updated: | 2022-03-13 22:21 (UTC) |
Required by (0)
Sources (2)
Latest Comments
« First ‹ Previous 1 2
Nordwin commented on 2013-04-16 13:00 (UTC)
ibid commented on 2013-03-13 19:06 (UTC)
Well, it's a matter of getting libidlex to install in both the python and python2 libraries. It's not clear to me the best way to do it with a PKGBUILD. Basically you need to install it twice, once with python and once with python2.7, then you can just edit the idlex2 file (it's a bash script) and set it to run with python2.
I might have some time to look into it next week.
brainmue commented on 2013-03-12 19:02 (UTC)
Special Thanx for the PKGBUILD file.
The dependence need only look like 'python2>=2.7'
Is there possibly a way that i can use python2 and python3?
In the file system so he puts idlex2 and idlex3.
Unfortunately, it is always the same.
Either 2 or 3.
ibid commented on 2013-03-12 00:56 (UTC)
> I would like to use it with python2.
If you use the PKGBUILD linked below it will always use python2.7
Hope that does what you need.
http://sprunge.us/IgWa
brainmue commented on 2013-03-11 20:08 (UTC)
Hello,
first I want to thank that you made the package.
Unfortunately I have a problem with the idlex.
After installation, the IDE will always be started only with python3.
Even when I start idlex2.
What can you do?
I would like to use it with python2.
Thanks for your help.
brainmue
Nordwin commented on 2012-09-26 07:33 (UTC)
Thank you for the PKGBUILD; uploaded it. Since I have not used idlex in half a year, I am also disowning the package.
ibid commented on 2012-09-26 02:37 (UTC)
idlex is now 1.0
Updated PKBUILD
http://sprunge.us/FYcO
Pinned Comments
TrialnError commented on 2024-04-29 22:59 (UTC) (edited on 2024-04-29 23:02 (UTC) by TrialnError)
For now this is broken with the update to python 3.12 as it makes use of the
imp
module.Not sure if I should depend on python311 or add a version constraint. Adjust accordingly for yourself