Merge e3255d583e
into 0b01d56d81
This commit is contained in:
commit
7dd25f0c0c
3 changed files with 10 additions and 0 deletions
3
.gitmodules
vendored
3
.gitmodules
vendored
|
@ -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
|
||||
|
|
|
@ -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
1
lib/colorama
Submodule
|
@ -0,0 +1 @@
|
|||
Subproject commit 44dc8af9bc8111b70dd046a822bb26c851ba3687
|
Loading…
Reference in a new issue