forked from premiere/premiere-libtorrent
fixed mistake in setup.py.in
This commit is contained in:
parent
da93e19c5d
commit
eda4032a93
|
@ -3,6 +3,7 @@
|
||||||
from distutils.core import setup, Extension
|
from distutils.core import setup, Extension
|
||||||
import os
|
import os
|
||||||
import platform
|
import platform
|
||||||
|
import sys
|
||||||
|
|
||||||
if '@BOOST_PYTHON_LIB@' == '':
|
if '@BOOST_PYTHON_LIB@' == '':
|
||||||
print 'You need to pass --enable-python-binding to configure in order ',
|
print 'You need to pass --enable-python-binding to configure in order ',
|
||||||
|
@ -28,7 +29,6 @@ def arch():
|
||||||
if platform.system() == 'Windows':
|
if platform.system() == 'Windows':
|
||||||
# on windows, build using bjam and build an installer
|
# on windows, build using bjam and build an installer
|
||||||
import shutil
|
import shutil
|
||||||
import sys
|
|
||||||
if os.system('bjam boost=source link=static boost-link=static release msvc-7.1 optimization=space') != 0:
|
if os.system('bjam boost=source link=static boost-link=static release msvc-7.1 optimization=space') != 0:
|
||||||
print 'build failed'
|
print 'build failed'
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
|
|
Loading…
Reference in New Issue