[Bug 56884] New: Unable to execute Python scripts in a C/C++ project

Alexandre Courbot alexandrecourbot at linuxgames.com
Sat Apr 5 19:42:06 UTC 2003


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
     
http://bugs.kde.org/show_bug.cgi?id=56884     
           Summary: Unable to execute Python scripts in a C/C++ project
           Product: kdevelop
           Version: unspecified
          Platform: Mandrake RPMs
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: wishlist
          Priority: NOR
         Component: general
        AssignedTo: kdevelop-devel at kdevelop.org
        ReportedBy: alexandrecourbot at linuxgames.com


Version:           3.0.0a4 (using KDE 3.1.0)
Installed from:    Mandrake Linux Cooker i586 - Cooker
Compiler:          gcc version 3.2.2 (Mandrake Linux 9.1 3.2.2-3mdk)
OS:          Linux (i686) release 2.4.21-0.13mdk

Sometimes it is useful to have a "mixed" project - i.e a project that mixes both C/C++ code and code from an interpreted language like Python. The project that cause me problems is made of a set of C++ libraries that get called by Python scripts. I.e, while most of the code is C++, there is no binary program. Instead, I write Python scripts that call my C++ library functions.

The problem is that since the project is defined as a C++ one (which is sensible since I want it to compile and so on), I have not found a clean way to run my test scripts. Starting a Python project however makes a "Project -> Run" command to appear. It would be nice to have a similar feature whenever a script file is open, either in the right-click menu or maybe in the "build" menu when a script file is active.

Thanks in advance for considering this feature.




More information about the KDevelop-devel mailing list