Developement starting point

Suggestions and discussion of future versions
Post Reply
rostfrei

Developement starting point

Post by rostfrei »

Hello!

I downloaded the latest deluge tarball, extracted it, compiled and installed. Everything works great. Now I want to do some development. I work as a C++ programmer, but I know thing or two about python also. I watched the code a little bit and I just couldn't find a starting program point. I'm developing in Eclipse with PyDev plugin. Finally I wrote a short file and put it in the source root folder.

Code: Select all

from deluge import main

if __name__ == "__main__":
    main.start_ui()
I'm starting it with "-u gtk" argument. Everything seems to work fine at start, but now I noticed that I can see up/down speeds, number of active,.. torrents on the left side panel, but preferences window does not show, main list window with all the torrents is empty, etc. If I start installed version, everything is shown correctly.

What is the "correct" way to start/debug the app without installing it? Do I have some pythonpath problems? I just need some intro so please be patient with me. Few starters tips would be just fine.

Thank you!
Post Reply