pyuff 2.5.6__tar.gz → 2.5.8__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
- Metadata-Version: 2.4
1
+ Metadata-Version: 2.5
2
2
  Name: pyuff
3
- Version: 2.5.6
3
+ Version: 2.5.8
4
4
  Summary: UFF (Universal File Format) read/write.
5
5
  Project-URL: homepage, https://github.com/ladisk/pyuff
6
6
  Project-URL: documentation, https://pyuff.readthedocs.io/en/latest/
@@ -13,7 +13,11 @@ Keywords: UFF,UNV,Universal File Format,read/write
13
13
  Classifier: Development Status :: 5 - Production/Stable
14
14
  Classifier: Intended Audience :: Developers
15
15
  Classifier: License :: OSI Approved :: MIT License
16
- Classifier: Programming Language :: Python :: 3.10
16
+ Classifier: Programming Language :: Python :: 3
17
+ Classifier: Programming Language :: Python :: 3.11
18
+ Classifier: Programming Language :: Python :: 3.12
19
+ Classifier: Programming Language :: Python :: 3.13
20
+ Classifier: Programming Language :: Python :: 3.14
17
21
  Classifier: Topic :: Scientific/Engineering
18
22
  Requires-Python: >=3.11
19
23
  Requires-Dist: numpy
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "pyuff"
7
- version = "2.5.6"
7
+ version = "2.5.8"
8
8
  authors = [{name = "Primož Čermelj, Janko Slavič", email = "janko.slavic@fs.uni-lj.si"}]
9
9
  maintainers = [{name = "Janko Slavič et al.", email = "janko.slavic@fs.uni-lj.si"}]
10
10
  license = "MIT"
@@ -19,7 +19,11 @@ classifiers = [
19
19
  'Development Status :: 5 - Production/Stable',
20
20
  'Intended Audience :: Developers',
21
21
  'Topic :: Scientific/Engineering',
22
- 'Programming Language :: Python :: 3.10',
22
+ 'Programming Language :: Python :: 3',
23
+ 'Programming Language :: Python :: 3.11',
24
+ 'Programming Language :: Python :: 3.12',
25
+ 'Programming Language :: Python :: 3.13',
26
+ 'Programming Language :: Python :: 3.14',
23
27
  "License :: OSI Approved :: MIT License",
24
28
  ]
25
29
 
@@ -0,0 +1,9 @@
1
+ from importlib.metadata import PackageNotFoundError, version as _version
2
+
3
+ try:
4
+ __version__ = _version("pyuff") # set in pyproject.toml
5
+ except PackageNotFoundError: # imported from a source tree without installing
6
+ __version__ = "unknown"
7
+
8
+ from .pyuff import *
9
+ from .datasets import *
@@ -43,7 +43,6 @@ Notes:
43
43
  import os
44
44
  import numpy as np
45
45
  import warnings
46
- warnings.simplefilter("default")
47
46
 
48
47
 
49
48
  from .datasets.dataset_15 import _write15, _extract15, get_structure_15
@@ -103,7 +102,8 @@ class UFF:
103
102
 
104
103
  elif fileName != None:
105
104
  self._filename = fileName
106
- warnings.warn('Argument ``fileName`` will be deprecated in the future. Please use ``filename``')
105
+ warnings.warn('Argument ``fileName`` will be deprecated in the future. Please use ``filename``',
106
+ FutureWarning, stacklevel=2)
107
107
 
108
108
 
109
109
 
@@ -1,4 +0,0 @@
1
- __version__ = "2.5.6"
2
- from .pyuff import *
3
- from .datasets import *
4
-
File without changes
File without changes
File without changes
File without changes
File without changes