diff options
Diffstat (limited to '')
-rw-r--r-- | project/ci/appveyor/__init__.py | 0 | ||||
-rw-r--r-- | project/ci/appveyor/boost.py (renamed from boost/build/ci/appveyor.py) | 7 | ||||
-rw-r--r--[-rwxr-xr-x] | project/ci/appveyor/cmake.py (renamed from cmake/build/ci/appveyor.py) | 7 |
3 files changed, 4 insertions, 10 deletions
diff --git a/project/ci/appveyor/__init__.py b/project/ci/appveyor/__init__.py new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/project/ci/appveyor/__init__.py diff --git a/boost/build/ci/appveyor.py b/project/ci/appveyor/boost.py index 4a55e20..4218dd6 100644 --- a/boost/build/ci/appveyor.py +++ b/project/ci/appveyor/boost.py @@ -21,6 +21,8 @@ import os import os.path import sys +from project.boost.build import BoostVersion, main as build_main + def _env(name): if name not in os.environ: @@ -80,11 +82,6 @@ def build_appveyor(argv=None): args = _parse_args(argv) _check_appveyor() - this_module_dir = os.path.dirname(os.path.abspath(__file__)) - parent_module_dir = os.path.dirname(this_module_dir) - sys.path.insert(1, parent_module_dir) - from build import BoostVersion, main as build_main - version = BoostVersion.from_string(_get_boost_version()) appveyor_argv = [ 'download', diff --git a/cmake/build/ci/appveyor.py b/project/ci/appveyor/cmake.py index b9141ec..e1ebce0 100755..100644 --- a/cmake/build/ci/appveyor.py +++ b/project/ci/appveyor/cmake.py @@ -19,6 +19,8 @@ import logging import os import sys +from project.cmake.build import build + class Image(Enum): VS_2013 = 'Visual Studio 2013' @@ -132,11 +134,6 @@ def build_appveyor(argv=None): args = _parse_args(argv) _check_appveyor() - this_module_dir = os.path.dirname(os.path.abspath(__file__)) - parent_module_dir = os.path.dirname(this_module_dir) - sys.path.insert(1, parent_module_dir) - from build import build - appveyor_argv = [ '--build', _get_build_dir(), '--configuration', _get_configuration(), |