Skip to content

Commit

Permalink
fix: py unit test packaging and enhance dev container formatting (#103)
Browse files Browse the repository at this point in the history
  • Loading branch information
apaletta3 authored Jan 3, 2024
1 parent 50b3f97 commit 93d7dc5
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -517,7 +517,7 @@ test-unit-python-standalone: ## Run Python unit tests (standalone)
--workdir=/app/build \
$(docker_development_image_repository):$(docker_image_version) \
/bin/bash -c "cmake -DBUILD_PYTHON_BINDINGS=ON -DBUILD_UNIT_TESTS=OFF .. \
&& $(MAKE) -j 4 && python3.11 -m pip install --root-user-action=ignore bindings/python/dist/*311*.whl \
&& $(MAKE) -j 4 && python3.11 -m pip install --root-user-action=ignore bindings/python/OpenSpaceToolkit*Py-python-package-3.11 \
&& python3.11 -m pip install plotly pandas \
&& python3.11 -m pip install git+https://github.com/lucas-bremond/cesiumpy.git#egg=cesiumpy \
&& cd /usr/local/lib/python3.11/site-packages/ostk/$(project_name)/ \
Expand Down
8 changes: 8 additions & 0 deletions bindings/python/pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Apache License 2.0

[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"

[tool.black]
line-length = 90
3 changes: 3 additions & 0 deletions bindings/python/tools/python/pyproject.toml.in
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,6 @@
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"

[tool.black]
line-length = 90
1 change: 1 addition & 0 deletions bindings/python/tools/python/setup.cfg.in
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,4 @@ install_requires = file: requirements.txt

[options.package_data]
ostk.mathematics=${SHARED_LIBRARY_TARGET}.${PROJECT_VERSION_MAJOR}, ${LIBRARY_TARGET}.*${EXTENSION}*.so
*=*/data/*

0 comments on commit 93d7dc5

Please sign in to comment.