mirror of
https://github.com/codex-storage/deluge.git
synced 2025-02-02 06:36:15 +00:00
setup change
This commit is contained in:
parent
37e9df38ca
commit
cf53928f90
42
setup.py
42
setup.py
@ -25,46 +25,6 @@ pythonVersion = platform.python_version()[0:3]
|
|||||||
from distutils.core import setup, Extension
|
from distutils.core import setup, Extension
|
||||||
|
|
||||||
|
|
||||||
torrent = Extension('torrent',
|
|
||||||
include_dirs = ['./library/include', './library/include/libtorrent',
|
|
||||||
'/usr/include/python' + pythonVersion],
|
|
||||||
libraries = ['boost_filesystem', 'boost_date_time',
|
|
||||||
'boost_program_options', 'boost_regex',
|
|
||||||
'boost_serialization', 'boost_thread', 'z', 'pthread'],
|
|
||||||
sources = ['library/alert.cpp',
|
|
||||||
'library/allocate_resources.cpp',
|
|
||||||
'library/bt_peer_connection.cpp',
|
|
||||||
'library/entry.cpp',
|
|
||||||
'library/escape_string.cpp',
|
|
||||||
'library/file.cpp',
|
|
||||||
'library/http_tracker_connection.cpp',
|
|
||||||
'library/identify_client.cpp',
|
|
||||||
'library/ip_filter.cpp',
|
|
||||||
'library/peer_connection.cpp',
|
|
||||||
'library/piece_picker.cpp',
|
|
||||||
'library/policy.cpp',
|
|
||||||
'library/python-libtorrent.cpp',
|
|
||||||
'library/session.cpp',
|
|
||||||
'library/session_impl.cpp',
|
|
||||||
'library/sha1.cpp',
|
|
||||||
'library/stat.cpp',
|
|
||||||
'library/storage.cpp',
|
|
||||||
'library/torrent.cpp',
|
|
||||||
'library/torrent_handle.cpp',
|
|
||||||
'library/torrent_info.cpp',
|
|
||||||
'library/tracker_manager.cpp',
|
|
||||||
'library/udp_tracker_connection.cpp',
|
|
||||||
'library/web_peer_connection.cpp',
|
|
||||||
'./library/kademlia/closest_nodes.cpp',
|
|
||||||
'./library/kademlia/dht_tracker.cpp',
|
|
||||||
'./library/kademlia/find_data.cpp',
|
|
||||||
'./library/kademlia/node.cpp',
|
|
||||||
'./library/kademlia/node_id.cpp',
|
|
||||||
'./library/kademlia/refresh.cpp',
|
|
||||||
'./library/kademlia/routing_table.cpp',
|
|
||||||
'./library/kademlia/rpc_manager.cpp',
|
|
||||||
'./library/kademlia/traversal_algorithm.cpp'])
|
|
||||||
|
|
||||||
setup(name="Deluge", fullname="Deluge Bittorrent Client", version="0.5.0",
|
setup(name="Deluge", fullname="Deluge Bittorrent Client", version="0.5.0",
|
||||||
author="Zach Tibbitts",
|
author="Zach Tibbitts",
|
||||||
description="A bittorrent client written in PyGTK",
|
description="A bittorrent client written in PyGTK",
|
||||||
@ -74,5 +34,5 @@ setup(name="Deluge", fullname="Deluge Bittorrent Client", version="0.5.0",
|
|||||||
scripts=["scripts/deluge-gtk", "scripts/deluge-tools"],
|
scripts=["scripts/deluge-gtk", "scripts/deluge-tools"],
|
||||||
py_modules=["dcommon", "deluge", "delugegtk", "dexml"],
|
py_modules=["dcommon", "deluge", "delugegtk", "dexml"],
|
||||||
data_files=[("glade", ["glade/delugegtk.glade"])],
|
data_files=[("glade", ["glade/delugegtk.glade"])],
|
||||||
ext_modules=[torrent]
|
##ext_modules=[torrent]
|
||||||
)
|
)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user