| 1 |
[project] |
| 2 |
name = "pybgcode" |
| 3 |
version = "0.3.0" |
| 4 |
description = "Prusa Block & Binary G-code reader / writer / converter" |
| 5 |
authors = [ |
| 6 |
{ name = "Enrico Turri" }, { name = "Tomas Meszaros" } |
| 7 |
] |
| 8 |
license = { file = "LICENSE" } |
| 9 |
readme = "README.md" |
| 10 |
classifiers = [ |
| 11 |
"Programming Language :: Python :: 3", |
| 12 |
"LICENSE :: OSI APPROVED :: GNU AFFERO GENERAL PUBLIC LICENSE V3 OR LATER (AGPLV3+)", |
| 13 |
"Operating System :: OS Independent", |
| 14 |
] |
| 15 |
requires-python = ">=3.7" |
| 16 |
|
| 17 |
[project.urls] |
| 18 |
"Homepage" = "https://github.com/prusa3d/libbgcode" |
| 19 |
"Bug Tracker" = "https://github.com/prusa3d/libbgcode/issues" |
| 20 |
|
| 21 |
[build-system] |
| 22 |
requires = ["py-build-cmake~=0.1.8", "pytest"] |
| 23 |
build-backend = "py_build_cmake.build" |
| 24 |
|
| 25 |
[tool.py-build-cmake.module] |
| 26 |
directory = "pybgcode/" |
| 27 |
|
| 28 |
[tool.py-build-cmake.sdist] |
| 29 |
include = [ "pybgcode/*", "src/*" , "deps/*", "deps/build.cmake", "cmake/*", "CMakeLists.txt", "CMakePresets.json"] |
| 30 |
exclude = [".gitignore", ".git/", ".github/", "deps/build*", "build*", "CMakeLists.txt.user", "*.bak"] |
| 31 |
|
| 32 |
[tool.py-build-cmake.cmake] |
| 33 |
source_path = "./pybgcode" |
| 34 |
build_type = "Release" |
| 35 |
config = ["Release"] |
| 36 |
|
| 37 |
options = { "PyBGCode_LINK_SYSTEM_LIBBGCODE" = "off" } |
| 38 |
install_components = ["python_modules"] |
| 39 |
build_args = ["--target", "build_and_test"] |
| 40 |
|
| 41 |
|
| 42 |
|