Open XavierGeerinck opened 3 years ago
Sorry, up till now the package should be an installer, source code or zip files are not supported. Maybe you need to wait for quite a long time.
@XavierGeerinck @lychichem is there any docs for me to generate exe or msi file for this (simple way) for my reference.
PackageIdentifier: PyenvWin.PyEnv
PackageVersion: 2.64.8
PackageLocale: en-US
Publisher: PyenvWin
PackageName: PyEnv
License: MIT
ShortDescription: Simple Python version management
Installers:
- Architecture: x64
InstallerType: Source Code + Path variable # installer type (example: "msix") # Need help: didn't understood what to add in these variables
# [System.Environment]::SetEnvironmentVariable('PYENV',$env:USERPROFILE + "\.pyenv\pyenv-win\","User")
# [System.Environment]::SetEnvironmentVariable('PYENV_HOME',$env:USERPROFILE + "\.pyenv\pyenv-win\","User")\
# [System.Environment]::SetEnvironmentVariable('path', $env:USERPROFILE + "\.pyenv\pyenv-win\bin;" + $env:USERPROFILE + "\.pyenv\pyenv-win\shims;" + [System.Environment]::GetEnvironmentVariable('path', "User"),"User")
InstallerUrl: https://github.com/pyenv-win/pyenv-win/releases/tag/v2.64.8
InstallerSha256: /# SHA256 hash calculated from installer
ManifestType: singleton
ManifestVersion: 1.0.0
@kirankotari Even if you can generate an installer for pyenv, it may still be blocked due to dependency on other packages (python). And I don't know where to find a doc for building msi...
Would be really nice to still be able to build this as this is useful for a lot of people (I linked the other issue here as well).
Note: https://github.com/pyenv-win/pyenv-win#get-pyenv-win shows how to install it. It is already supported on Chocolatey
cc @kirankotari @XavierGeerinck: seems like you'll have to wait for https://github.com/microsoft/winget-cli/issues/140.
@kirankotari Even if you can generate an installer for pyenv, it may still be blocked due to dependency on other packages (python). And I don't know where to find a doc for building msi...
No, This package is written in visual basic and batch which are window inbuilt languages. No external package dependency.
@kirankotari Even if you can generate an installer for pyenv, it may still be blocked due to dependency on other packages (python). And I don't know where to find a doc for building msi...
No, This package is written in visual basic and batch which are window inbuilt languages. No external package dependency.
@lychichem you are referring to a wrong link which is not for windows system. For pyenv-win which is pyenv for windows doesn't have dependency as such.
https://github.com/pyenv-win/pyenv-win https://github.com/pyenv/pyenv/issues/62
https://code.visualstudio.com/docs/python/environments also lists pyenv as an important tool
@kirankotari any possibility of being able to create an MSI installer for it?
As far as I can see, GitHub CLI has a workflow for it!
@Msftbot .zip
Are there any updates on this? It would be great to have!
any updates about this issue?
Although Zip packages have been unblocked, the installation instructions specify additional environment variables that need to be set other than just the PATH environment variable. This means that until an msi or exe installer is made available, WinGet still has no way to properly install the package
Package Requested
Manifest:
Fill out as much of the manifest metadata you can:
Note: This was started but never finished? https://github.com/pyenv-win/pyenv-win/issues/134