<s> from __future__ import unicode_literals <EOL> import setuptools <EOL> import caniusepython3 as ciu <EOL> import caniusepython3 . __main__ as ciu_main <EOL> from caniusepython3 import pypi <EOL> class Command ( setuptools . Command ) : <EOL> description = """<STR_LIT>""" <EOL> user_options = [ ] <EOL> def _dependencies ( self ) : <EOL> projects = [ ] <EOL> for attr in ( '<STR_LIT>' , '<STR_LIT>' ) : <EOL> requirements = getattr ( self . distribution , attr , None ) or [ ] <EOL> for project in requirements : <EOL> if not project : <EOL> continue <EOL> projects . append ( pypi . just_name ( project ) ) <EOL> extras = getattr ( self . distribution , '<STR_LIT>' , None ) or { } <EOL> for value in extras . values ( ) : <EOL> projects . extend ( map ( pypi . just_name , value ) ) <EOL> return projects <EOL> def initialize_options ( self ) : <EOL> pass <EOL> def run ( self ) : <EOL> ciu_main . check ( self . _dependencies ( ) ) <EOL> def finalize_options ( self ) : <EOL> pass </s>
