flinventory 0.6.14__tar.gz → 0.7.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.
Files changed (24) hide show
  1. {flinventory-0.6.14 → flinventory-0.7.0}/PKG-INFO +1 -1
  2. {flinventory-0.6.14 → flinventory-0.7.0}/flinventory/constant.py +1 -1
  3. {flinventory-0.6.14 → flinventory-0.7.0}/flinventory/signprinter_latex.py +5 -1
  4. {flinventory-0.6.14 → flinventory-0.7.0}/pyproject.toml +1 -1
  5. {flinventory-0.6.14 → flinventory-0.7.0}/LICENSE +0 -0
  6. {flinventory-0.6.14 → flinventory-0.7.0}/README.md +0 -0
  7. {flinventory-0.6.14 → flinventory-0.7.0}/flinventory/__init__.py +0 -0
  8. {flinventory-0.6.14 → flinventory-0.7.0}/flinventory/__main__.py +0 -0
  9. {flinventory-0.6.14 → flinventory-0.7.0}/flinventory/box.py +0 -0
  10. {flinventory-0.6.14 → flinventory-0.7.0}/flinventory/datacleanup.py +0 -0
  11. {flinventory-0.6.14 → flinventory-0.7.0}/flinventory/defaulted_data.py +0 -0
  12. {flinventory-0.6.14 → flinventory-0.7.0}/flinventory/generate_labels.py +0 -0
  13. {flinventory-0.6.14 → flinventory-0.7.0}/flinventory/inventory_io.py +0 -0
  14. {flinventory-0.6.14 → flinventory-0.7.0}/flinventory/location.py +0 -0
  15. {flinventory-0.6.14 → flinventory-0.7.0}/flinventory/sign.py +0 -0
  16. {flinventory-0.6.14 → flinventory-0.7.0}/flinventory/thing.py +0 -0
  17. {flinventory-0.6.14 → flinventory-0.7.0}/flinventory/thingtemplate_latex/.gitignore +0 -0
  18. {flinventory-0.6.14 → flinventory-0.7.0}/flinventory/thingtemplate_latex/dummyImage.jpg +0 -0
  19. {flinventory-0.6.14 → flinventory-0.7.0}/flinventory/thingtemplate_latex/sign.tex +0 -0
  20. {flinventory-0.6.14 → flinventory-0.7.0}/flinventory/thingtemplate_latex/signlist-footer.tex +0 -0
  21. {flinventory-0.6.14 → flinventory-0.7.0}/flinventory/thingtemplate_latex/signlist-header.tex +0 -0
  22. {flinventory-0.6.14 → flinventory-0.7.0}/flinventory/thingtemplate_latex/signs-example.tex +0 -0
  23. {flinventory-0.6.14 → flinventory-0.7.0}/tests/__init__.py +0 -0
  24. {flinventory-0.6.14 → flinventory-0.7.0}/tests/test_defaulted_data.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: flinventory
3
- Version: 0.6.14
3
+ Version: 0.7.0
4
4
  Summary: An inventory system for self-help repair shops
5
5
  Author-Email: flukx <flinventory-flukx@612211124.xyz>
6
6
  License: GPL3
@@ -176,7 +176,7 @@ class Options:
176
176
 
177
177
  for simple_option, default, data_type in (
178
178
  ("separator", "-", str),
179
- ("long_separator", " - ", str),
179
+ ("long_separator", " > ", str),
180
180
  ("length_unit", "cm", str),
181
181
  ("sign_max_height", 28, (int, float)),
182
182
  ("sign_max_width", 18, (int, float)),
@@ -468,7 +468,11 @@ class SignPrinterLaTeX:
468
468
  insertions = {
469
469
  "PrimaryName": sanitize_latex_code(german),
470
470
  "SecondaryName": sanitize_latex_code(english),
471
- "location": sanitize_latex_code(str(thing.where)),
471
+ "location": sanitize_latex_code(
472
+ str(thing.location.long_name)
473
+ if thing.sign.get("location_long", False)
474
+ else str(thing.where)
475
+ ),
472
476
  "height": height,
473
477
  "widthAdjusted": width,
474
478
  }
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "flinventory"
3
- version = "0.6.14"
3
+ version = "0.7.0"
4
4
  description = "An inventory system for self-help repair shops"
5
5
  authors = [
6
6
  { name = "flukx", email = "flinventory-flukx@612211124.xyz" },
File without changes
File without changes