<s> import os <EOL> import fnmatch <EOL> from setuptools import setup , find_packages <EOL> from pip . req import parse_requirements <EOL> from adlibre_tms import __version__ as VERSION <EOL> install_reqs = parse_requirements ( '<STR_LIT>' ) <EOL> requirements = [ str ( ir . req ) for ir in install_reqs ] <EOL> def find_files ( directory , pattern ) : <EOL> for root , dirs , files in os . walk ( directory ) : <EOL> for base_name in files : <EOL> if fnmatch . fnmatch ( base_name , pattern ) : <EOL> filename = os . path . join ( root , base_name ) <EOL> if os . path . isfile ( filename ) : <EOL> yield filename <EOL> def find_files_full ( dir , pattern = '<STR_LIT:*>' ) : <EOL> """<STR_LIT>""" <EOL> all_files = [ ] <EOL> for root , dirs , files in os . walk ( dir ) : <EOL> if len ( files ) > <NUM_LIT:0> : <EOL> for file in fnmatch . filter ( files , pattern ) : <EOL> file_path = os . path . join ( root , file ) <EOL> all_files . extend ( ( file_path , ) ) <EOL> return all_files <EOL> def findall ( dir , pattern = '<STR_LIT:*>' ) : <EOL> """<STR_LIT>""" <EOL> all_files = [ ] <EOL> for root , dirs , files in os . walk ( dir ) : <EOL> if len ( files ) > <NUM_LIT:0> : <EOL> file_list = [ ] <EOL> for file in fnmatch . filter ( files , pattern ) : <EOL> file_path = os . path . join ( root , file ) <EOL> file_list . extend ( ( file_path , ) ) <EOL> all_files . extend ( ( ( root , file_list , ) , ) ) <EOL> return all_files <EOL> setup ( <EOL> name = '<STR_LIT>' , <EOL> version = VERSION , <EOL> author = '<STR_LIT>' , <EOL> author_email = '<STR_LIT>' , <EOL> license = '<STR_LIT>' , <EOL> description = '<STR_LIT>' , <EOL> long_description = open ( '<STR_LIT>' ) . read ( ) , <EOL> classifiers = [ <EOL> '<STR_LIT>' , <EOL> '<STR_LIT>' , <EOL> '<STR_LIT>' , <EOL> '<STR_LIT>' , <EOL> '<STR_LIT>' , <EOL> ] , <EOL> url = '<STR_LIT>' , <EOL> packages = find_packages ( '<STR_LIT:.>' ) , <EOL> scripts = [ ] , <EOL> package_data = { <EOL> '<STR_LIT>' : [ <EOL> '<STR_LIT>' , <EOL> '<STR_LIT>' , <EOL> '<STR_LIT>' , <EOL> '<STR_LIT>' , <EOL> '<STR_LIT>' , <EOL> '<STR_LIT>' , <EOL> '<STR_LIT>' , <EOL> '<STR_LIT>' , <EOL> '<STR_LIT>' , <EOL> '<STR_LIT>' , <EOL> '<STR_LIT>' , <EOL> '<STR_LIT>' , <EOL> '<STR_LIT>' , <EOL> '<STR_LIT>' , <EOL> '<STR_LIT>' , <EOL> '<STR_LIT>' , <EOL> '<STR_LIT>' , <EOL> '<STR_LIT>' , <EOL> '<STR_LIT>' , <EOL> '<STR_LIT>' , <EOL> '<STR_LIT>' , <EOL> '<STR_LIT>' , <EOL> '<STR_LIT>' , <EOL> '<STR_LIT>' , <EOL> '<STR_LIT>' , <EOL> '<STR_LIT>' , <EOL> '<STR_LIT>' , <EOL> '<STR_LIT>' , <EOL> '<STR_LIT>' , <EOL> '<STR_LIT>' , <EOL> '<STR_LIT>' , <EOL> ] , <EOL> } , <EOL> data_files = [ <EOL> ( '<STR_LIT>' , [ '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' ] ) , <EOL> ( '<STR_LIT>' , [ '<STR_LIT>' , '<STR_LIT>' ] ) , <EOL> ( '<STR_LIT>' , [ '<STR_LIT>' ] ) , <EOL> ( '<STR_LIT>' , find_files ( '<STR_LIT>' , '<STR_LIT:*>' ) ) , <EOL> ( '<STR_LIT>' , [ '<STR_LIT>' ] ) , <EOL> ] , <EOL> install_requires = requirements , <EOL> ) </s>
