Skip to content

Improve Python interpreter detection and exclude virtual environments #279

Description

@leobz

The current build configuration has two issues:

  1. Python interpreter detection: The Makefile relies on the python alias, which may not exist on some systems. To ensure compatibility, it should use python3 when available, while still supporting the python alias if present.

  2. Virtual environment tracking: The venv/ directory appears in git status as untracked files, which should not be version controlled.

Solution

Update Makefile to automatically detect python3 with fallback to python.

Add venv/ to .gitignore to exclude virtual environment files.

Impact

Improves compatibility across different Python environments.

Prevents accidental commit of virtual environment files.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions