8000 dev_environment.py · Issue #6754 · IfcOpenShell/IfcOpenShell · GitHub
[go: up one dir, main page]

Skip to content
dev_environment.py #6754
@Andrej730

Description

@Andrej730

Feature Description

Looking at https://github.com/IfcOpenShell/IfcOpenShell/blob/v0.8.0/src/bonsai/scripts/installation/dev_environment.bat and https://github.com/IfcOpenShell/IfcOpenShell/blob/v0.8.0/src/bonsai/scripts/installation/dev_environment.sh for a while and I was thinking maybe we can simplify it by replacing them with 1 Python script dev_environment.py?

It would help to make it's behaviour more consistent - currently we need to keep an eye on both scripts and basically translate the same program to two languages and cmd and sh act a bit different in general. And that would keep it in the language we probably like the most - Python.
Yes, it would require from user to have Python on their system, but is it a big deal?

Back then we didn't had https://github.com/IfcOpenShell/bonsai_unstable_repo and dev environment was the only way for users to get new Bonsai versions semi-automatically, so it made more sense to have .sh and .bat - to allow any non-dev user would be able to plug it in. But now dev environment doesn't have this role anymore and it's only for users who's involved in the development more closely.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Rel 2D88 ationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0