Skip to content

Commit

Permalink
use scikit-build-core and pyproject.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
pantor committed Jan 8, 2024
1 parent 81f4829 commit a5d3f5b
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 80 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 3.10)
cmake_minimum_required(VERSION 3.15)

set(RUCKIG_VERSION 0.12.1)
project(ruckig VERSION ${RUCKIG_VERSION} LANGUAGES CXX)
Expand Down
36 changes: 34 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,38 @@
[project]
name = "ruckig"
version = "0.12.1"
authors = [
{name = "Lars Berscheid", email = "[email protected]"},
]
readme = "README.md"
description = "Instantaneous Motion Generation for Robots and Machines."
keywords = ["robotics", "trajectory-generation", "real-time", "jerk-constrained", "time-optimal"]
license = {text = "MIT License"}
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering",
"License :: OSI Approved :: MIT License",
"Programming Language :: C++",
]
requires-python = ">=3.7"

[project.urls]
Homepage = "https://ruckig.com"
Documentation = "https://docs.ruckig.com"
Repository = "https://github.com/pantor/ruckig.git"
Issues = "https://github.com/pantor/ruckig/issues"


[build-system]
requires = ["setuptools>=42", "wheel", "pybind11~=2.6.1", "ninja", "cmake>=3.10"]
build-backend = "setuptools.build_meta"
requires = ["scikit-build-core", "pybind11"]
build-backend = "scikit_build_core.build"

[tool.scikit-build.cmake.define]
BUILD_EXAMPLES = "OFF"
BUILD_PYTHON_MODULE = "ON"
BUILD_TESTS = "OFF"


[tool.ruff]
select = ["A", "COM", "E", "F", "G", "N", "PIE", "PTH", "PYI", "RSE", "RET", "SIM", "TCH", "W", "Q", "E201", "E202", "E203"]
Expand Down
77 changes: 0 additions & 77 deletions setup.py

This file was deleted.

0 comments on commit a5d3f5b

Please sign in to comment.