Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Update aksetup.

  • Loading branch information...
commit 7a17249941ff5e20f5d85bf6f0045f7d4f3d52fd 1 parent 1d0a682
@inducer authored
Showing with 9 additions and 3 deletions.
  1. +9 −3 aksetup_helper.py
View
12 aksetup_helper.py
@@ -39,7 +39,6 @@ def count_down_delay(delay):
def setup(*args, **kwargs):
from setuptools import setup
- import traceback
try:
setup(*args, **kwargs)
except KeyboardInterrupt:
@@ -516,9 +515,16 @@ def __init__(self, lib_name, default=None, human_name=None, help=None):
% (human_name or humanize(lib_name))))
class BoostLibraries(Libraries):
- def __init__(self, lib_base_name):
+ def __init__(self, lib_base_name, default_lib_name=None):
+ if default_lib_name is None:
+ if lib_base_name == "python":
+ import sys
+ default_lib_name = "boost_python-py%d%d" % sys.version_info[:2]
+ else:
+ default_lib_name = "boost_%s" % lib_base_name
+
Libraries.__init__(self, "BOOST_%s" % lib_base_name.upper(),
- ["boost_%s" % lib_base_name],
+ [default_lib_name],
help="Library names for Boost C++ %s library (without lib or .so)"
% humanize(lib_base_name))
Please sign in to comment.
Something went wrong with that request. Please try again.