This commit is contained in:
Alon Zakai 2006-12-07 20:11:00 +00:00
parent 24d2e66b6c
commit 91a4d5f93e
1 changed files with 11 additions and 21 deletions

View File

@ -2,29 +2,19 @@
pytorrent pytorrent
================= =================
The simplest way to use this project is to install the .deb file, You may compile the code with the script 'makeit'. The
which appears in the "debs" subfolder. This was tested under script 'installit' will install the pytorrent_core package
Ubuntu 6.06 (Dapper), but may work in other Debian-based systems. to the central package store, so that it can be imported inside
pytorrent.py (which is required).
Otherwise, you may compile the code with the script 'makeit'. The Currently the scripts do NOT copy pytorrent.py to the central
script 'installit' will install the package, so you can import it as package store, as Deluge imports pytorrent.py by "import
a module under python. library.pytorrent"
After installation of torrent, you can install and run You can check whether pytorrent works by running
Deluge, http://www.deluge-torrent.com/
As a simpler test, you can check whether pytorrent works by
by running
python test.py python test.py
This does a simple torrent download. Note that the torrent is for This does a simple torrent download. Note that the torrent file
the Ubuntu 6.06 release, and was available as of 15.9.2006. You used for this test may have expired, so you may need to use a
may need to replace the torrent with another. current one.
If successful, you will see test.py print the torrent status
to the screen each second. Notice in particular the download speed
and amount downloaded so far, to see if things are working.
Note: You may need to change the port used, depending on your system.