reduce size

This commit is contained in:
Alon Zakai
2006-12-05 09:22:53 +00:00
parent 9522863ac3
commit 1d984b810f
4 changed files with 146 additions and 40 deletions

View File

@@ -22,10 +22,6 @@ import platform
pythonVersion = platform.python_version()[0:3]
print "========================================="
print "Creating pytorrent_core for Python " + pythonVersion
print "========================================="
from distutils.core import setup, Extension
module1 = Extension('pytorrent_core',
@@ -34,6 +30,8 @@ module1 = Extension('pytorrent_core',
libraries = ['boost_filesystem', 'boost_date_time',
'boost_program_options', 'boost_regex',
'boost_serialization', 'boost_thread', 'z', 'pthread'],
extra_compile_args = ["-Wno-missing-braces"],
# extra_link_args = [""],
sources = ['alert.cpp',
'allocate_resources.cpp',
'bt_peer_connection.cpp',
@@ -68,7 +66,10 @@ module1 = Extension('pytorrent_core',
'./kademlia/rpc_manager.cpp',
'./kademlia/traversal_algorithm.cpp'])
setup (name = 'pytorrent_core',
version = '0.5.0',
description = 'Wrapper code for libtorrent C++ torrent library (Sourceforge, not Rakshasa)',
ext_modules = [module1])
setup(name = 'pytorrent_core',
version = '0.5.0',
description = 'A module for the bittorrent protocol. Built using (Sourgeforge, not Rakshasha) libtorrent.',
author="Alon Zakai ('Kripken'), Zach Tibbitts",
author_email="kripkensteiner@gmail.com",
url="http://www.deluge-torrent.org",
ext_modules = [module1])