Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 94d9075 commit 3aa9eedCopy full SHA for 3aa9eed
setupext.py
@@ -126,9 +126,15 @@ def get_base_dirs():
126
"""
127
if options['basedirlist']:
128
return options['basedirlist']
129
-
+
130
+ win_bases = ['win32_static', ]
131
+ # on windows, we also add the <installdir>\Library of the local interperter, as
132
+ # conda installs libs/includes there
133
+ if os.getenv('CONDA_DEFAULT_ENV'):
134
+ win_bases.append(os.path.join(os.getenv('CONDA_DEFAULT_ENV'), "Library"))
135
136
basedir_map = {
- 'win32': ['win32_static', ],
137
+ 'win32': win_bases,
138
'darwin': ['/usr/local/', '/usr', '/usr/X11',
139
'/opt/X11', '/opt/local'],
140
'sunos5': [os.getenv('MPLIB_BASE') or '/usr/local', ],
0 commit comments