<s> from distutils . core import setup <EOL> import os <EOL> from currencies import __version__ <EOL> packages , data_files = [ ] , [ ] <EOL> root_dir = os . path . dirname ( __file__ ) <EOL> if root_dir : <EOL> os . chdir ( root_dir ) <EOL> for dirpath , dirnames , filenames in os . walk ( '<STR_LIT>' ) : <EOL> for i , dirname in enumerate ( dirnames ) : <EOL> if dirname . startswith ( '<STR_LIT:.>' ) : del dirnames [ i ] <EOL> if '<STR_LIT>' in filenames : <EOL> pkg = dirpath . replace ( os . path . sep , '<STR_LIT:.>' ) <EOL> if os . path . altsep : <EOL> pkg = pkg . replace ( os . path . altsep , '<STR_LIT:.>' ) <EOL> packages . append ( pkg ) <EOL> elif filenames : <EOL> prefix = dirpath [ <NUM_LIT:11> : ] <EOL> for f in filenames : <EOL> data_files . append ( os . path . join ( prefix , f ) ) <EOL> data_files . append ( "<STR_LIT>" ) <EOL> setup ( name = '<STR_LIT>' , <EOL> version = __version__ , <EOL> description = '<STR_LIT>' , <EOL> long_description = open ( '<STR_LIT>' ) . read ( ) , <EOL> author = '<STR_LIT>' , <EOL> author_email = '<STR_LIT>' , <EOL> url = '<STR_LIT>' , <EOL> package_dir = { '<STR_LIT>' : '<STR_LIT>' } , <EOL> packages = packages , <EOL> package_data = { '<STR_LIT>' : data_files } , <EOL> classifiers = [ '<STR_LIT>' , <EOL> '<STR_LIT>' , <EOL> '<STR_LIT>' , <EOL> '<STR_LIT>' , <EOL> '<STR_LIT>' , <EOL> '<STR_LIT>' , <EOL> '<STR_LIT>' , <EOL> '<STR_LIT>' ] , <EOL> ) </s>
