pybuilder-docker-too 43__tar.gz → 45__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pybuilder-docker-too
3
- Version: 43
3
+ Version: 45
4
4
  Summary: A pybuilder plugin that stages a python package into a docker container and optionally publishes it to a registry.
5
5
  Home-page: https://github.com/rspitler/pybuilder-docker
6
6
  Author:
@@ -406,7 +406,7 @@ def write_docker_build_file(project, build_image, dist_dir, gather_dependencies_
406
406
  setup_script = os.path.join(dist_dir, "Dockerfile")
407
407
  with open(setup_script, "w") as setup_file:
408
408
  setup_file.write(render_docker_buildfile(project, build_image, gather_dependencies_locally))
409
- os.chmod(setup_script, 0o755)
409
+ os.chmod(setup_script, 0o644)
410
410
 
411
411
 
412
412
  def render_docker_buildfile(project, build_image, gather_dependencies_locally):
@@ -442,7 +442,7 @@ def _get_docker_compose_file(project):
442
442
 
443
443
 
444
444
  def get_dist_file_name(project):
445
- default_dist_file = "{name}-{version}.tar.gz".format(name=project.name, version=project.version)
445
+ default_dist_file = f"{project.name}-{project.version}.tar.gz".replace('-', '_')
446
446
  return project.get_property("docker_package_dist_file", default_dist_file)
447
447
 
448
448
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pybuilder-docker-too
3
- Version: 43
3
+ Version: 45
4
4
  Summary: A pybuilder plugin that stages a python package into a docker container and optionally publishes it to a registry.
5
5
  Home-page: https://github.com/rspitler/pybuilder-docker
6
6
  Author:
@@ -21,7 +21,7 @@ class install(_install):
21
21
  if __name__ == '__main__':
22
22
  setup(
23
23
  name = 'pybuilder-docker-too',
24
- version = '43',
24
+ version = '45',
25
25
  description = 'A pybuilder plugin that stages a python package into a docker container and optionally publishes it to a registry.',
26
26
  long_description = 'A pybuilder plugin that stages a python package into a docker container and optionally publishes it to a registry.',
27
27
  long_description_content_type = None,