mirror of
1
0
Fork 0
This commit is contained in:
Oliver Brandt 2017-04-19 19:30:07 +00:00 committed by GitHub
commit 7dd25f0c0c
3 changed files with 10 additions and 0 deletions

3
.gitmodules vendored
View File

@ -2,3 +2,6 @@
path = lib/pyyaml
url = https://github.com/anishathalye/pyyaml
ignore = dirty
[submodule "lib/colorama"]
path = lib/colorama
url = https://github.com/tartley/colorama.git

View File

@ -31,6 +31,12 @@ if sys.version_info[0] >= 3:
else:
inject('pyyaml/lib')
# Support ANSI sequences under windows
if os.name == "nt":
inject('colorama')
import colorama
colorama.init()
if os.path.exists(os.path.join(PROJECT_ROOT_DIRECTORY, 'dotbot')):
if PROJECT_ROOT_DIRECTORY not in sys.path:
sys.path.insert(0, PROJECT_ROOT_DIRECTORY)

1
lib/colorama Submodule

@ -0,0 +1 @@
Subproject commit 44dc8af9bc8111b70dd046a822bb26c851ba3687