Page 1 of 1

Source deluge for windows

Posted: Tue Nov 04, 2008 1:05 pm
by Andrak
It would be possible for programmers to cede the Deluge source of the program for windows?

I have a tracker which would only use the program Deluge! It is undoubtedly the best because it goes beyond the TS.

But I want to make some changes in the program. Someone could give the source of the program for windows and say the steps to compile it?

For example, the ABC program that allows its users! The Deluge could also be seen opensource.


A hug to everyone!

Re: Source deluge for windows

Posted: Tue Nov 04, 2008 1:34 pm
by johnnyg
Deluge is already open source.
You can get the source here: http://dev.deluge-torrent.org/
There are instructions for compiling on linux here: http://dev.deluge-torrent.org/wiki/Inst ... FromSource

Re: Source deluge for windows

Posted: Tue Nov 04, 2008 1:52 pm
by Andrak
johnnyg wrote:Deluge is already open source.
You can get the source here: http://dev.deluge-torrent.org/
There are instructions for compiling on linux here: http://dev.deluge-torrent.org/wiki/Inst ... FromSource
But I not use linux only windows.
I have installed on my windows XP SP3, the following programs:
- Python 2.5.2
- Wxpython 2.8.9.1 (unicode)
- pywin32-212
- pycrypto-2.0.1
- pyexe-0.6.8

I tried to do this in cmd: python setup.py build

But gives error. I need to install anything else to compile the windows?

Re: Source deluge for windows

Posted: Tue Nov 04, 2008 3:00 pm
by johnnyg
I'm not sure how you go about compiling it in windows as most users would just use the compiled version.
You will have to wait for a dev to answer that.

What changes do you want to make exactly?

Re: Source deluge for windows

Posted: Tue Nov 04, 2008 3:29 pm
by Andrak
johnnyg wrote:I'm not sure how you go about compiling it in windows as most users would just use the compiled version.
You will have to wait for a dev to answer that.

What changes do you want to make exactly?

I'd like to implement the "login" in the Deluge. For users to login into the program before downloading the torrent Tracker.

I know + / - as is done not only know compile the program in windows.

Re: Source deluge for windows

Posted: Tue Nov 04, 2008 4:26 pm
by mvoncken
I don't really recommend this, because developing on linux is so much easyer but....

You can just edit the py files in %program files%\deluge , python doesn't need compiling.

And note that you are planning to redistribute GPL code, you should publish your source changes.
The best way to realize this would be with a plugin instead of hacking core.

Re: Source deluge for windows

Posted: Tue Nov 04, 2008 5:18 pm
by Andrak
I just want to make a version of with my Deluge modification. Ie user ID in the program. It's simple to know how to apply the Deluge. I just do not know how it compiles for the. Exe windows.

Re: Source deluge for windows

Posted: Wed Nov 05, 2008 1:48 am
by andar
Andrak wrote:I just want to make a version of with my Deluge modification. Ie user ID in the program. It's simple to know how to apply the Deluge. I just do not know how it compiles for the. Exe windows.
It's just done with setuptools, just as it's done in linux. Setting up an environment to do so in windows is another story and that can get quite complicated. Deluge itself doesn't need to be compiled, but libtorrent which is included requires building with msvc.

The same source code is used for both windows and linux.