removing unneeded libraries and includes

This commit is contained in:
Marcos Pinto 2007-05-25 21:48:33 +00:00
parent ec54ea9e3b
commit 0ea75cd486
2 changed files with 4 additions and 17 deletions

View File

@ -124,15 +124,11 @@ else:
# Ubuntu possible.
if boosttype == "nomt":
librariestype = ['boost_filesystem', 'boost_date_time',
'boost_regex', 'boost_serialization',
'boost_thread',
'z', 'pthread']
'boost_thread', 'z', 'pthread']
print 'Libraries nomt'
elif boosttype == "mt":
librariestype = ['boost_filesystem-mt', 'boost_date_time-mt',
'boost_regex-mt', 'boost_serialization-mt',
'boost_thread-mt',
'z', 'pthread']
'boost_thread-mt', 'z', 'pthread']
print 'Libraries mt'
deluge_core = Extension('deluge_core',

View File

@ -27,17 +27,10 @@
// open, just like the normal TCP port for bittorrent.
//
//-----------------
#include <iostream>
#include <fstream>
#include <exception>
#include <iterator>
#include <iomanip>
#include <Python.h>
#include <boost/filesystem/exception.hpp>
#include <boost/filesystem/operations.hpp>
#include <boost/filesystem/path.hpp>
#include <boost/filesystem/fstream.hpp>
#include <boost/date_time/posix_time/posix_time.hpp>
#include "libtorrent/entry.hpp"
@ -48,10 +41,8 @@
#include "libtorrent/storage.hpp"
#include "libtorrent/hasher.hpp"
#include "libtorrent/ip_filter.hpp"
#include "libtorrent/file_pool.hpp"
#include "libtorrent/file.hpp"
#include "libtorrent/torrent_info.hpp"
#include "libtorrent/upnp.hpp"
#include "libtorrent/file_pool.hpp"
#include "libtorrent/natpmp.hpp"
#include "libtorrent/extensions/metadata_transfer.hpp"
#include "libtorrent/extensions/ut_pex.hpp"