<s> from __future__ import ( <EOL> absolute_import , <EOL> division , <EOL> generators , <EOL> nested_scopes , <EOL> print_function , <EOL> unicode_literals , <EOL> with_statement , <EOL> ) <EOL> import os . path as opa <EOL> def get_source ( fspath ) : <EOL> with open ( fspath ) as fd : <EOL> return fd . read ( ) <EOL> def get_code ( fspath ) : <EOL> return compile ( <EOL> get_source ( fspath ) , <EOL> fspath , <EOL> '<STR_LIT>' , <EOL> dont_inherit = True <EOL> ) <EOL> def is_package ( fspath ) : <EOL> return ( <EOL> opa . basename ( fspath ) == '<STR_LIT>' and <EOL> opa . exists ( fspath ) <EOL> ) </s>
