Use abspath for constraints file
This commit is contained in:
@@ -86,7 +86,7 @@ def download(url, dest):
|
|||||||
class DependencyConstraints(object):
|
class DependencyConstraints(object):
|
||||||
def __init__(self, base_file_path):
|
def __init__(self, base_file_path):
|
||||||
assert os.path.exists(base_file_path)
|
assert os.path.exists(base_file_path)
|
||||||
self.base_file_path = base_file_path
|
self.base_file_path = os.path.abspath(base_file_path)
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def with_defaults(cls):
|
def with_defaults(cls):
|
||||||
|
|||||||
Reference in New Issue
Block a user