<s> import os <EOL> import sys <EOL> from setuptools import setup , find_packages <EOL> try : <EOL> from setuptools . command import egg_info <EOL> egg_info . write_toplevel_names <EOL> except ( ImportError , AttributeError ) : <EOL> pass <EOL> else : <EOL> def _top_level_package ( name ) : <EOL> return name . split ( '<STR_LIT:.>' , <NUM_LIT:1> ) [ <NUM_LIT:0> ] <EOL> def _hacked_write_toplevel_names ( cmd , basename , filename ) : <EOL> pkgs = dict . fromkeys ( <EOL> [ _top_level_package ( k ) <EOL> for k in cmd . distribution . iter_distribution_names ( ) <EOL> if _top_level_package ( k ) != '<STR_LIT>' <EOL> ] <EOL> ) <EOL> cmd . write_file ( "<STR_LIT>" , filename , '<STR_LIT:\n>' . join ( pkgs ) + '<STR_LIT:\n>' ) <EOL> egg_info . write_toplevel_names = _hacked_write_toplevel_names <EOL> here = os . path . abspath ( os . path . dirname ( __file__ ) ) <EOL> sys . path . insert ( <NUM_LIT:0> , here ) <EOL> import piped_manhole <EOL> setup ( <EOL> name = '<STR_LIT>' , <EOL> license = '<STR_LIT>' , <EOL> author = '<STR_LIT>' , <EOL> author_email = '<STR_LIT>' , <EOL> url = '<STR_LIT>' , <EOL> packages = find_packages ( where = here ) + [ '<STR_LIT>' ] , <EOL> version = str ( piped_manhole . version ) , <EOL> classifiers = [ <EOL> '<STR_LIT>' , <EOL> '<STR_LIT>' , <EOL> '<STR_LIT>' , <EOL> '<STR_LIT>' , <EOL> ] , <EOL> description = '<STR_LIT>' , <EOL> install_requires = [ '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' ] <EOL> ) </s>
