ppapp 1.0.0__tar.gz → 1.0.1__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.
Files changed (27) hide show
  1. {ppapp-1.0.0/ppapp.egg-info → ppapp-1.0.1}/PKG-INFO +1 -1
  2. {ppapp-1.0.0 → ppapp-1.0.1}/ppapp/ppapp.py +15 -0
  3. {ppapp-1.0.0 → ppapp-1.0.1/ppapp.egg-info}/PKG-INFO +1 -1
  4. {ppapp-1.0.0 → ppapp-1.0.1}/pyproject.toml +1 -1
  5. {ppapp-1.0.0 → ppapp-1.0.1}/LICENSE +0 -0
  6. {ppapp-1.0.0 → ppapp-1.0.1}/MANIFEST.in +0 -0
  7. {ppapp-1.0.0 → ppapp-1.0.1}/README.md +0 -0
  8. {ppapp-1.0.0 → ppapp-1.0.1}/ppapp/__init__.py +0 -0
  9. {ppapp-1.0.0 → ppapp-1.0.1}/ppapp/__main__.py +0 -0
  10. {ppapp-1.0.0 → ppapp-1.0.1}/ppapp/cheb_coeffs.py +0 -0
  11. {ppapp-1.0.0 → ppapp-1.0.1}/ppapp/demo_functions/__init__.py +0 -0
  12. {ppapp-1.0.0 → ppapp-1.0.1}/ppapp/demo_functions/erfcx.py +0 -0
  13. {ppapp-1.0.0 → ppapp-1.0.1}/ppapp/demo_functions/imwofx.py +0 -0
  14. {ppapp-1.0.0 → ppapp-1.0.1}/ppapp/demo_functions/polynomial.py +0 -0
  15. {ppapp-1.0.0 → ppapp-1.0.1}/ppapp/demo_functions/voigt_hwhm.py +0 -0
  16. {ppapp-1.0.0 → ppapp-1.0.1}/ppapp/docs/userManual.pdf +0 -0
  17. {ppapp-1.0.0 → ppapp-1.0.1}/ppapp/target_algorithm.py +0 -0
  18. {ppapp-1.0.0 → ppapp-1.0.1}/ppapp.egg-info/SOURCES.txt +0 -0
  19. {ppapp-1.0.0 → ppapp-1.0.1}/ppapp.egg-info/dependency_links.txt +0 -0
  20. {ppapp-1.0.0 → ppapp-1.0.1}/ppapp.egg-info/entry_points.txt +0 -0
  21. {ppapp-1.0.0 → ppapp-1.0.1}/ppapp.egg-info/requires.txt +0 -0
  22. {ppapp-1.0.0 → ppapp-1.0.1}/ppapp.egg-info/top_level.txt +0 -0
  23. {ppapp-1.0.0 → ppapp-1.0.1}/setup.cfg +0 -0
  24. {ppapp-1.0.0 → ppapp-1.0.1}/tests/__init__.py +0 -0
  25. {ppapp-1.0.0 → ppapp-1.0.1}/tests/test_app.py +0 -0
  26. {ppapp-1.0.0 → ppapp-1.0.1}/userManual/userManual.pdf +0 -0
  27. {ppapp-1.0.0 → ppapp-1.0.1}/userManual/userManual.tex +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ppapp
3
- Version: 1.0.0
3
+ Version: 1.0.1
4
4
  Summary: Piecewise polynomial approximation: code generator for Chebyshev approximation
5
5
  Author-email: Joachim Wuttke <j.wuttke@fz-juelich.de>, Alexander Kleinsorge <alkl9873@th-wildau.de>
6
6
  License: GPL-3.0-or-later
@@ -489,6 +489,21 @@ def help_and_exit():
489
489
  print("<N> - integer N >= 1 is the polynomial degree")
490
490
  print("<E> - double E > 0 is the maximum relative error, in units of epsilon=2^-53")
491
491
  print("<Nxo> - number of extra (non-Chebyshev) octaves on each side of the Chebyshev range")
492
+
493
+ # Print installation info
494
+ package_dir = os.path.dirname(os.path.abspath(__file__))
495
+ is_installed = "site-packages" in package_dir
496
+
497
+ print("\nInstallation info:")
498
+ print(f"- Invoked via: {sys.argv[0]}")
499
+ if is_installed:
500
+ print(f"- Running from: installed package")
501
+ else:
502
+ print(f"- Running from: source")
503
+ print(f"- Package directory: {package_dir}, with subdirectories:")
504
+ print(f" - docs/ user manual (PDF)")
505
+ print(f" - demo_functions/ example high-precision function definitions")
506
+
492
507
  exit(1)
493
508
 
494
509
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ppapp
3
- Version: 1.0.0
3
+ Version: 1.0.1
4
4
  Summary: Piecewise polynomial approximation: code generator for Chebyshev approximation
5
5
  Author-email: Joachim Wuttke <j.wuttke@fz-juelich.de>, Alexander Kleinsorge <alkl9873@th-wildau.de>
6
6
  License: GPL-3.0-or-later
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "ppapp"
7
- version = "1.0.0"
7
+ version = "1.0.1"
8
8
  description = "Piecewise polynomial approximation: code generator for Chebyshev approximation"
9
9
  readme = "README.md"
10
10
  license = {text = "GPL-3.0-or-later"}
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes