I confirm that python 2.7.3 will be included in build 08 of codeblocks PND if you want a pnd alternative.
How do I use Python with Code::Blocks or rather without it? I already have a Python package that requires 2.7.3.
Running /mnt/utmp/codeblocks/usr/bin/python3.3 works, /mnt/utmp/codeblocks/usr/bin/python2.7 fails with
Traceback (most recent call last):
File "/mnt/utmp/codeblocks/usr/bin/lib/python2.7/site.py", line 563, in <module>
main()
File "/mnt/utmp/codeblocks/usr/bin/lib/python2.7/site.py", line 545, in main
known_paths = addusersitepackages(known_paths)
File "/mnt/utmp/codeblocks/usr/bin/lib/python2.7/site.py", line 278, in addusersitepackages
user_site = getusersitepackages()
File "/mnt/utmp/codeblocks/usr/bin/lib/python2.7/site.py", line 253, in getusersitepackages
user_base = getuserbase() # this will also set USER_BASE
File "/mnt/utmp/codeblocks/usr/bin/lib/python2.7/site.py", line 243, in getuserbase
USER_BASE = get_config_var('userbase')
File "/mnt/utmp/codeblocks/usr/bin/lib/python2.7/sysconfig.py", line 521, in get_config_var
return get_config_vars().get(name)
File "/mnt/utmp/codeblocks/usr/bin/lib/python2.7/sysconfig.py", line 420, in get_config_vars
_init_posix(_CONFIG_VARS)
File "/mnt/utmp/codeblocks/usr/bin/lib/python2.7/sysconfig.py", line 299, in _init_posix
raise IOError(msg)
IOError: invalid Python installation: unable to open /mnt/utmp/codeblocks/usr/bin/include/python2.7/pyconfig.h (No such file or directory)
But even if that worked, how do I create a PND or similar package including my Python package and Python 2.7?