Remove unused warnings import
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
from __future__ import print_function
|
from __future__ import print_function
|
||||||
import argparse, os, subprocess, sys, textwrap, warnings
|
import argparse, os, subprocess, sys, textwrap
|
||||||
|
|
||||||
import cibuildwheel
|
import cibuildwheel
|
||||||
import cibuildwheel.linux, cibuildwheel.windows, cibuildwheel.macos
|
import cibuildwheel.linux, cibuildwheel.windows, cibuildwheel.macos
|
||||||
@@ -25,9 +25,6 @@ def get_option_from_environment(option_name, platform=None):
|
|||||||
|
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
# enable deprecation warnings
|
|
||||||
warnings.filterwarnings("once", ".*", DeprecationWarning)
|
|
||||||
|
|
||||||
parser = argparse.ArgumentParser(
|
parser = argparse.ArgumentParser(
|
||||||
description='Build wheels for all the platforms.',
|
description='Build wheels for all the platforms.',
|
||||||
epilog=('Most options are supplied via environment variables. '
|
epilog=('Most options are supplied via environment variables. '
|
||||||
|
|||||||
Reference in New Issue
Block a user