pye57 0.4.5__tar.gz → 0.4.6__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.
Potentially problematic release.
This version of pye57 might be problematic. Click here for more details.
- {pye57-0.4.5/src/pye57.egg-info → pye57-0.4.6}/PKG-INFO +8 -8
- {pye57-0.4.5 → pye57-0.4.6}/README.md +7 -7
- {pye57-0.4.5 → pye57-0.4.6}/pyproject.toml +1 -1
- {pye57-0.4.5 → pye57-0.4.6}/setup.py +12 -1
- pye57-0.4.6/src/pye57/__version__.py +1 -0
- {pye57-0.4.5 → pye57-0.4.6}/src/pye57/libe57_wrapper.cpp +12 -9
- {pye57-0.4.5 → pye57-0.4.6/src/pye57.egg-info}/PKG-INFO +8 -8
- pye57-0.4.5/src/pye57/__version__.py +0 -1
- {pye57-0.4.5 → pye57-0.4.6}/LICENSE +0 -0
- {pye57-0.4.5 → pye57-0.4.6}/MANIFEST.in +0 -0
- {pye57-0.4.5 → pye57-0.4.6}/libE57Format/LICENSE-MIT.md +0 -0
- {pye57-0.4.5 → pye57-0.4.6}/libE57Format/LICENSE.md +0 -0
- {pye57-0.4.5 → pye57-0.4.6}/libE57Format/README.md +0 -0
- {pye57-0.4.5 → pye57-0.4.6}/libE57Format/extern/CRCpp/LICENSE +0 -0
- {pye57-0.4.5 → pye57-0.4.6}/libE57Format/extern/CRCpp/README.md +0 -0
- {pye57-0.4.5 → pye57-0.4.6}/libE57Format/extern/CRCpp/inc/CRC.h +0 -0
- {pye57-0.4.5 → pye57-0.4.6}/libE57Format/include/E57Exception.h +0 -0
- {pye57-0.4.5 → pye57-0.4.6}/libE57Format/include/E57Format.h +0 -0
- {pye57-0.4.5 → pye57-0.4.6}/libE57Format/include/E57SimpleData.h +0 -0
- {pye57-0.4.5 → pye57-0.4.6}/libE57Format/include/E57SimpleReader.h +0 -0
- {pye57-0.4.5 → pye57-0.4.6}/libE57Format/include/E57SimpleWriter.h +0 -0
- {pye57-0.4.5 → pye57-0.4.6}/libE57Format/include/E57Version.h +0 -0
- {pye57-0.4.5 → pye57-0.4.6}/libE57Format/src/ASTMVersion.h +0 -0
- {pye57-0.4.5 → pye57-0.4.6}/libE57Format/src/BlobNode.cpp +0 -0
- {pye57-0.4.5 → pye57-0.4.6}/libE57Format/src/BlobNodeImpl.cpp +0 -0
- {pye57-0.4.5 → pye57-0.4.6}/libE57Format/src/BlobNodeImpl.h +0 -0
- {pye57-0.4.5 → pye57-0.4.6}/libE57Format/src/CheckedFile.cpp +0 -0
- {pye57-0.4.5 → pye57-0.4.6}/libE57Format/src/CheckedFile.h +0 -0
- {pye57-0.4.5 → pye57-0.4.6}/libE57Format/src/Common.cpp +0 -0
- {pye57-0.4.5 → pye57-0.4.6}/libE57Format/src/Common.h +0 -0
- {pye57-0.4.5 → pye57-0.4.6}/libE57Format/src/CompressedVectorNode.cpp +0 -0
- {pye57-0.4.5 → pye57-0.4.6}/libE57Format/src/CompressedVectorNodeImpl.cpp +0 -0
- {pye57-0.4.5 → pye57-0.4.6}/libE57Format/src/CompressedVectorNodeImpl.h +0 -0
- {pye57-0.4.5 → pye57-0.4.6}/libE57Format/src/CompressedVectorReader.cpp +0 -0
- {pye57-0.4.5 → pye57-0.4.6}/libE57Format/src/CompressedVectorReaderImpl.cpp +0 -0
- {pye57-0.4.5 → pye57-0.4.6}/libE57Format/src/CompressedVectorReaderImpl.h +0 -0
- {pye57-0.4.5 → pye57-0.4.6}/libE57Format/src/CompressedVectorWriter.cpp +0 -0
- {pye57-0.4.5 → pye57-0.4.6}/libE57Format/src/CompressedVectorWriterImpl.cpp +0 -0
- {pye57-0.4.5 → pye57-0.4.6}/libE57Format/src/CompressedVectorWriterImpl.h +0 -0
- {pye57-0.4.5 → pye57-0.4.6}/libE57Format/src/DecodeChannel.cpp +0 -0
- {pye57-0.4.5 → pye57-0.4.6}/libE57Format/src/DecodeChannel.h +0 -0
- {pye57-0.4.5 → pye57-0.4.6}/libE57Format/src/Decoder.cpp +0 -0
- {pye57-0.4.5 → pye57-0.4.6}/libE57Format/src/Decoder.h +0 -0
- {pye57-0.4.5 → pye57-0.4.6}/libE57Format/src/E57Exception.cpp +0 -0
- {pye57-0.4.5 → pye57-0.4.6}/libE57Format/src/E57SimpleData.cpp +0 -0
- {pye57-0.4.5 → pye57-0.4.6}/libE57Format/src/E57SimpleReader.cpp +0 -0
- {pye57-0.4.5 → pye57-0.4.6}/libE57Format/src/E57SimpleWriter.cpp +0 -0
- {pye57-0.4.5 → pye57-0.4.6}/libE57Format/src/E57Version.cpp +0 -0
- {pye57-0.4.5 → pye57-0.4.6}/libE57Format/src/E57XmlParser.cpp +0 -0
- {pye57-0.4.5 → pye57-0.4.6}/libE57Format/src/E57XmlParser.h +0 -0
- {pye57-0.4.5 → pye57-0.4.6}/libE57Format/src/Encoder.cpp +0 -0
- {pye57-0.4.5 → pye57-0.4.6}/libE57Format/src/Encoder.h +0 -0
- {pye57-0.4.5 → pye57-0.4.6}/libE57Format/src/FloatNode.cpp +0 -0
- {pye57-0.4.5 → pye57-0.4.6}/libE57Format/src/FloatNodeImpl.cpp +0 -0
- {pye57-0.4.5 → pye57-0.4.6}/libE57Format/src/FloatNodeImpl.h +0 -0
- {pye57-0.4.5 → pye57-0.4.6}/libE57Format/src/ImageFile.cpp +0 -0
- {pye57-0.4.5 → pye57-0.4.6}/libE57Format/src/ImageFileImpl.cpp +0 -0
- {pye57-0.4.5 → pye57-0.4.6}/libE57Format/src/ImageFileImpl.h +0 -0
- {pye57-0.4.5 → pye57-0.4.6}/libE57Format/src/IntegerNode.cpp +0 -0
- {pye57-0.4.5 → pye57-0.4.6}/libE57Format/src/IntegerNodeImpl.cpp +0 -0
- {pye57-0.4.5 → pye57-0.4.6}/libE57Format/src/IntegerNodeImpl.h +0 -0
- {pye57-0.4.5 → pye57-0.4.6}/libE57Format/src/Node.cpp +0 -0
- {pye57-0.4.5 → pye57-0.4.6}/libE57Format/src/NodeImpl.cpp +0 -0
- {pye57-0.4.5 → pye57-0.4.6}/libE57Format/src/NodeImpl.h +0 -0
- {pye57-0.4.5 → pye57-0.4.6}/libE57Format/src/Packet.cpp +0 -0
- {pye57-0.4.5 → pye57-0.4.6}/libE57Format/src/Packet.h +0 -0
- {pye57-0.4.5 → pye57-0.4.6}/libE57Format/src/ReaderImpl.cpp +0 -0
- {pye57-0.4.5 → pye57-0.4.6}/libE57Format/src/ReaderImpl.h +0 -0
- {pye57-0.4.5 → pye57-0.4.6}/libE57Format/src/ScaledIntegerNode.cpp +0 -0
- {pye57-0.4.5 → pye57-0.4.6}/libE57Format/src/ScaledIntegerNodeImpl.cpp +0 -0
- {pye57-0.4.5 → pye57-0.4.6}/libE57Format/src/ScaledIntegerNodeImpl.h +0 -0
- {pye57-0.4.5 → pye57-0.4.6}/libE57Format/src/SectionHeaders.cpp +0 -0
- {pye57-0.4.5 → pye57-0.4.6}/libE57Format/src/SectionHeaders.h +0 -0
- {pye57-0.4.5 → pye57-0.4.6}/libE57Format/src/SourceDestBuffer.cpp +0 -0
- {pye57-0.4.5 → pye57-0.4.6}/libE57Format/src/SourceDestBufferImpl.cpp +0 -0
- {pye57-0.4.5 → pye57-0.4.6}/libE57Format/src/SourceDestBufferImpl.h +0 -0
- {pye57-0.4.5 → pye57-0.4.6}/libE57Format/src/StringFunctions.cpp +0 -0
- {pye57-0.4.5 → pye57-0.4.6}/libE57Format/src/StringFunctions.h +0 -0
- {pye57-0.4.5 → pye57-0.4.6}/libE57Format/src/StringNode.cpp +0 -0
- {pye57-0.4.5 → pye57-0.4.6}/libE57Format/src/StringNodeImpl.cpp +0 -0
- {pye57-0.4.5 → pye57-0.4.6}/libE57Format/src/StringNodeImpl.h +0 -0
- {pye57-0.4.5 → pye57-0.4.6}/libE57Format/src/StructureNode.cpp +0 -0
- {pye57-0.4.5 → pye57-0.4.6}/libE57Format/src/StructureNodeImpl.cpp +0 -0
- {pye57-0.4.5 → pye57-0.4.6}/libE57Format/src/StructureNodeImpl.h +0 -0
- {pye57-0.4.5 → pye57-0.4.6}/libE57Format/src/VectorNode.cpp +0 -0
- {pye57-0.4.5 → pye57-0.4.6}/libE57Format/src/VectorNodeImpl.cpp +0 -0
- {pye57-0.4.5 → pye57-0.4.6}/libE57Format/src/VectorNodeImpl.h +0 -0
- {pye57-0.4.5 → pye57-0.4.6}/libE57Format/src/WriterImpl.cpp +0 -0
- {pye57-0.4.5 → pye57-0.4.6}/libE57Format/src/WriterImpl.h +0 -0
- {pye57-0.4.5 → pye57-0.4.6}/libE57Format/test/README.md +0 -0
- {pye57-0.4.5 → pye57-0.4.6}/libE57Format/test/extern/googletest/LICENSE +0 -0
- {pye57-0.4.5 → pye57-0.4.6}/libE57Format/test/extern/googletest/README.md +0 -0
- {pye57-0.4.5 → pye57-0.4.6}/libE57Format/test/extern/googletest/googlemock/README.md +0 -0
- {pye57-0.4.5 → pye57-0.4.6}/libE57Format/test/extern/googletest/googlemock/docs/README.md +0 -0
- {pye57-0.4.5 → pye57-0.4.6}/libE57Format/test/extern/googletest/googlemock/include/gmock/gmock-actions.h +0 -0
- {pye57-0.4.5 → pye57-0.4.6}/libE57Format/test/extern/googletest/googlemock/include/gmock/gmock-cardinalities.h +0 -0
- {pye57-0.4.5 → pye57-0.4.6}/libE57Format/test/extern/googletest/googlemock/include/gmock/gmock-function-mocker.h +0 -0
- {pye57-0.4.5 → pye57-0.4.6}/libE57Format/test/extern/googletest/googlemock/include/gmock/gmock-matchers.h +0 -0
- {pye57-0.4.5 → pye57-0.4.6}/libE57Format/test/extern/googletest/googlemock/include/gmock/gmock-more-actions.h +0 -0
- {pye57-0.4.5 → pye57-0.4.6}/libE57Format/test/extern/googletest/googlemock/include/gmock/gmock-more-matchers.h +0 -0
- {pye57-0.4.5 → pye57-0.4.6}/libE57Format/test/extern/googletest/googlemock/include/gmock/gmock-nice-strict.h +0 -0
- {pye57-0.4.5 → pye57-0.4.6}/libE57Format/test/extern/googletest/googlemock/include/gmock/gmock-spec-builders.h +0 -0
- {pye57-0.4.5 → pye57-0.4.6}/libE57Format/test/extern/googletest/googlemock/include/gmock/gmock.h +0 -0
- {pye57-0.4.5 → pye57-0.4.6}/libE57Format/test/extern/googletest/googlemock/include/gmock/internal/custom/README.md +0 -0
- {pye57-0.4.5 → pye57-0.4.6}/libE57Format/test/extern/googletest/googlemock/include/gmock/internal/custom/gmock-generated-actions.h +0 -0
- {pye57-0.4.5 → pye57-0.4.6}/libE57Format/test/extern/googletest/googlemock/include/gmock/internal/custom/gmock-matchers.h +0 -0
- {pye57-0.4.5 → pye57-0.4.6}/libE57Format/test/extern/googletest/googlemock/include/gmock/internal/custom/gmock-port.h +0 -0
- {pye57-0.4.5 → pye57-0.4.6}/libE57Format/test/extern/googletest/googlemock/include/gmock/internal/gmock-internal-utils.h +0 -0
- {pye57-0.4.5 → pye57-0.4.6}/libE57Format/test/extern/googletest/googlemock/include/gmock/internal/gmock-port.h +0 -0
- {pye57-0.4.5 → pye57-0.4.6}/libE57Format/test/extern/googletest/googlemock/include/gmock/internal/gmock-pp.h +0 -0
- {pye57-0.4.5 → pye57-0.4.6}/libE57Format/test/extern/googletest/googlemock/test/gmock-matchers_test.h +0 -0
- {pye57-0.4.5 → pye57-0.4.6}/libE57Format/test/extern/googletest/googlemock/test/gmock_link_test.h +0 -0
- {pye57-0.4.5 → pye57-0.4.6}/libE57Format/test/extern/googletest/googletest/README.md +0 -0
- {pye57-0.4.5 → pye57-0.4.6}/libE57Format/test/extern/googletest/googletest/docs/README.md +0 -0
- {pye57-0.4.5 → pye57-0.4.6}/libE57Format/test/extern/googletest/googletest/include/gtest/gtest-assertion-result.h +0 -0
- {pye57-0.4.5 → pye57-0.4.6}/libE57Format/test/extern/googletest/googletest/include/gtest/gtest-death-test.h +0 -0
- {pye57-0.4.5 → pye57-0.4.6}/libE57Format/test/extern/googletest/googletest/include/gtest/gtest-matchers.h +0 -0
- {pye57-0.4.5 → pye57-0.4.6}/libE57Format/test/extern/googletest/googletest/include/gtest/gtest-message.h +0 -0
- {pye57-0.4.5 → pye57-0.4.6}/libE57Format/test/extern/googletest/googletest/include/gtest/gtest-param-test.h +0 -0
- {pye57-0.4.5 → pye57-0.4.6}/libE57Format/test/extern/googletest/googletest/include/gtest/gtest-printers.h +0 -0
- {pye57-0.4.5 → pye57-0.4.6}/libE57Format/test/extern/googletest/googletest/include/gtest/gtest-spi.h +0 -0
- {pye57-0.4.5 → pye57-0.4.6}/libE57Format/test/extern/googletest/googletest/include/gtest/gtest-test-part.h +0 -0
- {pye57-0.4.5 → pye57-0.4.6}/libE57Format/test/extern/googletest/googletest/include/gtest/gtest-typed-test.h +0 -0
- {pye57-0.4.5 → pye57-0.4.6}/libE57Format/test/extern/googletest/googletest/include/gtest/gtest.h +0 -0
- {pye57-0.4.5 → pye57-0.4.6}/libE57Format/test/extern/googletest/googletest/include/gtest/gtest_pred_impl.h +0 -0
- {pye57-0.4.5 → pye57-0.4.6}/libE57Format/test/extern/googletest/googletest/include/gtest/gtest_prod.h +0 -0
- {pye57-0.4.5 → pye57-0.4.6}/libE57Format/test/extern/googletest/googletest/include/gtest/internal/custom/README.md +0 -0
- {pye57-0.4.5 → pye57-0.4.6}/libE57Format/test/extern/googletest/googletest/include/gtest/internal/custom/gtest-port.h +0 -0
- {pye57-0.4.5 → pye57-0.4.6}/libE57Format/test/extern/googletest/googletest/include/gtest/internal/custom/gtest-printers.h +0 -0
- {pye57-0.4.5 → pye57-0.4.6}/libE57Format/test/extern/googletest/googletest/include/gtest/internal/custom/gtest.h +0 -0
- {pye57-0.4.5 → pye57-0.4.6}/libE57Format/test/extern/googletest/googletest/include/gtest/internal/gtest-death-test-internal.h +0 -0
- {pye57-0.4.5 → pye57-0.4.6}/libE57Format/test/extern/googletest/googletest/include/gtest/internal/gtest-filepath.h +0 -0
- {pye57-0.4.5 → pye57-0.4.6}/libE57Format/test/extern/googletest/googletest/include/gtest/internal/gtest-internal.h +0 -0
- {pye57-0.4.5 → pye57-0.4.6}/libE57Format/test/extern/googletest/googletest/include/gtest/internal/gtest-param-util.h +0 -0
- {pye57-0.4.5 → pye57-0.4.6}/libE57Format/test/extern/googletest/googletest/include/gtest/internal/gtest-port-arch.h +0 -0
- {pye57-0.4.5 → pye57-0.4.6}/libE57Format/test/extern/googletest/googletest/include/gtest/internal/gtest-port.h +0 -0
- {pye57-0.4.5 → pye57-0.4.6}/libE57Format/test/extern/googletest/googletest/include/gtest/internal/gtest-string.h +0 -0
- {pye57-0.4.5 → pye57-0.4.6}/libE57Format/test/extern/googletest/googletest/include/gtest/internal/gtest-type-util.h +0 -0
- {pye57-0.4.5 → pye57-0.4.6}/libE57Format/test/extern/googletest/googletest/samples/prime_tables.h +0 -0
- {pye57-0.4.5 → pye57-0.4.6}/libE57Format/test/extern/googletest/googletest/samples/sample1.h +0 -0
- {pye57-0.4.5 → pye57-0.4.6}/libE57Format/test/extern/googletest/googletest/samples/sample2.h +0 -0
- {pye57-0.4.5 → pye57-0.4.6}/libE57Format/test/extern/googletest/googletest/samples/sample3-inl.h +0 -0
- {pye57-0.4.5 → pye57-0.4.6}/libE57Format/test/extern/googletest/googletest/samples/sample4.h +0 -0
- {pye57-0.4.5 → pye57-0.4.6}/libE57Format/test/extern/googletest/googletest/src/gtest-internal-inl.h +0 -0
- {pye57-0.4.5 → pye57-0.4.6}/libE57Format/test/extern/googletest/googletest/test/googletest-param-test-test.h +0 -0
- {pye57-0.4.5 → pye57-0.4.6}/libE57Format/test/extern/googletest/googletest/test/gtest-typed-test_test.h +0 -0
- {pye57-0.4.5 → pye57-0.4.6}/libE57Format/test/extern/googletest/googletest/test/production.h +0 -0
- {pye57-0.4.5 → pye57-0.4.6}/libE57Format/test/include/Helpers.h +0 -0
- {pye57-0.4.5 → pye57-0.4.6}/libE57Format/test/include/RandomNum.h +0 -0
- {pye57-0.4.5 → pye57-0.4.6}/libE57Format/test/include/TestData.h +0 -0
- {pye57-0.4.5 → pye57-0.4.6}/libE57Format/test/src/RandomNum.cpp +0 -0
- {pye57-0.4.5 → pye57-0.4.6}/libE57Format/test/src/TestData.cpp +0 -0
- {pye57-0.4.5 → pye57-0.4.6}/libE57Format/test/src/main.cpp +0 -0
- {pye57-0.4.5 → pye57-0.4.6}/libE57Format/test/src/test_SimpleData.cpp +0 -0
- {pye57-0.4.5 → pye57-0.4.6}/libE57Format/test/src/test_SimpleReader.cpp +0 -0
- {pye57-0.4.5 → pye57-0.4.6}/libE57Format/test/src/test_SimpleWriter.cpp +0 -0
- {pye57-0.4.5 → pye57-0.4.6}/libE57Format/test/src/test_StringFunctions.cpp +0 -0
- {pye57-0.4.5 → pye57-0.4.6}/setup.cfg +0 -0
- {pye57-0.4.5 → pye57-0.4.6}/src/pye57/__init__.py +0 -0
- {pye57-0.4.5 → pye57-0.4.6}/src/pye57/e57.py +0 -0
- {pye57-0.4.5 → pye57-0.4.6}/src/pye57/exception.py +0 -0
- {pye57-0.4.5 → pye57-0.4.6}/src/pye57/scan_header.py +0 -0
- {pye57-0.4.5 → pye57-0.4.6}/src/pye57/utils.py +0 -0
- {pye57-0.4.5 → pye57-0.4.6}/src/pye57.egg-info/SOURCES.txt +0 -0
- {pye57-0.4.5 → pye57-0.4.6}/src/pye57.egg-info/dependency_links.txt +0 -0
- {pye57-0.4.5 → pye57-0.4.6}/src/pye57.egg-info/not-zip-safe +0 -0
- {pye57-0.4.5 → pye57-0.4.6}/src/pye57.egg-info/requires.txt +0 -0
- {pye57-0.4.5 → pye57-0.4.6}/src/pye57.egg-info/top_level.txt +0 -0
- {pye57-0.4.5 → pye57-0.4.6}/tests/test_main.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: pye57
|
|
3
|
-
Version: 0.4.
|
|
3
|
+
Version: 0.4.6
|
|
4
4
|
Summary: Python .e57 files reader/writer
|
|
5
5
|
Home-page: https://www.github.com/davidcaron/pye57
|
|
6
6
|
Author: David Caron
|
|
@@ -94,21 +94,21 @@ translation_x = scan_0["pose"]["translation"]["x"]
|
|
|
94
94
|
|
|
95
95
|
## Installation
|
|
96
96
|
|
|
97
|
-
|
|
97
|
+
On linux Windows or macos:
|
|
98
98
|
|
|
99
99
|
`python -m pip install pye57`
|
|
100
100
|
|
|
101
|
-
## Building from source
|
|
101
|
+
## Building from source (for developers)
|
|
102
102
|
|
|
103
|
-
### Cloning the repository
|
|
103
|
+
### Cloning the repository with required submodule
|
|
104
104
|
|
|
105
|
-
Clone a new repository along with the
|
|
105
|
+
Clone a new repository along with the libe57Format submodule
|
|
106
106
|
|
|
107
107
|
`git clone https://github.com/davidcaron/pye57.git --recursive`
|
|
108
108
|
|
|
109
109
|
If the repository has already been previously cloned, but without the --recursive flag
|
|
110
110
|
|
|
111
|
-
```
|
|
111
|
+
```Bash
|
|
112
112
|
cd pye57 # go to the cloned repository
|
|
113
113
|
git submodule init # this will initialise the submodules in the repository
|
|
114
114
|
git submodule update # this will update the submodules in the repository
|
|
@@ -128,7 +128,7 @@ To get xerces-c, you can either build from source or if you're using conda:
|
|
|
128
128
|
|
|
129
129
|
### Run `pip install` from the repo source
|
|
130
130
|
|
|
131
|
-
```
|
|
131
|
+
```Bash
|
|
132
132
|
cd pye57
|
|
133
133
|
python -m pip install .
|
|
134
134
|
```
|
|
@@ -137,6 +137,6 @@ python -m pip install .
|
|
|
137
137
|
|
|
138
138
|
Use pip again
|
|
139
139
|
|
|
140
|
-
```
|
|
140
|
+
```Bash
|
|
141
141
|
python -m pip uninstall pye57
|
|
142
142
|
```
|
|
@@ -68,21 +68,21 @@ translation_x = scan_0["pose"]["translation"]["x"]
|
|
|
68
68
|
|
|
69
69
|
## Installation
|
|
70
70
|
|
|
71
|
-
|
|
71
|
+
On linux Windows or macos:
|
|
72
72
|
|
|
73
73
|
`python -m pip install pye57`
|
|
74
74
|
|
|
75
|
-
## Building from source
|
|
75
|
+
## Building from source (for developers)
|
|
76
76
|
|
|
77
|
-
### Cloning the repository
|
|
77
|
+
### Cloning the repository with required submodule
|
|
78
78
|
|
|
79
|
-
Clone a new repository along with the
|
|
79
|
+
Clone a new repository along with the libe57Format submodule
|
|
80
80
|
|
|
81
81
|
`git clone https://github.com/davidcaron/pye57.git --recursive`
|
|
82
82
|
|
|
83
83
|
If the repository has already been previously cloned, but without the --recursive flag
|
|
84
84
|
|
|
85
|
-
```
|
|
85
|
+
```Bash
|
|
86
86
|
cd pye57 # go to the cloned repository
|
|
87
87
|
git submodule init # this will initialise the submodules in the repository
|
|
88
88
|
git submodule update # this will update the submodules in the repository
|
|
@@ -102,7 +102,7 @@ To get xerces-c, you can either build from source or if you're using conda:
|
|
|
102
102
|
|
|
103
103
|
### Run `pip install` from the repo source
|
|
104
104
|
|
|
105
|
-
```
|
|
105
|
+
```Bash
|
|
106
106
|
cd pye57
|
|
107
107
|
python -m pip install .
|
|
108
108
|
```
|
|
@@ -111,6 +111,6 @@ python -m pip install .
|
|
|
111
111
|
|
|
112
112
|
Use pip again
|
|
113
113
|
|
|
114
|
-
```
|
|
114
|
+
```Bash
|
|
115
115
|
python -m pip uninstall pye57
|
|
116
116
|
```
|
|
@@ -14,5 +14,5 @@ build-backend = "setuptools.build_meta"
|
|
|
14
14
|
# before-all = "bash scripts/install_xerces_c.sh"
|
|
15
15
|
# before-all = "powershell scripts/install_xerces_c.ps1"
|
|
16
16
|
test-requires = "pytest"
|
|
17
|
-
build = "cp*-manylinux_x86_64 cp*-win_amd64*"
|
|
17
|
+
build = "cp*-manylinux_x86_64 cp*-win_amd64* cp*-macosx*"
|
|
18
18
|
test-command = "python -m pytest {project}/tests"
|
|
@@ -43,7 +43,15 @@ if platform.system() == "Windows":
|
|
|
43
43
|
# include xerces-c dll in the package
|
|
44
44
|
shutil.copy2(xerces_dir / "bin" / "xerces-c_3_2.dll", HERE / "src" / "pye57")
|
|
45
45
|
package_data.append("xerces-c_3_2.dll")
|
|
46
|
-
|
|
46
|
+
elif platform.system() == "Darwin":
|
|
47
|
+
xerces_dir = Path("/usr/local/")
|
|
48
|
+
if xerces_dir.exists():
|
|
49
|
+
# include xerces-c dylib in the package
|
|
50
|
+
shutil.copy2(xerces_dir / "lib" / "libxerces-c-3.2.dylib", HERE / "src" / "pye57")
|
|
51
|
+
library_dirs.append(str(xerces_dir / "lib"))
|
|
52
|
+
include_dirs.append(str(xerces_dir / "include"))
|
|
53
|
+
package_data.append("libxerces-c.a")
|
|
54
|
+
libraries.append("xerces-c")
|
|
47
55
|
else:
|
|
48
56
|
libraries.append("xerces-c")
|
|
49
57
|
|
|
@@ -56,6 +64,9 @@ ext_modules = [
|
|
|
56
64
|
libraries=libraries,
|
|
57
65
|
library_dirs=library_dirs,
|
|
58
66
|
language="c++",
|
|
67
|
+
extra_link_args=[
|
|
68
|
+
f"-Wl,-rpath,@loader_path",
|
|
69
|
+
],
|
|
59
70
|
),
|
|
60
71
|
]
|
|
61
72
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "0.4.6"
|
|
@@ -271,6 +271,7 @@ PYBIND11_MODULE(libe57, m) {
|
|
|
271
271
|
bool doScaling,
|
|
272
272
|
size_t stride=0) {
|
|
273
273
|
py::buffer_info info = np_array.request();
|
|
274
|
+
const std::string dtype = info.format;
|
|
274
275
|
|
|
275
276
|
if (info.ndim != 1)
|
|
276
277
|
throw std::runtime_error("Incompatible buffer dimension!");
|
|
@@ -279,24 +280,26 @@ PYBIND11_MODULE(libe57, m) {
|
|
|
279
280
|
new (&s) SourceDestBuffer(imf, pathName, static_cast<int8_t *>(info.ptr), capacity, doConversion, doScaling, (stride == 0) ? sizeof(int8_t) : stride);
|
|
280
281
|
else if (info.format == "B")
|
|
281
282
|
new (&s) SourceDestBuffer(imf, pathName, static_cast<uint8_t *>(info.ptr), capacity, doConversion, doScaling, (stride == 0) ? sizeof(uint8_t) : stride);
|
|
282
|
-
|
|
283
|
+
// Handle fixed or native byte order from https://docs.python.org/3/library/struct.html
|
|
284
|
+
// Note - these may be platform dependent. Could they cause strange bugs on some platforms ?
|
|
285
|
+
else if (dtype == "h" || dtype == "=h")
|
|
283
286
|
new (&s) SourceDestBuffer(imf, pathName, static_cast<int16_t *>(info.ptr), capacity, doConversion, doScaling, (stride == 0) ? sizeof(int16_t) : stride);
|
|
284
|
-
else if (
|
|
287
|
+
else if (dtype == "H" || dtype == "=H")
|
|
285
288
|
new (&s) SourceDestBuffer(imf, pathName, static_cast<uint16_t *>(info.ptr), capacity, doConversion, doScaling, (stride == 0) ? sizeof(uint16_t) : stride);
|
|
286
|
-
else if (
|
|
289
|
+
else if (dtype == "l" || dtype == "=l")
|
|
287
290
|
new (&s) SourceDestBuffer(imf, pathName, static_cast<int32_t *>(info.ptr), capacity, doConversion, doScaling, (stride == 0) ? sizeof(int32_t) : stride);
|
|
288
|
-
else if (
|
|
291
|
+
else if (dtype == "L" || dtype == "=L")
|
|
289
292
|
new (&s) SourceDestBuffer(imf, pathName, static_cast<uint32_t *>(info.ptr), capacity, doConversion, doScaling, (stride == 0) ? sizeof(uint32_t) : stride);
|
|
290
|
-
else if (
|
|
293
|
+
else if (dtype == "q" || dtype == "=q")
|
|
291
294
|
new (&s) SourceDestBuffer(imf, pathName, static_cast<int64_t *>(info.ptr), capacity, doConversion, doScaling, (stride == 0) ? sizeof(int64_t) : stride);
|
|
292
|
-
else if (
|
|
295
|
+
else if (dtype == "?")
|
|
293
296
|
new (&s) SourceDestBuffer(imf, pathName, static_cast<bool *>(info.ptr), capacity, doConversion, doScaling, (stride == 0) ? sizeof(bool) : stride);
|
|
294
|
-
else if (
|
|
297
|
+
else if (dtype == "f" || dtype == "=f")
|
|
295
298
|
new (&s) SourceDestBuffer(imf, pathName, static_cast<float *>(info.ptr), capacity, doConversion, doScaling, (stride == 0) ? sizeof(float) : stride);
|
|
296
|
-
else if (
|
|
299
|
+
else if (dtype == "d" || dtype == "=d")
|
|
297
300
|
new (&s) SourceDestBuffer(imf, pathName, static_cast<double *>(info.ptr), capacity, doConversion, doScaling, (stride == 0) ? sizeof(double) : stride);
|
|
298
301
|
else
|
|
299
|
-
throw py::value_error("Incompatible type (integers: bBhHlLq, bool: ?, floats: fd)");
|
|
302
|
+
throw py::value_error("Incompatible type (integers: bBhHlLq, bool: ?, floats: fd), got: " + dtype);
|
|
300
303
|
},
|
|
301
304
|
"destImageFile"_a, "pathName"_a, "b"_a, "capacity"_a, "doConversion"_a=false, "doScaling"_a=false, "stride"_a=0);
|
|
302
305
|
// cls_SourceDestBuffer.def(py::init<e57::ImageFile, const std::string, int8_t *, const size_t, bool, bool, size_t>(), "destImageFile"_a, "pathName"_a, "b"_a, "capacity"_a, "doConversion"_a=false, "doScaling"_a=false, "stride"_a=sizeof(int8_t));
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: pye57
|
|
3
|
-
Version: 0.4.
|
|
3
|
+
Version: 0.4.6
|
|
4
4
|
Summary: Python .e57 files reader/writer
|
|
5
5
|
Home-page: https://www.github.com/davidcaron/pye57
|
|
6
6
|
Author: David Caron
|
|
@@ -94,21 +94,21 @@ translation_x = scan_0["pose"]["translation"]["x"]
|
|
|
94
94
|
|
|
95
95
|
## Installation
|
|
96
96
|
|
|
97
|
-
|
|
97
|
+
On linux Windows or macos:
|
|
98
98
|
|
|
99
99
|
`python -m pip install pye57`
|
|
100
100
|
|
|
101
|
-
## Building from source
|
|
101
|
+
## Building from source (for developers)
|
|
102
102
|
|
|
103
|
-
### Cloning the repository
|
|
103
|
+
### Cloning the repository with required submodule
|
|
104
104
|
|
|
105
|
-
Clone a new repository along with the
|
|
105
|
+
Clone a new repository along with the libe57Format submodule
|
|
106
106
|
|
|
107
107
|
`git clone https://github.com/davidcaron/pye57.git --recursive`
|
|
108
108
|
|
|
109
109
|
If the repository has already been previously cloned, but without the --recursive flag
|
|
110
110
|
|
|
111
|
-
```
|
|
111
|
+
```Bash
|
|
112
112
|
cd pye57 # go to the cloned repository
|
|
113
113
|
git submodule init # this will initialise the submodules in the repository
|
|
114
114
|
git submodule update # this will update the submodules in the repository
|
|
@@ -128,7 +128,7 @@ To get xerces-c, you can either build from source or if you're using conda:
|
|
|
128
128
|
|
|
129
129
|
### Run `pip install` from the repo source
|
|
130
130
|
|
|
131
|
-
```
|
|
131
|
+
```Bash
|
|
132
132
|
cd pye57
|
|
133
133
|
python -m pip install .
|
|
134
134
|
```
|
|
@@ -137,6 +137,6 @@ python -m pip install .
|
|
|
137
137
|
|
|
138
138
|
Use pip again
|
|
139
139
|
|
|
140
|
-
```
|
|
140
|
+
```Bash
|
|
141
141
|
python -m pip uninstall pye57
|
|
142
142
|
```
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = "0.4.5"
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
{pye57-0.4.5 → pye57-0.4.6}/libE57Format/test/extern/googletest/googlemock/include/gmock/gmock.h
RENAMED
|
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
|
{pye57-0.4.5 → pye57-0.4.6}/libE57Format/test/extern/googletest/googlemock/test/gmock_link_test.h
RENAMED
|
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
|
{pye57-0.4.5 → pye57-0.4.6}/libE57Format/test/extern/googletest/googletest/include/gtest/gtest-spi.h
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{pye57-0.4.5 → pye57-0.4.6}/libE57Format/test/extern/googletest/googletest/include/gtest/gtest.h
RENAMED
|
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
|
{pye57-0.4.5 → pye57-0.4.6}/libE57Format/test/extern/googletest/googletest/samples/prime_tables.h
RENAMED
|
File without changes
|
{pye57-0.4.5 → pye57-0.4.6}/libE57Format/test/extern/googletest/googletest/samples/sample1.h
RENAMED
|
File without changes
|
{pye57-0.4.5 → pye57-0.4.6}/libE57Format/test/extern/googletest/googletest/samples/sample2.h
RENAMED
|
File without changes
|
{pye57-0.4.5 → pye57-0.4.6}/libE57Format/test/extern/googletest/googletest/samples/sample3-inl.h
RENAMED
|
File without changes
|
{pye57-0.4.5 → pye57-0.4.6}/libE57Format/test/extern/googletest/googletest/samples/sample4.h
RENAMED
|
File without changes
|
{pye57-0.4.5 → pye57-0.4.6}/libE57Format/test/extern/googletest/googletest/src/gtest-internal-inl.h
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{pye57-0.4.5 → pye57-0.4.6}/libE57Format/test/extern/googletest/googletest/test/production.h
RENAMED
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|