mirror of
https://github.com/kennethreitz/pipenv.git
synced 2026-06-05 22:50:18 +00:00
@@ -26,7 +26,7 @@ class Environment(object):
|
||||
super(Environment, self).__init__()
|
||||
self._modules = {'pkg_resources': pkg_resources, 'pipenv': pipenv}
|
||||
self.base_working_set = base_working_set if base_working_set else BASE_WORKING_SET
|
||||
self.is_venv = not os.path.samefile(os.path.abspath(prefix), sys.prefix)
|
||||
self.is_venv = not os.path.samefile(os.path.abspath(str(prefix)), sys.prefix)
|
||||
if not sources:
|
||||
sources = []
|
||||
self.sources = sources
|
||||
|
||||
Reference in New Issue
Block a user