Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Template + automation for Python packages installed with pip #1080

Open
Ana06 opened this issue Jun 6, 2024 · 1 comment
Open

Template + automation for Python packages installed with pip #1080

Ana06 opened this issue Jun 6, 2024 · 1 comment
Labels
💎 enhancement It is working, but it could be better 🏃 CI Related to CI

Comments

@Ana06
Copy link
Member

Ana06 commented Jun 6, 2024

Details

Code used by packages with tools installed with pip:

    VM-Pip-Install $toolName

    $executablePath = "$(where.exe $toolName)"
    $arguments = "--help"

    VM-Install-Shortcut $toolName $category $executablePath -consoleApp $true -arguments $arguments

Example: magika.vm

Create a package template, issue template & automation for this package type.

@Ana06 Ana06 added 💎 enhancement It is working, but it could be better 🏃 CI Related to CI labels Jun 6, 2024
@Ana06 Ana06 assigned Ana06 and unassigned Ana06 Jun 6, 2024
@Ana06
Copy link
Member Author

Ana06 commented Jun 7, 2024

With #1083, the installation code is now very simple:

VM-Install-With-Pip -toolName $toolName -category $category

The function supports arguments, that can be used if #1082 is implemented.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
💎 enhancement It is working, but it could be better 🏃 CI Related to CI
Projects
None yet
Development

No branches or pull requests

1 participant