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(): |
I hereby claim:
To claim this, I am signing this object:
From c00daa30990e9c7a9733748f652e22928470380e Mon Sep 17 00:00:00 2001 | |
From: Ray Donnelly <[email protected]> | |
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 |
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, |
#!/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 = ''' |
#!/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 |
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'), |
@echo off | |
REM We can do better later. | |
if exist C:\msys64 ( | |
set MSYS2=C:\msys64 | |
) else ( | |
set MSYS2=C:\msys32 | |
) | |
if "%MSYS2%" == "" exit 1 |
$ cat test.c | |
#include "E:/python34/include/python.h" | |
int DLLMain() | |
{ | |
PyObject * test = Py_None; | |
return 0; | |
} | |
$ PATH=/mingw64/bin:$PATH gcc -shared -L/e/Python34/libs/ -lpython34 -c test.c -o test.dll |