Skip to content

Commit

Permalink
Try to fix Windows builds using win_unicode_console
Browse files Browse the repository at this point in the history
  • Loading branch information
mitya57 committed May 25, 2018
1 parent c16ef95 commit 2af3f23
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,15 @@
from setuptools import setup
import re
import os
import platform
import sys


if platform.system == "Windows":
import win_unicode_console
win_unicode_console.enable()


long_description = (
"MkDocs is a fast, simple and downright gorgeous static site generator "
"that's geared towards building project documentation. Documentation "
Expand Down
1 change: 1 addition & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ deps=
py{27,34,35,36,py,py3}-min-req: -rrequirements/project-min.txt
py{27,34,35,36,py,py3}-{unittests,min-req}: -rrequirements/test.txt
py{27,py}-{unittests,min-req}: backports.tempfile
win_unicode_console;platform_system=="Windows"
commands=
{envpython} --version
py{27,34,35,36,py,py3}-{unittests,min-req}: {envbindir}/nosetests --with-coverage --cover-package mkdocs mkdocs
Expand Down

0 comments on commit 2af3f23

Please sign in to comment.