capybara/virtualenv/lib/python2.7/site-packages/setuptools/command/build_py.py
def _get_data_files(self):
        """Generate list of '(package,src_dir,build_dir,filenames)' tuples"""
        self.analyze_manifest()
        data = []
        for package in self.packages or ():
            # Locate package source directory
            src_dir = self.get_package_dir(package)

            # Compute package build directory
            build_dir = os.path.join(*([self.build_lib] + package.split('.')))

            # Length of path to strip from found files
            plen = len(src_dir) + 1

            # Strip directory from globbed filenames
            filenames = [
                file[plen:] for file in self.find_data_files(package, src_dir)
            ]
            data.append((package, src_dir, build_dir, filenames))
        return data
def _get_data_files(self):
        """Generate list of '(package,src_dir,build_dir,filenames)' tuples"""
        self.analyze_manifest()
        data = []
        for package in self.packages or ():
            # Locate package source directory
            src_dir = self.get_package_dir(package)

            # Compute package build directory
            build_dir = os.path.join(*([self.build_lib] + package.split('.')))

            # Length of path to strip from found files
            plen = len(src_dir) + 1

            # Strip directory from globbed filenames
            filenames = [
                file[plen:] for file in self.find_data_files(package, src_dir)
            ]
            data.append((package, src_dir, build_dir, filenames))
        return data
def _get_data_files ( self ) : self . analyze_manifest ( ) data = [ ] for package in self . packages or ( ) : # Locate package source directory src_dir = self . get_package_dir ( package ) # Compute package build directory build_dir = os . path . join ( * ( [ self . build_lib ] + package . split ( '.' ) ) ) # Length of path to strip from found files plen = len ( src_dir ) + 1 # Strip directory from globbed filenames filenames = [ file [ plen : ] for file in self . find_data_files ( package , src_dir ) ] data . append ( ( package , src_dir , build_dir , filenames ) ) return data
Generate list of '(package,src_dir,build_dir,filenames)' tuples
Generate list of ( package src_dir build_dir filenames ) tuples