Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

How do i run my apps from cl the same way?

2011-01-25
2013-03-15
  • Alan Queirós
    Alan Queirós
    2011-01-25

    Hello there.

    My apps doesn't run from terminal, only from PyDev. I wonder how i can reproduce the PyDev parameters/settings in order to get my apps running without it.

    I've tried to fix the code in order to achieve that, but i fix one problem and another appears, and so on. And as the apps run perfectly from PyDev, I want to simply reproduce that without it.

    Can someone help me please? (I'm on Linux, Python 2.6)

    Thank you.

     
  • Fabio Zadrozny
    Fabio Zadrozny
    2011-01-25

    You can see the command line in: toolbar > run > run configurations, choose the run that's working for you, select the 'interpreter' tab, press 'see resulting command line for the given parameters'. it should give you the command line to use and the pythonpath you need to set for it to run.

    Cheers,

    Fabio

     
  • Alan Queirós
    Alan Queirós
    2011-01-26

    Thanks man. But the problem was PyDev uses sitecustomize by default. It's necessary to add it in PYTHONPATH to run some programs.