diff --git a/CHANGELOG.md b/CHANGELOG.md index 2a0c3b2ed9f..649c6ce1316 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -16,6 +16,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed +* Fixed rhino packages installation to remove duplicates + ### Removed diff --git a/src/compas_rhino/install.py b/src/compas_rhino/install.py index 330372583e3..f29ae3d6314 100644 --- a/src/compas_rhino/install.py +++ b/src/compas_rhino/install.py @@ -247,7 +247,7 @@ def _filter_installable_packages(version, packages): if not packages: # Flatten list of results (resulting from collect_all pluggable) - packages = list(itertools.chain.from_iterable(installable_rhino_packages())) + packages = sorted(set(itertools.chain.from_iterable(installable_rhino_packages()))) elif 'compas_ghpython' in packages and ghpython_incompatible: print('Skipping installation of compas_ghpython since it\'s not supported for Rhino 5 for Mac')