flinventory 0.6.11__tar.gz → 0.6.13__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.
- {flinventory-0.6.11 → flinventory-0.6.13}/PKG-INFO +1 -1
- {flinventory-0.6.11 → flinventory-0.6.13}/flinventory/signprinter_latex.py +9 -2
- {flinventory-0.6.11 → flinventory-0.6.13}/pyproject.toml +1 -1
- {flinventory-0.6.11 → flinventory-0.6.13}/LICENSE +0 -0
- {flinventory-0.6.11 → flinventory-0.6.13}/README.md +0 -0
- {flinventory-0.6.11 → flinventory-0.6.13}/flinventory/__init__.py +0 -0
- {flinventory-0.6.11 → flinventory-0.6.13}/flinventory/__main__.py +0 -0
- {flinventory-0.6.11 → flinventory-0.6.13}/flinventory/box.py +0 -0
- {flinventory-0.6.11 → flinventory-0.6.13}/flinventory/constant.py +0 -0
- {flinventory-0.6.11 → flinventory-0.6.13}/flinventory/datacleanup.py +0 -0
- {flinventory-0.6.11 → flinventory-0.6.13}/flinventory/defaulted_data.py +0 -0
- {flinventory-0.6.11 → flinventory-0.6.13}/flinventory/generate_labels.py +0 -0
- {flinventory-0.6.11 → flinventory-0.6.13}/flinventory/inventory_io.py +0 -0
- {flinventory-0.6.11 → flinventory-0.6.13}/flinventory/location.py +0 -0
- {flinventory-0.6.11 → flinventory-0.6.13}/flinventory/sign.py +0 -0
- {flinventory-0.6.11 → flinventory-0.6.13}/flinventory/thing.py +0 -0
- {flinventory-0.6.11 → flinventory-0.6.13}/flinventory/thingtemplate_latex/.gitignore +0 -0
- {flinventory-0.6.11 → flinventory-0.6.13}/flinventory/thingtemplate_latex/dummyImage.jpg +0 -0
- {flinventory-0.6.11 → flinventory-0.6.13}/flinventory/thingtemplate_latex/sign.tex +0 -0
- {flinventory-0.6.11 → flinventory-0.6.13}/flinventory/thingtemplate_latex/signlist-footer.tex +0 -0
- {flinventory-0.6.11 → flinventory-0.6.13}/flinventory/thingtemplate_latex/signlist-header.tex +0 -0
- {flinventory-0.6.11 → flinventory-0.6.13}/flinventory/thingtemplate_latex/signs-example.tex +0 -0
- {flinventory-0.6.11 → flinventory-0.6.13}/tests/__init__.py +0 -0
- {flinventory-0.6.11 → flinventory-0.6.13}/tests/test_defaulted_data.py +0 -0
@@ -549,6 +549,11 @@ class SignPrinterLaTeX:
|
|
549
549
|
path to created pdf file
|
550
550
|
"""
|
551
551
|
self.save_signs_latex(things)
|
552
|
+
latex: (
|
553
|
+
subprocess.CalledProcessError
|
554
|
+
| subprocess.CompletedProcess
|
555
|
+
| argparse.Namespace
|
556
|
+
)
|
552
557
|
try:
|
553
558
|
latex = subprocess.run(
|
554
559
|
LATEXMK_OPTIONS + [self.signs_file],
|
@@ -595,8 +600,10 @@ class SignPrinterLaTeX:
|
|
595
600
|
encoding="utf-8",
|
596
601
|
) as stderr_file:
|
597
602
|
stderr_file.write(latex.stderr)
|
598
|
-
pdf_file = os.path.
|
599
|
-
|
603
|
+
pdf_file = os.path.join(
|
604
|
+
self.output_dir, os.path.splitext(self.signs_file)[0] + ".pdf"
|
605
|
+
)
|
606
|
+
assert os.path.isfile(pdf_file), f"{pdf_file} was not created (yet)"
|
600
607
|
return pdf_file
|
601
608
|
|
602
609
|
def create_sign_svg(self, thing: BoxedThing) -> Optional[str]:
|
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
|
File without changes
|
{flinventory-0.6.11 → flinventory-0.6.13}/flinventory/thingtemplate_latex/signlist-footer.tex
RENAMED
File without changes
|
{flinventory-0.6.11 → flinventory-0.6.13}/flinventory/thingtemplate_latex/signlist-header.tex
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|