projectnetzero 3.2__tar.gz → 3.3__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.4
2
2
  Name: projectnetzero
3
- Version: 3.2
3
+ Version: 3.3
4
4
  Summary: Optimize your Python code for lower CO2 emissions
5
5
  Requires-Python: >=3.10
6
6
  Requires-Dist: click>=8.0
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "projectnetzero"
7
- version = "3.2"
7
+ version = "3.3"
8
8
  description = "Optimize your Python code for lower CO2 emissions"
9
9
  requires-python = ">=3.10"
10
10
  dependencies = [
@@ -1,3 +1,3 @@
1
1
  """Project Net Zero - Optimize your Python code for lower CO2 emissions."""
2
2
 
3
- __version__ = "3.2"
3
+ __version__ = "3.3"
@@ -59,6 +59,12 @@ def run(file: Path, api_url: str) -> None:
59
59
  click.echo(f"Could not reach API: {exc}", err=True)
60
60
  sys.exit(1)
61
61
 
62
+ optimized_file = optimized_dir / entrypoint
63
+ if optimized_file.exists():
64
+ click.echo("\n--- Optimized version ---\n")
65
+ click.echo(optimized_file.read_text())
66
+ click.echo("--- End of optimized version ---\n")
67
+
62
68
  click.echo("Running optimized version ...\n")
63
69
  exit_code = run_optimized(optimized_dir, entrypoint)
64
70
  sys.exit(exit_code)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: projectnetzero
3
- Version: 3.2
3
+ Version: 3.3
4
4
  Summary: Optimize your Python code for lower CO2 emissions
5
5
  Requires-Python: >=3.10
6
6
  Requires-Dist: click>=8.0
File without changes
File without changes
File without changes
File without changes
File without changes