mirror of
https://git.freebsd.org/ports.git
synced 2025-06-23 21:50:32 -04:00
[1] such as trackerless [2] support 1) http://www.bittorrent.com/bittorrent_versions.html 2) http://www.bittorrent.com/trackerless.html
18 lines
397 B
Python
18 lines
397 B
Python
--- btreannounce.py.orig Tue May 24 03:01:08 2005
|
|
+++ btreannounce.py Sun May 29 22:46:38 2005
|
|
@@ -12,6 +12,15 @@
|
|
|
|
# Written by Henry 'Pi' James and Bram Cohen
|
|
|
|
+from BitTorrent import PSYCO
|
|
+if PSYCO.psyco:
|
|
+ try:
|
|
+ import psyco
|
|
+ assert psyco.__version__ >= 0x010300f0
|
|
+ psyco.full()
|
|
+ except:
|
|
+ pass
|
|
+
|
|
import gettext
|
|
gettext.install('bittorrent', 'locale')
|
|
|