mirror of
https://github.com/beetbox/beets.git
synced 2026-02-01 21:11:25 +01:00
Ammends beets to only import and requires colorama on win32
--- beets/ui/__init__.py | 5 +++-- setup.py | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-)
This commit is contained in:
parent
e05bda87b4
commit
e6999df2d9
2 changed files with 4 additions and 3 deletions
|
|
@ -32,8 +32,9 @@ from beets import library
|
|||
from beets import plugins
|
||||
from beets import util
|
||||
|
||||
import colorama
|
||||
colorama.init()
|
||||
if sys.platform == 'win32':
|
||||
import colorama
|
||||
colorama.init()
|
||||
|
||||
# Constants.
|
||||
CONFIG_PATH_VAR = 'BEETSCONFIG'
|
||||
|
|
|
|||
2
setup.py
2
setup.py
|
|
@ -75,7 +75,7 @@ setup(name='beets',
|
|||
'munkres',
|
||||
'unidecode',
|
||||
'musicbrainzngs',
|
||||
],
|
||||
] + (['colorama'] if (sys.platform == 'win32') else []),
|
||||
|
||||
classifiers=[
|
||||
'Topic :: Multimedia :: Sound/Audio',
|
||||
|
|
|
|||
Loading…
Reference in a new issue