Skip to content

Commit

Permalink
Put the IPY guard back in backends import
Browse files Browse the repository at this point in the history
  • Loading branch information
yck011522 committed Jun 13, 2024
1 parent 3db9aa7 commit 20d947f
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions src/compas_fab/backends/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,13 +147,16 @@
Staubli_TX260LKinematics,
ABB_IRB4600_40_255Kinematics,
)
from .pybullet import (
PyBulletClient,
CollisionError,
PyBulletError,
PyBulletPlanner,
AnalyticalPyBulletClient,
)

if not compas.IPY:
# PyBullet do not work in IronPython
from .pybullet import (
PyBulletClient,
CollisionError,
PyBulletError,
PyBulletPlanner,
AnalyticalPyBulletClient,
)

__all__ = [
# Base
Expand Down

0 comments on commit 20d947f

Please sign in to comment.