55
62
source_list = os.listdir(os.path.join(os.path.dirname(__file__), "src"))
56
63
source_list = [os.path.join("src", s) for s in source_list if s.endswith(".cpp")]
58
extra_cmd = '-DTORRENT_USE_OPENSSL -DTORRENT_LINKING_SHARED -D_THREAD_SAFE -pthread -I/opt/local/include -lboost_filesystem-mt-1_35 -lboost_thread-mt-1_35 -lssl -lcrypto -lboost_system-mt-1_35 -L/opt/local/lib -L/opt/local/lib -L/usr/lib -I/opt/local/include/boost-1_35 -I/usr/include/python2.5 -I/usr/include/openssl -DHAVE_SSL'
60
67
setup( name='python-libtorrent',
62
69
author = 'Arvid Norberg',
64
71
description = 'Python bindings for libtorrent-rasterbar',
65
72
long_description = 'Python bindings for libtorrent-rasterbar',
66
73
url = 'http://www.rasterbar.com/products/libtorrent/index.html',