compas-dev / compas-dev/compas

Incorrect detection of Rhino

Open
#1,092 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
386
Forks
122
Avg merge
11d 46m
Merged PRs (30d)
1

Description

**Describe the bug**
If [Rhino-stubs](https://pypi.org/project/Rhino-stubs/) are installed on the cpython environment, compas will incorrectly assume that it is inside Rhino (`compas.RHINO == True`)

To reproduce:
* Install Rhino-stubs in an environment
* Start python and run `from compas.geometry import Box`

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.