Skip to content

Instantly share code, notes, and snippets.

diff --git a/conda_build/external.py b/conda_build/external.py
index 50d1d11..3f558b4 100644
--- a/conda_build/external.py
+++ b/conda_build/external.py
@@ -14,8 +14,12 @@ def find_executable(executable):
if sys.platform == 'win32':
dir_paths = [join(config.build_prefix, 'Scripts'),
join(config.build_prefix, 'Library\\bin'),
+ join(config.build_prefix, 'Library\\mingw-w64\\bin'),
+ join(config.build_prefix, 'Library\\usr\\bin'),
@mingwandroid
mingwandroid / mc-opts
Created June 14, 2016 01:09
Shell script that I use to bootstrap my conda environments (it's always in-flux)
#!/usr/bin/env bash
if [[ -n $BASH_VERSION ]] && [[ "$(basename "$0" 2> /dev/null)" == "mc-opts" ]]; then
>&2 echo "Error: mc must be sourced. Run 'source $0 $*'"
exit 1
fi
script_dir=$( cd $( dirname "${BASH_SOURCE[0]}" ) && pwd )
while [ "$#" -gt 0 ]; do
#!/bin/bash
echo "activate, PATH=$PATH"
echo "activate, PWD=$PWD"
# The arguments to this are:
# 1. activation nature {activate,deactivate}
# 2. toolchain nature {build,host}
# 3. machine (should match -dumpmachine)
# 4. prefix (including the final -)
from conda_build import api
from conda_build.config import Config
import jinja2
import os
import sys
import ruamel_yaml
from tempfile import TemporaryDirectory
HTML = '''
import argparse
try:
from conda.base.constants import CONDA_TARBALL_EXTENSIONS
except Exception:
from conda.base.constants import CONDA_TARBALL_EXTENSION
CONDA_TARBALL_EXTENSIONS = (CONDA_TARBALL_EXTENSION,)
from conda_build import environ
from conda_build import utils
from conda_build.conda_interface import memoized, iteritems
from conda_build.os_utils.liefldd import (get_exports, get_imports,
From c00daa30990e9c7a9733748f652e22928470380e Mon Sep 17 00:00:00 2001
From: Ray Donnelly <mingw.android@gmail.com>
Date: Sun, 14 Oct 2018 19:53:16 +0100
Subject: [PATCH] PyCharm debugging support
---
conda/__init__.py | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/conda/__init__.py b/conda/__init__.py

Keybase proof

I hereby claim:

  • I am mingwandroid on github.
  • I am mingwandroid (https://keybase.io/mingwandroid) on keybase.
  • I have a public key ASCnRy2Y9Byxmjh_EZZGOz1eMAIwV_4bbW2IL8RfgE1I_Ao

To claim this, I am signing this object:

import os
from conda_build import api
from conda_build.config import Config
from json import dumps
from rever.tools import hash_url
def pp(jason):
print(dumps(jason, indent=4, sort_keys=True))
def main():
@mingwandroid
mingwandroid / CMakeLists.txt
Last active April 30, 2022 00:55
WxWidgets CMake MSYS2
# From https://wiki.wxwidgets.org/CMake
PROJECT(Test)
SET(wxWidgets_USE_LIBS)
FIND_PACKAGE(wxWidgets)
IF(wxWidgets_FOUND)
INCLUDE("${wxWidgets_USE_FILE}")
ADD_EXECUTABLE(MyTest WIN32 main.cpp)
# and for each of your dependant executable/library targets:
TARGET_LINK_LIBRARIES(MyTest ${wxWidgets_LIBRARIES})
ELSE(wxWidgets_FOUND)