Ignore unknown distribution option.
This commit is contained in:
parent
cc3b05e532
commit
55d350c187
1 changed files with 3 additions and 0 deletions
3
setup.py
3
setup.py
|
@ -19,6 +19,7 @@ import re
|
|||
import glob
|
||||
import shutil
|
||||
import subprocess
|
||||
import warnings
|
||||
try:
|
||||
# py2exe monkey-patches the distutils.core.Distribution class
|
||||
# So we need to import it before importing the Distribution class
|
||||
|
@ -51,6 +52,8 @@ py2exe_options = dict(
|
|||
optimize=2,
|
||||
)
|
||||
|
||||
warnings.filterwarnings("ignore", r"Unknown distribution option")
|
||||
|
||||
def normpath (path):
|
||||
"""Norm a path name to platform specific notation."""
|
||||
return os.path.normpath(path)
|
||||
|
|
Loading…
Reference in a new issue