Commit ac4e9de4 authored by Dan Pascu's avatar Dan Pascu

Fixed copying resources to destination directory

parent aae8cbf9
......@@ -21,8 +21,8 @@ def find_packages(root):
return [directory.replace(os.path.sep, '.') for directory, sub_dirs, files in os.walk(root) if '__init__.py' in files]
def list_resources(directory, destination_directory):
return [(directory.replace(directory, destination_directory), [os.path.join(directory, file) for file in files]) for directory, sub_dirs, files in os.walk(directory)]
def list_resources(source_directory, destination_directory):
return [(directory.replace(source_directory, destination_directory), [os.path.join(directory, file) for file in files]) for directory, sub_dirs, files in os.walk(source_directory)]
package_info = PackageInfo(os.path.join('blink', '__info__.py'))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment