pyconvertu 1.0.6__tar.gz → 1.1.0__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.
@@ -0,0 +1 @@
1
+ MIT License
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pyconvertu
3
- Version: 1.0.6
3
+ Version: 1.1.0
4
4
  Summary: From/to Classification Converter
5
5
  Author-email: The Economist <29724411+econcz@users.noreply.github.com>
6
6
  License-Expression: MIT
@@ -15,6 +15,8 @@ Classifier: Operating System :: OS Independent
15
15
  Classifier: Topic :: Scientific/Engineering :: Information Analysis
16
16
  Requires-Python: >=3.10
17
17
  Description-Content-Type: text/markdown
18
+ License-File: LICENSE
19
+ Dynamic: license-file
18
20
 
19
21
  # CONVERTU - From/to Classification Converter
20
22
 
@@ -0,0 +1,8 @@
1
+ __version__ = "1.1.0"
2
+
3
+ from .convertu import cconv
4
+
5
+ __all__ = [
6
+ "cconv",
7
+ "__version__"
8
+ ]
@@ -128,6 +128,8 @@ def cconv(
128
128
  else: # read from the file
129
129
  if json_file is None:
130
130
  json_file = _default_json_path()
131
+ else:
132
+ json_file = path.expanduser(json_file)
131
133
  if not path.isfile(json_file):
132
134
  raise ConvertUError(f"Classification file not found: {json_file}")
133
135
  try:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pyconvertu
3
- Version: 1.0.6
3
+ Version: 1.1.0
4
4
  Summary: From/to Classification Converter
5
5
  Author-email: The Economist <29724411+econcz@users.noreply.github.com>
6
6
  License-Expression: MIT
@@ -15,6 +15,8 @@ Classifier: Operating System :: OS Independent
15
15
  Classifier: Topic :: Scientific/Engineering :: Information Analysis
16
16
  Requires-Python: >=3.10
17
17
  Description-Content-Type: text/markdown
18
+ License-File: LICENSE
19
+ Dynamic: license-file
18
20
 
19
21
  # CONVERTU - From/to Classification Converter
20
22
 
@@ -1,3 +1,4 @@
1
+ LICENSE
1
2
  MANIFEST.in
2
3
  README.md
3
4
  pyproject.toml
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "pyconvertu"
3
- version = "1.0.6"
3
+ version = "1.1.0"
4
4
  description = "From/to Classification Converter"
5
5
  readme = "README.md"
6
6
  requires-python = ">=3.10"
@@ -1,8 +0,0 @@
1
- __version__ = "1.0.6"
2
-
3
- from .convertu import cconv
4
-
5
- __all__ = [
6
- "cconv",
7
- "__version__"
8
- ]
File without changes
File without changes
File without changes