提交 83f89279 编写于 作者: K Kentaro Wada

Use colorama on Windows

上级 b6625f3e
import datetime
import logging
import os
import termcolor
if os.name == "nt": # Windows
import colorama
colorama.init()
from . import __appname__
......
from __future__ import print_function
import distutils.spawn
import os
import re
from setuptools import find_packages
from setuptools import setup
import shlex
import subprocess
import sys
from setuptools import find_packages
from setuptools import setup
def get_version():
filename = "labelme/__init__.py"
......@@ -75,6 +77,9 @@ def get_install_requires():
QT_BINDING = "pyqt5"
del QT_BINDING
if os.name == "nt": # Windows
install_requires.append("colorama")
return install_requires
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册