Skip to content

Instantly share code, notes, and snippets.

@razzmatazz
razzmatazz / Build Emacs for Windows 64bit.md
Last active June 24, 2017 13:37 — forked from nauhygon/Build Emacs for Windows 64bit with Native Compilation.md
Step-by-step instructions to build Emacs for Windows 64 bit with MSYS2 and MinGW-w64.

Build Emacs-w64 with MSYS2/MinGW-w64

Instructions are modified from emacs-w64 Wiki page by zklhp. Many thanks for sharing!

  1. Download MSYS2 (msys2-x86_64-20161025.exe) from this download page.

  2. Install MSYS2 to, for example, C:\msys2 (make sure no space in path).

  3. Optionally prettify the MSYS2 console mintty with ~/.minttyrc to make it more pleasing to eyes. Thanks to this awesome theme!

from django.core.exceptions import MiddlewareNotUsed
from django.conf import settings
from django.db import connection
from pymongo.connection import Connection
from time import time
import struct
import bson
from bson.errors import InvalidBSON
class SqldumpMiddleware(object):
bob@saulius-175 python-manhole (macosx-support)$ git merge origin/master
Merge made by the 'recursive' strategy.
tests/test_manhole.py | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
bob@saulius-175 python-manhole (macosx-support)$ tox -r -e py2.7
GLOB sdist-make: /Users/bob/src/python-manhole/setup.py
py2.7 recreate: /Users/bob/src/python-manhole/.tox/py2.7
py2.7 installdeps: coverage, process-tests, nose
py2.7 inst: /Users/bob/src/python-manhole/.tox/dist/manhole-0.6.0.zip
py2.7 runtests: PYTHONHASHSEED='2283063869'
bob@saulius-175 python-manhole (macosx-support)$ git lg -11
* c614a42 - (HEAD, personal/macosx-support, macosx-support) Merge remote-tracking branch 'origin/master' into macosx-suppo
|\
| * cec6c4c - (origin/master, origin/HEAD) Make more lax in the tests (don't assert that client pid matches, only test what
* | 62ddd6d - Merge remote-tracking branch 'origin/master' into macosx-support (2 days ago) <Saulius Menkevičius>
|\ \
| |/
| * 193fba7 - Don't hardcode signal number in tests. (2 days ago) <Ionel Cristian Mărieș>
| * dff8450 - Update similar projects. (11 days ago) <Ionel Cristian Mărieș>
| * 76c8cf6 - Update README.rst (12 days ago) <Ionel Cristian Mărieș>
bob@saulius-175 python-manhole (macosx-support)$ tox -r -e py2.7
GLOB sdist-make: /Users/bob/src/python-manhole/setup.py
py2.7 recreate: /Users/bob/src/python-manhole/.tox/py2.7
py2.7 installdeps: coverage, process-tests, nose
py2.7 inst: /Users/bob/src/python-manhole/.tox/dist/manhole-0.6.0.zip
py2.7 runtests: PYTHONHASHSEED='2324554595'
py2.7 runtests: commands[0] | nosetests test_manhole --with-coverage --cover-inclusive --cover-erase
Killing <process_tests.TestProcess object at 0x103498810> !
E..Killing <process_tests.TestProcess object at 0x1034aed10> !
E.Killing <process_tests.TestProcess object at 0x1034aee10> !
bob@saulius-175 python-manhole (macosx-support)$ tox -e py2.7
GLOB sdist-make: /Users/bob/src/python-manhole/setup.py
py2.7 inst-nodeps: /Users/bob/src/python-manhole/.tox/dist/manhole-0.6.0.zip
py2.7 runtests: PYTHONHASHSEED='4007845744'
py2.7 runtests: commands[0] | nosetests test_manhole --with-coverage --cover-inclusive --cover-erase
Killing <process_tests.TestProcess object at 0x103386950> !
E..Killing <process_tests.TestProcess object at 0x103396590> !
E.Killing <process_tests.TestProcess object at 0x103396690> !
EKilling <process_tests.TestProcess object at 0x1033a03d0> !
EKilling <process_tests.TestProcess object at 0x1033a04d0> !
bob@saulius-175 python-manhole (macosx-support)$ tox -e py2.7
GLOB sdist-make: /Users/bob/src/python-manhole/setup.py
py2.7 create: /Users/bob/src/python-manhole/.tox/py2.7
py2.7 installdeps: coverage, process-tests, nose
py2.7 inst: /Users/bob/src/python-manhole/.tox/dist/manhole-0.6.0.zip
py2.7 runtests: PYTHONHASHSEED='3978462657'
py2.7 runtests: commands[0] | nosetests test_manhole --with-coverage --cover-inclusive --cover-erase
Killing <process_tests.TestProcess object at 0x10ece2890> !
F..Killing <process_tests.TestProcess object at 0x10ecf14d0> !
F.Killing <process_tests.TestProcess object at 0x10ecf1610> !