Commit 1682d98e authored by Marcel Huber's avatar Marcel Huber
Browse files

import and use backward compatible createFulltargetname

parent 15a4cd8a
......@@ -15,6 +15,12 @@ from SomeUtils import listFiles
Import('*')
_sconsider_dist = pkg_resources.get_distribution("SConsider").parsed_version
if _sconsider_dist < pkg_resources.parse_version("0.3.10"):
from SConsider.PackageRegistry import createFulltargetname
else:
from SConsider.PackageRegistry import PackageRegistry
createFulltargetname = PackageRegistry.createFulltargetname
if _sconsider_dist < pkg_resources.parse_version("0.5"):
from SConsider import createTargets
from SConsider.PackageRegistry import PackageRegistry
......
......@@ -14,6 +14,12 @@ pkg_resources.require(["SConsider"])
Import('*')
_sconsider_dist = pkg_resources.get_distribution("SConsider").parsed_version
if _sconsider_dist < pkg_resources.parse_version("0.3.10"):
from SConsider.PackageRegistry import createFulltargetname
else:
from SConsider.PackageRegistry import PackageRegistry
createFulltargetname = PackageRegistry.createFulltargetname
if _sconsider_dist < pkg_resources.parse_version("0.5"):
from ConfigureHelper import Configure
from SConsider import createTargets, cloneBaseEnv
......
......@@ -15,9 +15,14 @@ from SomeUtils import listFiles
Import('*')
_sconsider_dist = pkg_resources.get_distribution("SConsider").parsed_version
if _sconsider_dist < pkg_resources.parse_version("0.3.10"):
from SConsider.PackageRegistry import createFulltargetname
else:
from SConsider.PackageRegistry import PackageRegistry
createFulltargetname = PackageRegistry.createFulltargetname
if _sconsider_dist < pkg_resources.parse_version("0.5"):
from SConsider import createTargets
from SConsider.PackageRegistry import PackageRegistry
buildSettings = {
'include': {
'public': {
......
......@@ -14,6 +14,12 @@ pkg_resources.require(["SConsider"])
Import('*')
_sconsider_dist = pkg_resources.get_distribution("SConsider").parsed_version
if _sconsider_dist < pkg_resources.parse_version("0.3.10"):
from SConsider.PackageRegistry import createFulltargetname
else:
from SConsider.PackageRegistry import PackageRegistry
createFulltargetname = PackageRegistry.createFulltargetname
if _sconsider_dist < pkg_resources.parse_version("0.5"):
from ConfigureHelper import Configure
from SConsider import createTargets, cloneBaseEnv
......
......@@ -14,6 +14,12 @@ pkg_resources.require(["SConsider"])
Import('*')
_sconsider_dist = pkg_resources.get_distribution("SConsider").parsed_version
if _sconsider_dist < pkg_resources.parse_version("0.3.10"):
from SConsider.PackageRegistry import createFulltargetname
else:
from SConsider.PackageRegistry import PackageRegistry
createFulltargetname = PackageRegistry.createFulltargetname
if _sconsider_dist < pkg_resources.parse_version("0.5"):
from SConsider import createTargets
from ThirdParty import getBinaryDistDir
......
......@@ -14,6 +14,12 @@ pkg_resources.require(["SConsider"])
Import('*')
_sconsider_dist = pkg_resources.get_distribution("SConsider").parsed_version
if _sconsider_dist < pkg_resources.parse_version("0.3.10"):
from SConsider.PackageRegistry import createFulltargetname
else:
from SConsider.PackageRegistry import PackageRegistry
createFulltargetname = PackageRegistry.createFulltargetname
if _sconsider_dist < pkg_resources.parse_version("0.5"):
from ConfigureHelper import Configure
from SConsider import createTargets, cloneBaseEnv
......
......@@ -15,9 +15,14 @@ from SomeUtils import listFiles
Import('*')
_sconsider_dist = pkg_resources.get_distribution("SConsider").parsed_version
if _sconsider_dist < pkg_resources.parse_version("0.3.10"):
from SConsider.PackageRegistry import createFulltargetname
else:
from SConsider.PackageRegistry import PackageRegistry
createFulltargetname = PackageRegistry.createFulltargetname
if _sconsider_dist < pkg_resources.parse_version("0.5"):
from SConsider import createTargets
from SConsider.PackageRegistry import PackageRegistry
buildSettings = {
'include': {
'public': {
......
......@@ -14,6 +14,12 @@ pkg_resources.require(["SConsider"])
Import('*')
_sconsider_dist = pkg_resources.get_distribution("SConsider").parsed_version
if _sconsider_dist < pkg_resources.parse_version("0.3.10"):
from SConsider.PackageRegistry import createFulltargetname
else:
from SConsider.PackageRegistry import PackageRegistry
createFulltargetname = PackageRegistry.createFulltargetname
if _sconsider_dist < pkg_resources.parse_version("0.5"):
from ConfigureHelper import Configure
from SConsider import createTargets, cloneBaseEnv
......
......@@ -14,6 +14,12 @@ pkg_resources.require(["SConsider"])
Import('*')
_sconsider_dist = pkg_resources.get_distribution("SConsider").parsed_version
if _sconsider_dist < pkg_resources.parse_version("0.3.10"):
from SConsider.PackageRegistry import createFulltargetname
else:
from SConsider.PackageRegistry import PackageRegistry
createFulltargetname = PackageRegistry.createFulltargetname
if _sconsider_dist < pkg_resources.parse_version("0.5"):
from SConsider import createTargets
from ThirdParty import getBinaryDistDir
......
......@@ -14,6 +14,12 @@ pkg_resources.require(["SConsider"])
Import('*')
_sconsider_dist = pkg_resources.get_distribution("SConsider").parsed_version
if _sconsider_dist < pkg_resources.parse_version("0.3.10"):
from SConsider.PackageRegistry import createFulltargetname
else:
from SConsider.PackageRegistry import PackageRegistry
createFulltargetname = PackageRegistry.createFulltargetname
if _sconsider_dist < pkg_resources.parse_version("0.5"):
from ConfigureHelper import Configure
from SConsider import createTargets, cloneBaseEnv
......
......@@ -14,6 +14,12 @@ pkg_resources.require(["SConsider"])
Import('*')
_sconsider_dist = pkg_resources.get_distribution("SConsider").parsed_version
if _sconsider_dist < pkg_resources.parse_version("0.3.10"):
from SConsider.PackageRegistry import createFulltargetname
else:
from SConsider.PackageRegistry import PackageRegistry
createFulltargetname = PackageRegistry.createFulltargetname
if _sconsider_dist < pkg_resources.parse_version("0.5"):
from SConsider import createTargets
from ThirdParty import getBinaryDistDir
......
......@@ -14,6 +14,12 @@ pkg_resources.require(["SConsider"])
Import('*')
_sconsider_dist = pkg_resources.get_distribution("SConsider").parsed_version
if _sconsider_dist < pkg_resources.parse_version("0.3.10"):
from SConsider.PackageRegistry import createFulltargetname
else:
from SConsider.PackageRegistry import PackageRegistry
createFulltargetname = PackageRegistry.createFulltargetname
if _sconsider_dist < pkg_resources.parse_version("0.5"):
from ConfigureHelper import Configure
from SConsider import createTargets, cloneBaseEnv
......
......@@ -14,6 +14,12 @@ pkg_resources.require(["SConsider"])
Import('*')
_sconsider_dist = pkg_resources.get_distribution("SConsider").parsed_version
if _sconsider_dist < pkg_resources.parse_version("0.3.10"):
from SConsider.PackageRegistry import createFulltargetname
else:
from SConsider.PackageRegistry import PackageRegistry
createFulltargetname = PackageRegistry.createFulltargetname
if _sconsider_dist < pkg_resources.parse_version("0.5"):
from SConsider import createTargets
from ThirdParty import getBinaryDistDir
......
......@@ -14,6 +14,12 @@ pkg_resources.require(["SConsider"])
Import('*')
_sconsider_dist = pkg_resources.get_distribution("SConsider").parsed_version
if _sconsider_dist < pkg_resources.parse_version("0.3.10"):
from SConsider.PackageRegistry import createFulltargetname
else:
from SConsider.PackageRegistry import PackageRegistry
createFulltargetname = PackageRegistry.createFulltargetname
if _sconsider_dist < pkg_resources.parse_version("0.5"):
from ConfigureHelper import Configure
from SConsider import createTargets, cloneBaseEnv
......
......@@ -14,6 +14,12 @@ pkg_resources.require(["SConsider"])
Import('*')
_sconsider_dist = pkg_resources.get_distribution("SConsider").parsed_version
if _sconsider_dist < pkg_resources.parse_version("0.3.10"):
from SConsider.PackageRegistry import createFulltargetname
else:
from SConsider.PackageRegistry import PackageRegistry
createFulltargetname = PackageRegistry.createFulltargetname
if _sconsider_dist < pkg_resources.parse_version("0.5"):
from SConsider import createTargets
from ThirdParty import getBinaryDistDir
......
......@@ -14,6 +14,12 @@ pkg_resources.require(["SConsider"])
Import('*')
_sconsider_dist = pkg_resources.get_distribution("SConsider").parsed_version
if _sconsider_dist < pkg_resources.parse_version("0.3.10"):
from SConsider.PackageRegistry import createFulltargetname
else:
from SConsider.PackageRegistry import PackageRegistry
createFulltargetname = PackageRegistry.createFulltargetname
if _sconsider_dist < pkg_resources.parse_version("0.5"):
from ConfigureHelper import Configure
from SConsider import createTargets, cloneBaseEnv
......
......@@ -14,6 +14,12 @@ pkg_resources.require(["SConsider"])
Import('*')
_sconsider_dist = pkg_resources.get_distribution("SConsider").parsed_version
if _sconsider_dist < pkg_resources.parse_version("0.3.10"):
from SConsider.PackageRegistry import createFulltargetname
else:
from SConsider.PackageRegistry import PackageRegistry
createFulltargetname = PackageRegistry.createFulltargetname
if _sconsider_dist < pkg_resources.parse_version("0.5"):
from SConsider import createTargets
from ThirdParty import getBinaryDistDir
......
......@@ -14,6 +14,12 @@ pkg_resources.require(["SConsider"])
Import('*')
_sconsider_dist = pkg_resources.get_distribution("SConsider").parsed_version
if _sconsider_dist < pkg_resources.parse_version("0.3.10"):
from SConsider.PackageRegistry import createFulltargetname
else:
from SConsider.PackageRegistry import PackageRegistry
createFulltargetname = PackageRegistry.createFulltargetname
if _sconsider_dist < pkg_resources.parse_version("0.5"):
from ConfigureHelper import Configure
from SConsider import createTargets, cloneBaseEnv
......
......@@ -18,6 +18,12 @@ from stat import *
Import('*')
_sconsider_dist = pkg_resources.get_distribution("SConsider").parsed_version
if _sconsider_dist < pkg_resources.parse_version("0.3.10"):
from SConsider.PackageRegistry import createFulltargetname
else:
from SConsider.PackageRegistry import PackageRegistry
createFulltargetname = PackageRegistry.createFulltargetname
if _sconsider_dist < pkg_resources.parse_version("0.5"):
from SConsider import createTargets
from SConsider.PackageRegistry import PackageRegistry
......
......@@ -17,6 +17,12 @@ from SomeUtils import listFiles
Import('*')
_sconsider_dist = pkg_resources.get_distribution("SConsider").parsed_version
if _sconsider_dist < pkg_resources.parse_version("0.3.10"):
from SConsider.PackageRegistry import createFulltargetname
else:
from SConsider.PackageRegistry import PackageRegistry
createFulltargetname = PackageRegistry.createFulltargetname
if _sconsider_dist < pkg_resources.parse_version("0.5"):
from ConfigureHelper import Configure
from SConsider import createTargets, cloneBaseEnv
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment