Skip to content

Commit 9226f57

Browse files
mingwandroidnouiz
authored andcommitted
Win32 + conda: Remove default binary dir hack
1 parent 6d1bdbd commit 9226f57

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ def __init__(self, *args, **kwargs):
7676

7777
include_dirs = [np.get_include()]
7878
library_dirs = []
79-
if sys.platform == 'win32':
79+
if sys.platform == 'win32' and not os.getenv('CONDA_BUILD'):
8080
# This is a hack so users don't need to do many steps for windows install
8181
# Just use the default location.
8282
current_dir = os.path.abspath(os.path.dirname(__file__))

0 commit comments

Comments
 (0)