|
| 1 | +[build-system] |
| 2 | +requires = ["setuptools>=61.0", "wheel"] |
| 3 | +build-backend = "setuptools.build_meta" |
| 4 | + |
| 5 | +[project] |
| 6 | +name = "urchin" |
| 7 | +version = "0.0.30" |
| 8 | +requires-python = ">=3.9" |
| 9 | +description = "URDF parser and manipulator for Python" |
| 10 | +readme = { text = "URDF parser and manipulator for Python. This package is a fork of urdfpy, which seems to be no longer maintained.", content-type = "text/plain" } |
| 11 | +authors = [ |
| 12 | + { name = "Adam Fishman", email = "hello@fishbotics.com" } |
| 13 | +] |
| 14 | +license = { text = "MIT License" } |
| 15 | +urls = { "Homepage" = "https://github.com/fishbotics/urchin" } |
| 16 | +keywords = ["robotics", "ros", "urdf", "robots", "parser"] |
| 17 | +classifiers = [ |
| 18 | + "Development Status :: 4 - Beta", |
| 19 | + "License :: OSI Approved :: MIT License", |
| 20 | + "Programming Language :: Python", |
| 21 | + "Programming Language :: Python :: 3.9", |
| 22 | + "Programming Language :: Python :: 3.10", |
| 23 | + "Programming Language :: Python :: 3.11", |
| 24 | + "Programming Language :: Python :: 3.12", |
| 25 | + "Natural Language :: English", |
| 26 | + "Topic :: Scientific/Engineering" |
| 27 | +] |
| 28 | +dependencies = [ |
| 29 | + "lxml", # For XML DOM Tree |
| 30 | + "networkx", # For joint graph |
| 31 | + "numpy>=1.20", # Numpy |
| 32 | + "pillow", # For texture image loading |
| 33 | + "pycollada>=0.6", # COLLADA (.dae) mesh loading via trimesh |
| 34 | + "pyribbit>=0.1.46", # For visualization |
| 35 | + "scipy", # For trimesh, annoyingly |
| 36 | + "trimesh" # Mesh geometry loading/creation/saving |
| 37 | +] |
| 38 | + |
| 39 | +[project.optional-dependencies] |
| 40 | +dev = [ |
| 41 | + "flake8", # Code formatting checker |
| 42 | + "pre-commit", # Pre-commit hooks |
| 43 | + "pytest", # Code testing |
| 44 | + "pytest-cov", # Coverage testing |
| 45 | + "tox" # Automatic virtualenv testing |
| 46 | +] |
| 47 | +docs = [ |
| 48 | + "sphinx", # General doc library |
| 49 | + "sphinx_rtd_theme", # RTD theme for sphinx |
| 50 | + "sphinx-automodapi" # For generating nice tables |
| 51 | +] |
| 52 | + |
| 53 | +[tool.mypy] |
| 54 | +python_version = "3.10" |
| 55 | +strict = false |
| 56 | +warn_unused_ignores = true |
| 57 | + |
| 58 | +[[tool.mypy.overrides]] |
| 59 | +module = ["lxml.*", "trimesh.*", "networkx.*", "PIL.*", "pyribbit.*", "sphinx.*", "sphinx_rtd_theme"] |
| 60 | +ignore_missing_imports = true |
| 61 | + |
| 62 | +[tool.ruff] |
| 63 | +line-length = 100 |
| 64 | +target-version = "py310" |
| 65 | + |
| 66 | +[tool.ruff.lint] |
| 67 | +select = ["E", "F", "I"] |
| 68 | +fixable = ["ALL"] |
| 69 | + |
| 70 | +[tool.ruff.format] |
| 71 | +quote-style = "double" |
| 72 | +indent-style = "space" |
| 73 | +docstring-code-format = true |
0 commit comments