fix for new dirs in setup.py
This commit is contained in:
parent
31a3877afb
commit
8f6c97c7ba
66
setup.py
66
setup.py
|
@ -38,45 +38,45 @@ pythonVersion = platform.python_version()[0:3]
|
||||||
from distutils.core import setup, Extension
|
from distutils.core import setup, Extension
|
||||||
|
|
||||||
deluge_core = Extension('deluge_core',
|
deluge_core = Extension('deluge_core',
|
||||||
include_dirs = ['./include', './include/libtorrent',
|
include_dirs = ['./libtorrent', './libtorrent/include',
|
||||||
'/usr/include/python' + pythonVersion],
|
'/usr/include/python' + pythonVersion],
|
||||||
libraries = ['boost_filesystem', 'boost_date_time',
|
libraries = ['boost_filesystem', 'boost_date_time',
|
||||||
'boost_program_options', 'boost_regex',
|
'boost_program_options', 'boost_regex',
|
||||||
'boost_serialization', 'boost_thread', 'z', 'pthread'],
|
'boost_serialization', 'boost_thread', 'z', 'pthread'],
|
||||||
extra_compile_args = ["-Wno-missing-braces"],
|
extra_compile_args = ["-Wno-missing-braces"],
|
||||||
sources = ['src/deluge_core.cpp',
|
sources = ['src/deluge_core.cpp',
|
||||||
'include/cpp/alert.cpp',
|
'libtorrent/cpp/alert.cpp',
|
||||||
'include/cpp/allocate_resources.cpp',
|
'libtorrent/cpp/allocate_resources.cpp',
|
||||||
'include/cpp/bt_peer_connection.cpp',
|
'libtorrent/cpp/bt_peer_connection.cpp',
|
||||||
'include/cpp/entry.cpp',
|
'libtorrent/cpp/entry.cpp',
|
||||||
'include/cpp/escape_string.cpp',
|
'libtorrent/cpp/escape_string.cpp',
|
||||||
'include/cpp/file.cpp',
|
'libtorrent/cpp/file.cpp',
|
||||||
'include/cpp/http_tracker_connection.cpp',
|
'libtorrent/cpp/http_tracker_connection.cpp',
|
||||||
'include/cpp/identify_client.cpp',
|
'libtorrent/cpp/identify_client.cpp',
|
||||||
'include/cpp/ip_filter.cpp',
|
'libtorrent/cpp/ip_filter.cpp',
|
||||||
'include/cpp/peer_connection.cpp',
|
'libtorrent/cpp/peer_connection.cpp',
|
||||||
'include/cpp/piece_picker.cpp',
|
'libtorrent/cpp/piece_picker.cpp',
|
||||||
'include/cpp/policy.cpp',
|
'libtorrent/cpp/policy.cpp',
|
||||||
'include/cpp/session.cpp',
|
'libtorrent/cpp/session.cpp',
|
||||||
'include/cpp/session_impl.cpp',
|
'libtorrent/cpp/session_impl.cpp',
|
||||||
'include/cpp/sha1.cpp',
|
'libtorrent/cpp/sha1.cpp',
|
||||||
'include/cpp/stat.cpp',
|
'libtorrent/cpp/stat.cpp',
|
||||||
'include/cpp/storage.cpp',
|
'libtorrent/cpp/storage.cpp',
|
||||||
'include/cpp/torrent.cpp',
|
'libtorrent/cpp/torrent.cpp',
|
||||||
'include/cpp/torrent_handle.cpp',
|
'libtorrent/cpp/torrent_handle.cpp',
|
||||||
'include/cpp/torrent_info.cpp',
|
'libtorrent/cpp/torrent_info.cpp',
|
||||||
'include/cpp/tracker_manager.cpp',
|
'libtorrent/cpp/tracker_manager.cpp',
|
||||||
'include/cpp/udp_tracker_connection.cpp',
|
'libtorrent/cpp/udp_tracker_connection.cpp',
|
||||||
'include/cpp/web_peer_connection.cpp',
|
'libtorrent/cpp/web_peer_connection.cpp',
|
||||||
'include/cpp/kademlia/closest_nodes.cpp',
|
'libtorrent/cpp/kademlia/closest_nodes.cpp',
|
||||||
'include/cpp/kademlia/dht_tracker.cpp',
|
'libtorrent/cpp/kademlia/dht_tracker.cpp',
|
||||||
'include/cpp/kademlia/find_data.cpp',
|
'libtorrent/cpp/kademlia/find_data.cpp',
|
||||||
'include/cpp/kademlia/node.cpp',
|
'libtorrent/cpp/kademlia/node.cpp',
|
||||||
'include/cpp/kademlia/node_id.cpp',
|
'libtorrent/cpp/kademlia/node_id.cpp',
|
||||||
'include/cpp/kademlia/refresh.cpp',
|
'libtorrent/cpp/kademlia/refresh.cpp',
|
||||||
'include/cpp/kademlia/routing_table.cpp',
|
'libtorrent/cpp/kademlia/routing_table.cpp',
|
||||||
'include/cpp/kademlia/rpc_manager.cpp',
|
'libtorrent/cpp/kademlia/rpc_manager.cpp',
|
||||||
'include/cpp/kademlia/traversal_algorithm.cpp'])
|
'libtorrent/cpp/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",
|
||||||
|
|
Loading…
Reference in New Issue