From 8f6c97c7baf9cd1b87e165ce61f38757a0f5c237 Mon Sep 17 00:00:00 2001 From: Zach Tibbitts Date: Thu, 8 Feb 2007 19:34:06 +0000 Subject: [PATCH] fix for new dirs in setup.py --- setup.py | 66 ++++++++++++++++++++++++++++---------------------------- 1 file changed, 33 insertions(+), 33 deletions(-) diff --git a/setup.py b/setup.py index bfc56f2d4..c5099993a 100644 --- a/setup.py +++ b/setup.py @@ -38,45 +38,45 @@ pythonVersion = platform.python_version()[0:3] from distutils.core import setup, Extension deluge_core = Extension('deluge_core', - include_dirs = ['./include', './include/libtorrent', + include_dirs = ['./libtorrent', './libtorrent/include', '/usr/include/python' + pythonVersion], libraries = ['boost_filesystem', 'boost_date_time', 'boost_program_options', 'boost_regex', 'boost_serialization', 'boost_thread', 'z', 'pthread'], extra_compile_args = ["-Wno-missing-braces"], sources = ['src/deluge_core.cpp', - 'include/cpp/alert.cpp', - 'include/cpp/allocate_resources.cpp', - 'include/cpp/bt_peer_connection.cpp', - 'include/cpp/entry.cpp', - 'include/cpp/escape_string.cpp', - 'include/cpp/file.cpp', - 'include/cpp/http_tracker_connection.cpp', - 'include/cpp/identify_client.cpp', - 'include/cpp/ip_filter.cpp', - 'include/cpp/peer_connection.cpp', - 'include/cpp/piece_picker.cpp', - 'include/cpp/policy.cpp', - 'include/cpp/session.cpp', - 'include/cpp/session_impl.cpp', - 'include/cpp/sha1.cpp', - 'include/cpp/stat.cpp', - 'include/cpp/storage.cpp', - 'include/cpp/torrent.cpp', - 'include/cpp/torrent_handle.cpp', - 'include/cpp/torrent_info.cpp', - 'include/cpp/tracker_manager.cpp', - 'include/cpp/udp_tracker_connection.cpp', - 'include/cpp/web_peer_connection.cpp', - 'include/cpp/kademlia/closest_nodes.cpp', - 'include/cpp/kademlia/dht_tracker.cpp', - 'include/cpp/kademlia/find_data.cpp', - 'include/cpp/kademlia/node.cpp', - 'include/cpp/kademlia/node_id.cpp', - 'include/cpp/kademlia/refresh.cpp', - 'include/cpp/kademlia/routing_table.cpp', - 'include/cpp/kademlia/rpc_manager.cpp', - 'include/cpp/kademlia/traversal_algorithm.cpp']) + 'libtorrent/cpp/alert.cpp', + 'libtorrent/cpp/allocate_resources.cpp', + 'libtorrent/cpp/bt_peer_connection.cpp', + 'libtorrent/cpp/entry.cpp', + 'libtorrent/cpp/escape_string.cpp', + 'libtorrent/cpp/file.cpp', + 'libtorrent/cpp/http_tracker_connection.cpp', + 'libtorrent/cpp/identify_client.cpp', + 'libtorrent/cpp/ip_filter.cpp', + 'libtorrent/cpp/peer_connection.cpp', + 'libtorrent/cpp/piece_picker.cpp', + 'libtorrent/cpp/policy.cpp', + 'libtorrent/cpp/session.cpp', + 'libtorrent/cpp/session_impl.cpp', + 'libtorrent/cpp/sha1.cpp', + 'libtorrent/cpp/stat.cpp', + 'libtorrent/cpp/storage.cpp', + 'libtorrent/cpp/torrent.cpp', + 'libtorrent/cpp/torrent_handle.cpp', + 'libtorrent/cpp/torrent_info.cpp', + 'libtorrent/cpp/tracker_manager.cpp', + 'libtorrent/cpp/udp_tracker_connection.cpp', + 'libtorrent/cpp/web_peer_connection.cpp', + 'libtorrent/cpp/kademlia/closest_nodes.cpp', + 'libtorrent/cpp/kademlia/dht_tracker.cpp', + 'libtorrent/cpp/kademlia/find_data.cpp', + 'libtorrent/cpp/kademlia/node.cpp', + 'libtorrent/cpp/kademlia/node_id.cpp', + 'libtorrent/cpp/kademlia/refresh.cpp', + 'libtorrent/cpp/kademlia/routing_table.cpp', + 'libtorrent/cpp/kademlia/rpc_manager.cpp', + 'libtorrent/cpp/kademlia/traversal_algorithm.cpp']) setup(name="deluge", fullname="Deluge BitTorrent Client", version="0.5.0",