<s> """<STR_LIT>""" <EOL> from __future__ import print_function <EOL> import os , platform , re , shutil , site , subprocess , sys , time <EOL> from os . path import abspath , dirname , exists , isdir , join , realpath , relpath <EOL> from shutil import copy <EOL> import sys <EOL> if '<STR_LIT>' in sys . argv and sys . platform . startswith ( '<STR_LIT>' ) : <EOL> try : <EOL> import setuptools <EOL> except ImportError : <EOL> pass <EOL> try : <EOL> import colorama <EOL> def bright ( text ) : return "<STR_LIT>" % ( colorama . Style . BRIGHT , text , colorama . Style . RESET_ALL ) <EOL> def dim ( text ) : return "<STR_LIT>" % ( colorama . Style . DIM , text , colorama . Style . RESET_ALL ) <EOL> def white ( text ) : return "<STR_LIT>" % ( colorama . Fore . WHITE , text , colorama . Style . RESET_ALL ) <EOL> def blue ( text ) : return "<STR_LIT>" % ( colorama . Fore . BLUE , text , colorama . Style . RESET_ALL ) <EOL> def red ( text ) : return "<STR_LIT>" % ( colorama . Fore . RED , text , colorama . Style . RESET_ALL ) <EOL> def green ( text ) : return "<STR_LIT>" % ( colorama . Fore . GREEN , text , colorama . Style . RESET_ALL ) <EOL> def yellow ( text ) : return "<STR_LIT>" % ( colorama . Fore . YELLOW , text , colorama . Style . RESET_ALL ) <EOL> except ImportError : <EOL> def bright ( text ) : return text <EOL> def dim ( text ) : return text <EOL> def white ( text ) : return text <EOL> def blue ( text ) : return text <EOL> def red ( text ) : return text <EOL> def green ( text ) : return text <EOL> def yellow ( text ) : return text <EOL> if '<STR_LIT>' in sys . argv : <EOL> from setuptools import setup <EOL> sys . argv . remove ( '<STR_LIT>' ) <EOL> with open ( '<STR_LIT>' , '<STR_LIT:r>' ) as f : <EOL> version = f . read ( ) . rstrip ( ) <EOL> vers_file = os . path . join ( '<STR_LIT>' , '<STR_LIT>' ) <EOL> with open ( vers_file , '<STR_LIT:w>' ) as f : <EOL> f . write ( "<STR_LIT>" + "<STR_LIT:'>" + version + "<STR_LIT:'>" ) <EOL> else : <EOL> from distutils . core import setup <EOL> from distutils import dir_util <EOL> import versioneer <EOL> ROOT = dirname ( realpath ( __file__ ) ) <EOL> BOKEHJSROOT = join ( ROOT , '<STR_LIT>' ) <EOL> BOKEHJSBUILD = join ( BOKEHJSROOT , '<STR_LIT>' ) <EOL> CSS = join ( BOKEHJSBUILD , '<STR_LIT>' ) <EOL> JS = join ( BOKEHJSBUILD , '<STR_LIT>' ) <EOL> SERVER = join ( ROOT , '<STR_LIT>' ) <EOL> if sys . version_info [ <NUM_LIT:0> ] < <NUM_LIT:3> : <EOL> input = raw_input <EOL> versioneer . versionfile_source = '<STR_LIT>' <EOL> versioneer . versionfile_build = '<STR_LIT>' <EOL> versioneer . tag_prefix = '<STR_LIT>' <EOL> versioneer . parentdir_prefix = '<STR_LIT>' <EOL> copy ( "<STR_LIT>" , "<STR_LIT>" ) <EOL> package_data = [ '<STR_LIT>' , '<STR_LIT>' ] <EOL> def package_path ( path , filters = ( ) ) : <EOL> if not os . path . exists ( path ) : <EOL> raise RuntimeError ( "<STR_LIT>" % path ) <EOL> elif os . path . isfile ( path ) : <EOL> package_data . append ( relpath ( path , '<STR_LIT>' ) ) <EOL> else : <EOL> for path , dirs , files in os . walk ( path ) : <EOL> path = relpath ( path , '<STR_LIT>' ) <EOL> for f in files : <EOL> if not filters or f . endswith ( filters ) : <EOL> package_data . append ( join ( path , f ) ) <EOL> def getsitepackages ( ) : <EOL> """<STR_LIT>""" <EOL> _is_64bit = ( getattr ( sys , '<STR_LIT>' , None ) or getattr ( sys , '<STR_LIT>' ) ) > <NUM_LIT:2> ** <NUM_LIT:32> <EOL> _is_pypy = hasattr ( sys , '<STR_LIT>' ) <EOL> _is_jython = sys . platform [ : <NUM_LIT:4> ] == '<STR_LIT>' <EOL> prefixes = [ sys . prefix , sys . exec_prefix ] <EOL> sitepackages = [ ] <EOL> seen = set ( ) <EOL> for prefix in prefixes : <EOL> if not prefix or prefix in seen : <EOL> continue <EOL> seen . add ( prefix ) <EOL> if sys . platform in ( '<STR_LIT>' , '<STR_LIT>' ) or _is_jython : <EOL> sitedirs = [ os . path . join ( prefix , "<STR_LIT>" , "<STR_LIT>" ) ] <EOL> elif _is_pypy : <EOL> sitedirs = [ os . path . join ( prefix , '<STR_LIT>' ) ] <EOL> elif sys . platform == '<STR_LIT>' and prefix == sys . prefix : <EOL> if prefix . startswith ( "<STR_LIT>" ) : <EOL> sitedirs = [ os . path . join ( "<STR_LIT>" , sys . version [ : <NUM_LIT:3> ] , "<STR_LIT>" ) , <EOL> os . path . join ( prefix , "<STR_LIT>" , "<STR_LIT>" , "<STR_LIT>" ) ] <EOL> else : <EOL> sitedirs = [ os . path . join ( prefix , "<STR_LIT>" , <EOL> "<STR_LIT>" + sys . version [ : <NUM_LIT:3> ] , "<STR_LIT>" ) ] <EOL> elif os . sep == '<STR_LIT:/>' : <EOL> sitedirs = [ os . path . join ( prefix , <EOL> "<STR_LIT>" , <EOL> "<STR_LIT>" + sys . version [ : <NUM_LIT:3> ] , <EOL> "<STR_LIT>" ) , <EOL> os . path . join ( prefix , "<STR_LIT>" , "<STR_LIT>" ) , <EOL> ] <EOL> lib64_dir = os . path . join ( prefix , "<STR_LIT>" , "<STR_LIT>" + sys . version [ : <NUM_LIT:3> ] , "<STR_LIT>" ) <EOL> if ( os . path . exists ( lib64_dir ) and <EOL> os . path . realpath ( lib64_dir ) not in [ os . path . realpath ( p ) for p in sitedirs ] ) : <EOL> if _is_64bit : <EOL> sitedirs . insert ( <NUM_LIT:0> , lib64_dir ) <EOL> else : <EOL> sitedirs . append ( lib64_dir ) <EOL> try : <EOL> sys . getobjects <EOL> sitedirs . insert ( <NUM_LIT:0> , os . path . join ( sitedirs [ <NUM_LIT:0> ] , '<STR_LIT>' ) ) <EOL> except AttributeError : <EOL> pass <EOL> sitedirs . append ( os . path . join ( prefix , "<STR_LIT>" , <EOL> "<STR_LIT>" + sys . version [ : <NUM_LIT:3> ] , <EOL> "<STR_LIT>" ) ) <EOL> sitedirs . append ( os . path . join ( prefix , "<STR_LIT>" , <EOL> "<STR_LIT>" + sys . version [ : <NUM_LIT:3> ] , <EOL> "<STR_LIT>" ) ) <EOL> if sys . version_info [ <NUM_LIT:0> ] >= <NUM_LIT:3> : <EOL> sitedirs . append ( os . path . join ( prefix , "<STR_LIT>" , <EOL> "<STR_LIT>" + sys . version [ <NUM_LIT:0> ] , <EOL> "<STR_LIT>" ) ) <EOL> sitedirs . append ( os . path . join ( prefix , "<STR_LIT>" , "<STR_LIT>" ) ) <EOL> else : <EOL> sitedirs = [ os . path . join ( prefix , "<STR_LIT>" , "<STR_LIT>" ) , prefix ] <EOL> if sys . platform == '<STR_LIT>' : <EOL> if '<STR_LIT>' in prefix : <EOL> home = os . environ . get ( '<STR_LIT>' ) <EOL> if home : <EOL> sitedirs . append ( <EOL> os . path . join ( home , <EOL> '<STR_LIT>' , <EOL> '<STR_LIT>' , <EOL> sys . version [ : <NUM_LIT:3> ] , <EOL> '<STR_LIT>' ) ) <EOL> for sitedir in sitedirs : <EOL> sitepackages . append ( os . path . abspath ( sitedir ) ) <EOL> sitepackages = [ p for p in sitepackages if os . path . isdir ( p ) ] <EOL> return sitepackages <EOL> def check_remove_bokeh_install ( site_packages ) : <EOL> old_bokeh_files = [ ] <EOL> for d in os . listdir ( site_packages ) : <EOL> bokeh_path = join ( site_packages , d ) <EOL> if not ( d == '<STR_LIT>' or d . startswith ( '<STR_LIT>' ) ) : <EOL> continue <EOL> old_bokeh_files . append ( bokeh_path ) <EOL> if len ( old_bokeh_files ) == <NUM_LIT:0> : <EOL> return <EOL> print ( "<STR_LIT>" ) <EOL> for path in old_bokeh_files : <EOL> print ( "<STR_LIT>" % path ) <EOL> val = input ( "<STR_LIT>" % ( "<STR_LIT>" if len ( old_bokeh_files ) == <NUM_LIT:1> else "<STR_LIT>" , ) ) <EOL> if val == "<STR_LIT:y>" : <EOL> print ( "<STR_LIT>" , end = "<STR_LIT:U+0020>" ) <EOL> for path in old_bokeh_files : <EOL> try : <EOL> if isdir ( path ) : shutil . rmtree ( path ) <EOL> else : os . remove ( path ) <EOL> except ( IOError , OSError ) as e : <EOL> print ( bright ( red ( "<STR_LIT>" % path ) ) + "<STR_LIT>" % e ) <EOL> sys . exit ( - <NUM_LIT:1> ) <EOL> print ( "<STR_LIT>" ) <EOL> else : <EOL> print ( bright ( red ( "<STR_LIT>" ) ) ) <EOL> sys . exit ( <NUM_LIT:1> ) <EOL> def remove_bokeh_pth ( path_file ) : <EOL> if exists ( path_file ) : <EOL> try : <EOL> os . remove ( path_file ) <EOL> except ( IOError , OSError ) : <EOL> print ( bright ( red ( "<STR_LIT>" % path_file ) ) ) <EOL> sys . exit ( - <NUM_LIT:1> ) <EOL> return True <EOL> return False <EOL> BUILD_EXEC_FAIL_MSG = bright ( red ( "<STR_LIT>" ) ) + """<STR_LIT>""" <EOL> BUILD_FAIL_MSG = bright ( red ( "<STR_LIT>" ) ) + """<STR_LIT>""" <EOL> BUILD_SIZE_FAIL_MSG = """<STR_LIT>""" <EOL> BUILD_SUCCESS_MSG = bright ( green ( "<STR_LIT>" ) ) + """<STR_LIT>""" <EOL> def build_js ( ) : <EOL> print ( "<STR_LIT>" , end = "<STR_LIT>" ) <EOL> sys . stdout . flush ( ) <EOL> os . chdir ( '<STR_LIT>' ) <EOL> if sys . platform != "<STR_LIT:win32>" : <EOL> cmd = [ join ( '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' ) , '<STR_LIT>' ] <EOL> else : <EOL> cmd = [ join ( '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' ) , '<STR_LIT>' ] <EOL> t0 = time . time ( ) <EOL> try : <EOL> proc = subprocess . Popen ( cmd , stdout = subprocess . PIPE , stderr = subprocess . PIPE ) <EOL> except OSError as e : <EOL> print ( BUILD_EXEC_FAIL_MSG % ( cmd , e ) ) <EOL> sys . exit ( <NUM_LIT:1> ) <EOL> finally : <EOL> os . chdir ( '<STR_LIT:..>' ) <EOL> result = proc . wait ( ) <EOL> t1 = time . time ( ) <EOL> if result != <NUM_LIT:0> : <EOL> indented_msg = "<STR_LIT>" <EOL> outmsg = proc . stdout . read ( ) . decode ( '<STR_LIT:ascii>' , errors = '<STR_LIT:ignore>' ) <EOL> outmsg = "<STR_LIT:\n>" . join ( [ "<STR_LIT:U+0020>" + x for x in outmsg . split ( "<STR_LIT:\n>" ) ] ) <EOL> errmsg = proc . stderr . read ( ) . decode ( '<STR_LIT:ascii>' , errors = '<STR_LIT:ignore>' ) <EOL> errmsg = "<STR_LIT:\n>" . join ( [ "<STR_LIT:U+0020>" + x for x in errmsg . split ( "<STR_LIT:\n>" ) ] ) <EOL> print ( BUILD_FAIL_MSG % ( red ( outmsg ) , red ( errmsg ) ) ) <EOL> sys . exit ( <NUM_LIT:1> ) <EOL> indented_msg = "<STR_LIT>" <EOL> msg = proc . stdout . read ( ) . decode ( '<STR_LIT:ascii>' , errors = '<STR_LIT:ignore>' ) <EOL> pat = re . compile ( r"<STR_LIT>" , re . DOTALL ) <EOL> for line in msg . strip ( ) . split ( "<STR_LIT:\n>" ) : <EOL> m = pat . match ( line ) <EOL> if not m : continue <EOL> stamp , txt = m . groups ( ) <EOL> indented_msg += "<STR_LIT:U+0020>" + dim ( green ( stamp ) ) + "<STR_LIT:U+0020>" + dim ( txt ) + "<STR_LIT:\n>" <EOL> msg = "<STR_LIT:\n>" . join ( [ "<STR_LIT:U+0020>" + x for x in msg . split ( "<STR_LIT:\n>" ) ] ) <EOL> print ( BUILD_SUCCESS_MSG % indented_msg ) <EOL> print ( "<STR_LIT>" % bright ( yellow ( "<STR_LIT>" % ( t1 - t0 ) ) ) ) <EOL> print ( ) <EOL> print ( "<STR_LIT>" ) <EOL> try : <EOL> def size ( * path ) : <EOL> return os . stat ( join ( "<STR_LIT>" , "<STR_LIT>" , * path ) ) . st_size / <NUM_LIT:2> ** <NUM_LIT:10> <EOL> print ( "<STR_LIT>" % size ( "<STR_LIT>" , "<STR_LIT>" ) ) <EOL> print ( "<STR_LIT>" % size ( "<STR_LIT>" , "<STR_LIT>" ) ) <EOL> print ( "<STR_LIT>" % size ( "<STR_LIT>" , "<STR_LIT>" ) ) <EOL> print ( "<STR_LIT>" % size ( "<STR_LIT>" , "<STR_LIT>" ) ) <EOL> print ( "<STR_LIT>" % size ( "<STR_LIT>" , "<STR_LIT>" ) ) <EOL> print ( "<STR_LIT>" % size ( "<STR_LIT>" , "<STR_LIT>" ) ) <EOL> print ( "<STR_LIT>" % size ( "<STR_LIT>" , "<STR_LIT>" ) ) <EOL> print ( "<STR_LIT>" % size ( "<STR_LIT>" , "<STR_LIT>" ) ) <EOL> print ( "<STR_LIT>" % size ( "<STR_LIT>" , "<STR_LIT>" ) ) <EOL> print ( "<STR_LIT>" % size ( "<STR_LIT>" , "<STR_LIT>" ) ) <EOL> except Exception as e : <EOL> print ( BUILD_SIZE_FAIL_MSG % e ) <EOL> def install_js ( ) : <EOL> target_jsdir = join ( SERVER , '<STR_LIT>' , '<STR_LIT>' ) <EOL> target_cssdir = join ( SERVER , '<STR_LIT>' , '<STR_LIT>' ) <EOL> STATIC_ASSETS = [ <EOL> join ( JS , '<STR_LIT>' ) , <EOL> join ( JS , '<STR_LIT>' ) , <EOL> join ( CSS , '<STR_LIT>' ) , <EOL> join ( CSS , '<STR_LIT>' ) , <EOL> ] <EOL> if not all ( [ exists ( a ) for a in STATIC_ASSETS ] ) : <EOL> print ( """<STR_LIT>""" ) <EOL> sys . exit ( <NUM_LIT:1> ) <EOL> if exists ( target_jsdir ) : <EOL> shutil . rmtree ( target_jsdir ) <EOL> shutil . copytree ( JS , target_jsdir ) <EOL> if exists ( target_cssdir ) : <EOL> shutil . rmtree ( target_cssdir ) <EOL> shutil . copytree ( CSS , target_cssdir ) <EOL> def clean ( ) : <EOL> print ( "<STR_LIT>" , end = "<STR_LIT:U+0020>" ) <EOL> build_dir = '<STR_LIT>' <EOL> if os . path . exists ( build_dir ) : <EOL> dir_util . remove_tree ( build_dir ) <EOL> for root , dirs , files in os . walk ( '<STR_LIT:.>' ) : <EOL> for item in files : <EOL> if item . endswith ( '<STR_LIT>' ) : <EOL> os . remove ( os . path . join ( root , item ) ) <EOL> print ( "<STR_LIT>" ) <EOL> def get_user_jsargs ( ) : <EOL> print ( """<STR_LIT>""" ) <EOL> mapping = { "<STR_LIT:1>" : True , "<STR_LIT:2>" : False } <EOL> value = input ( "<STR_LIT>" ) <EOL> while value not in mapping : <EOL> print ( "<STR_LIT>" % value ) <EOL> value = input ( "<STR_LIT>" ) <EOL> return mapping [ value ] <EOL> def parse_jsargs ( ) : <EOL> options = ( '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' ) <EOL> installing = any ( arg in sys . argv for arg in options ) <EOL> if '<STR_LIT>' in sys . argv : <EOL> if not installing : <EOL> print ( "<STR_LIT>" ) <EOL> sys . exit ( <NUM_LIT:1> ) <EOL> jsbuild = True <EOL> sys . argv . remove ( '<STR_LIT>' ) <EOL> elif '<STR_LIT>' in sys . argv : <EOL> jsbuild = False <EOL> sys . argv . remove ( '<STR_LIT>' ) <EOL> else : <EOL> if installing : <EOL> jsbuild = get_user_jsargs ( ) <EOL> else : <EOL> jsbuild = False <EOL> return jsbuild <EOL> def package_tree ( pkgroot ) : <EOL> """<STR_LIT>""" <EOL> subdirs = [ os . path . relpath ( i [ <NUM_LIT:0> ] , ROOT ) . replace ( os . path . sep , '<STR_LIT:.>' ) <EOL> for i in os . walk ( os . path . join ( ROOT , pkgroot ) ) <EOL> if '<STR_LIT>' in i [ <NUM_LIT:2> ] ] <EOL> return subdirs <EOL> for i in range ( len ( sys . argv ) ) : <EOL> if sys . argv [ i ] == '<STR_LIT>' : <EOL> sys . argv [ i ] = '<STR_LIT>' <EOL> if sys . argv [ i ] == '<STR_LIT>' : <EOL> sys . argv [ i ] = '<STR_LIT>' <EOL> if sys . version_info [ : <NUM_LIT:2> ] < ( <NUM_LIT:2> , <NUM_LIT:6> ) : <EOL> raise RuntimeError ( "<STR_LIT>" ) <EOL> if len ( sys . argv ) == <NUM_LIT:2> and sys . argv [ - <NUM_LIT:1> ] == '<STR_LIT>' : <EOL> install_js ( ) <EOL> sys . exit ( <NUM_LIT:0> ) <EOL> if "<STR_LIT>" in sys . argv : <EOL> if "<STR_LIT>" in sys . argv : <EOL> print ( "<STR_LIT>" ) <EOL> sys . argv . remove ( '<STR_LIT>' ) <EOL> if "<STR_LIT>" not in sys . argv : <EOL> print ( "<STR_LIT>" ) <EOL> sys . argv . append ( '<STR_LIT>' ) <EOL> jsinstall = True <EOL> if not exists ( join ( ROOT , '<STR_LIT>' ) ) : <EOL> if "<STR_LIT>" in sys . argv or "<STR_LIT>" in sys . argv : <EOL> print ( "<STR_LIT>" <EOL> "<STR_LIT>" <EOL> "<STR_LIT>" <EOL> "<STR_LIT>" ) <EOL> if "<STR_LIT>" in sys . argv : <EOL> sys . argv . remove ( '<STR_LIT>' ) <EOL> if "<STR_LIT>" in sys . argv : <EOL> sys . argv . remove ( '<STR_LIT>' ) <EOL> jsbuild = False <EOL> jsinstall = False <EOL> else : <EOL> jsbuild = parse_jsargs ( ) <EOL> if jsbuild : <EOL> build_js ( ) <EOL> if jsinstall : <EOL> install_js ( ) <EOL> sampledata_suffixes = ( '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' ) <EOL> package_path ( join ( SERVER , '<STR_LIT>' ) ) <EOL> package_path ( join ( ROOT , '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' ) ) <EOL> package_path ( join ( ROOT , '<STR_LIT>' , '<STR_LIT>' ) , sampledata_suffixes ) <EOL> if '<STR_LIT>' in sys . argv : <EOL> site_packages = site . USER_SITE <EOL> else : <EOL> site_packages = getsitepackages ( ) [ <NUM_LIT:0> ] <EOL> path_file = join ( site_packages , "<STR_LIT>" ) <EOL> path = abspath ( dirname ( __file__ ) ) <EOL> print ( ) <EOL> if '<STR_LIT>' in sys . argv : <EOL> if exists ( '<STR_LIT>' ) : <EOL> print ( bright ( red ( "<STR_LIT>" ) ) + "<STR_LIT>" ) <EOL> sys . exit ( <NUM_LIT:1> ) <EOL> check_remove_bokeh_install ( site_packages ) <EOL> with open ( path_file , "<STR_LIT>" ) as f : <EOL> f . write ( path ) <EOL> print ( "<STR_LIT>" ) <EOL> print ( "<STR_LIT>" % ( path , path_file ) ) <EOL> if jsinstall : <EOL> print ( "<STR_LIT>" % ( bright ( yellow ( "<STR_LIT>" ) ) if jsbuild else bright ( yellow ( "<STR_LIT>" ) ) ) ) <EOL> else : <EOL> print ( "<STR_LIT>" % yellow ( "<STR_LIT>" ) ) <EOL> sys . exit ( ) <EOL> elif '<STR_LIT>' in sys . argv : <EOL> clean ( ) <EOL> elif '<STR_LIT>' in sys . argv : <EOL> pth_removed = remove_bokeh_pth ( path_file ) <EOL> print ( "<STR_LIT>" ) <EOL> if pth_removed : <EOL> print ( "<STR_LIT>" % path_file ) <EOL> if jsinstall : <EOL> print ( "<STR_LIT>" % ( bright ( yellow ( "<STR_LIT>" ) ) if jsbuild else bright ( yellow ( "<STR_LIT>" ) ) ) ) <EOL> else : <EOL> print ( "<STR_LIT>" % bright ( yellow ( "<STR_LIT>" ) ) ) <EOL> elif '<STR_LIT>' in sys . argv : <EOL> if jsinstall : <EOL> print ( "<STR_LIT>" ) <EOL> print ( ) <EOL> print ( "<STR_LIT>" ) <EOL> print ( "<STR_LIT>" ) <EOL> else : <EOL> print ( "<STR_LIT>" ) <EOL> print ( ) <EOL> print ( ) <EOL> REQUIRES = [ <EOL> '<STR_LIT>' , <EOL> '<STR_LIT>' , <EOL> '<STR_LIT>' , <EOL> '<STR_LIT>' , <EOL> '<STR_LIT>' , <EOL> '<STR_LIT>' , <EOL> '<STR_LIT>' , <EOL> ] <EOL> if sys . version_info [ : <NUM_LIT:2> ] == ( <NUM_LIT:2> , <NUM_LIT:7> ) : <EOL> REQUIRES . append ( '<STR_LIT>' ) <EOL> _version = versioneer . get_version ( ) <EOL> _cmdclass = versioneer . get_cmdclass ( ) <EOL> try : <EOL> from wheel . bdist_wheel import bdist_wheel <EOL> except ImportError as e : <EOL> bdist_wheel = None <EOL> if bdist_wheel is not None : <EOL> _cmdclass [ "<STR_LIT>" ] = bdist_wheel <EOL> setup ( <EOL> name = '<STR_LIT>' , <EOL> version = _version , <EOL> cmdclass = _cmdclass , <EOL> packages = package_tree ( '<STR_LIT>' ) , <EOL> package_data = { '<STR_LIT>' : package_data } , <EOL> author = '<STR_LIT>' , <EOL> author_email = '<STR_LIT>' , <EOL> url = '<STR_LIT>' , <EOL> description = '<STR_LIT>' , <EOL> license = '<STR_LIT>' , <EOL> scripts = [ '<STR_LIT>' , '<STR_LIT>' ] , <EOL> entry_points = { '<STR_LIT>' : [ '<STR_LIT>' , ] , } , <EOL> zip_safe = False , <EOL> install_requires = REQUIRES <EOL> ) </s>
