Skip to content

Commit d8e8b09

Browse files
✨ Migrate project metadata to pyproject.toml and add pixi support (#120)
1 parent fe75eef commit d8e8b09

7 files changed

Lines changed: 8200 additions & 61 deletions

File tree

.gitattributes

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# SCM syntax highlighting & preventing 3-way merges
2+
pixi.lock merge=binary linguist-language=YAML linguist-generated=true -diff

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,4 +153,6 @@ dmypy.json
153153
.pytype/
154154

155155
# Cython debug symbols
156-
cython_debug/
156+
cython_debug/# pixi environments
157+
.pixi/*
158+
!.pixi/config.toml

.pixi/config.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
pinning-strategy = "no-pin"

README.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,16 @@ conda activate visualizer-env
1919
conda install -c robotology robot-log-visualizer
2020
```
2121

22+
### 🧚 Install with pixi
23+
24+
You can also run the application using `pixi`:
25+
26+
```console
27+
pixi run robot-log-visualizer
28+
```
29+
30+
See the pixi homepage: [pixi](https://pixi.run).
31+
2232
### 🐍 Install from `pip` with apt python
2333

2434
Install `python3`, if not installed (in **Ubuntu 20.04**):
@@ -48,7 +58,7 @@ python -m pip install git+https://github.com/ami-iit/robot-log-visualizer.git
4858

4959
## 🏃 Usage
5060

51-
Once you have installed the `robot-log-visualizer` you can run it from the terminal
61+
Once you have installed the `robot-log-visualizer` you can run it from the terminal.
5262

5363
[robot-log-visualizer.webm](https://github.com/ami-iit/robot-log-visualizer/assets/16744101/3fd5c516-da17-4efa-b83b-392b5ce1383b)
5464

pixi.lock

Lines changed: 8103 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 80 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,85 @@ requires = [
1010
"setuptools_scm[toml]>=6.0",
1111
]
1212

13+
[project]
14+
name = "robot-log-visualizer"
15+
description = "Visualizer for robot logger"
16+
readme = "README.md"
17+
requires-python = ">=3.8"
18+
license = { file = "LICENSE" }
19+
authors = [
20+
{ name = "Giulio Romualdi", email = "giulio.romualdi@gmail.com" },
21+
]
22+
keywords = [
23+
"robotics",
24+
"visualization",
25+
]
26+
classifiers = [
27+
"Development Status :: 4 - Beta",
28+
"Operating System :: OS Independent",
29+
"Topic :: Scientific/Engineering :: Visualization",
30+
"Topic :: Software Development",
31+
"Framework :: Robot Framework",
32+
"Intended Audience :: Developers",
33+
"Intended Audience :: Science/Research",
34+
"Programming Language :: Python :: 3.8",
35+
"Programming Language :: Python :: 3.9",
36+
"Programming Language :: Python :: 3.10",
37+
"Programming Language :: Python :: 3 :: Only",
38+
]
39+
dependencies = [
40+
"idyntree >= 10.2.0",
41+
"meshcat",
42+
"numpy",
43+
"PyQt5",
44+
"PyQtWebEngine",
45+
"qtpy",
46+
"pyqtconsole",
47+
"h5py",
48+
"pyqtgraph",
49+
]
50+
dynamic = ["version"]
51+
52+
[project.urls]
53+
Homepage = "https://github.com/gbionics/robot-log-visualizer"
54+
Changelog = "https://github.com/gbionics/robot-log-visualizer/releases"
55+
Tracker = "https://github.com/gbionics/robot-log-visualizer/issues"
56+
Source = "https://github.com/gbionics/robot-log-visualizer"
57+
58+
[project.scripts]
59+
robot-log-visualizer = "robot_log_visualizer.__main__:main"
60+
61+
[tool.setuptools]
62+
include-package-data = true
63+
packages = { find = {} }
64+
65+
[tool.setuptools.package-data]
66+
"*" = ["*.png", "*.svg", "*.ui"]
67+
1368
[tool.setuptools_scm]
1469
local_scheme = "dirty-tag"
70+
71+
[tool.pixi.workspace]
72+
channels = ["conda-forge"]
73+
platforms = ["linux-64", "osx-64", "win-64"]
74+
75+
[tool.pixi.pypi-dependencies]
76+
robot-log-visualizer = { path = ".", editable = true }
77+
78+
[tool.pixi.tasks]
79+
80+
[tool.pixi.dependencies]
81+
numpy = "*"
82+
qtpy = "*"
83+
pyqt = "*"
84+
pyqtwebengine = "*"
85+
pyside2 = "*"
86+
pyqtgraph = "*"
87+
matplotlib = "*"
88+
h5py = "*"
89+
gst-plugins-good = "*"
90+
gst-plugins-bad = "*"
91+
idyntree = "*"
92+
pyqtconsole = "*"
93+
meshcat-python = "*"
94+

setup.cfg

Lines changed: 0 additions & 59 deletions
This file was deleted.

0 commit comments

Comments
 (0)