Skip to content

Commit

Permalink
Update pyproject.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
marcomusy committed Jan 26, 2025
1 parent 67c7be9 commit fc55b89
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 4 deletions.
1 change: 1 addition & 0 deletions docs/changes.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ Examples that are not fully functional and need some fixing:
markpoint.py (misplaced leader indicator)
cut_and_cap.py (incomplete capping)
tests/issues/discussion_800.py (incomplete capping of tube)
advanced/warp4b.py (probs with picker?)
```


Expand Down
3 changes: 2 additions & 1 deletion examples/simulations/multiple_pendulum.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import numpy as np
from vedo import Plotter, mag, versor, vector
from vedo import Cylinder, Spring, Line, Box, Sphere
from vedo import Cylinder, Line, Box, Sphere


############## Constants
N = 5 # number of bobs
Expand Down
12 changes: 10 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,25 @@ build-backend = "setuptools.build_meta"

[project]
name = "vedo"

dynamic = ["version"]

description = "A python module for scientific visualization, analysis of 3D objects and point clouds."

authors = [
{name = "Marco Musy", email = "[email protected]"}
]

maintainers = [
{name = "Marco Musy", email = "[email protected]"}
]

readme = "README.md"
requires-python = ">=3.7"
license = {file = "LICENSE"}

keywords = ["vtk", "3d", "visualization", "mesh", "volume", "point-cloud"]

classifiers = [
"Intended Audience :: Science/Research",
"Development Status :: 5 - Production/Stable",
Expand All @@ -30,9 +37,10 @@ classifiers = [
"Topic :: Scientific/Engineering :: Physics",
"Topic :: Scientific/Engineering :: Medical Science Apps."
]

dependencies = [
"vtk>=9.0.0",
"pillow",
"vtk",
"numpy",
"typing-extensions",
"Pygments"
]
Expand Down
1 change: 1 addition & 0 deletions tests/pipeline.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ export VEDOLOGFILE=$VEDODIR/output_vedo_test.txt
cd $VEDODIR
pip install -q -e .
pip install treelib
pip install colorcet
pip install scikit-image
pip install scikit-learn
pip install nevergrad -U
Expand Down
5 changes: 5 additions & 0 deletions vedo/plotter.py
Original file line number Diff line number Diff line change
Expand Up @@ -2828,6 +2828,11 @@ def timer_callback(self, action: str, timer_id=None, dt=1, one_shot=False) -> in
![](https://vedo.embl.es/images/advanced/timer_callback1.jpg)
"""
if action in ("create", "start"):

if "Windows" in vedo.sys_platform:
# otherwise on windows it gets stuck
self.initialize_interactor()

if timer_id is not None:
vedo.logger.warning("you set a timer_id but it will be ignored.")
if one_shot:
Expand Down
2 changes: 1 addition & 1 deletion vedo/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
_version = '2024.5.2+dev22'
_version = '2024.5.2+dev23'

0 comments on commit fc55b89

Please sign in to comment.