Skip to content
This repository has been archived by the owner on Sep 29, 2024. It is now read-only.

Virtualenv plugin for discovery of Python interpreters through Rye.

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT
Notifications You must be signed in to change notification settings

bluss/virtualenv-rye-discovery

Repository files navigation

Note: This work is contributed to the community by implementing a solution and sharing it, long term maintainership is uncertain. Only published on github, not PyPI.

No longer maintained; I recommend using uv and tox-uv. New maintainers welcome to fork and take over.

virtualenv-rye-discovery

virtualenv plugin to allow discovery of versions through Rye - which can supply an installed version or fetch if missing.

Currently supports version specs like: py39, cpython39, pypy39.

This plugin was built to enable Tox version finding through rye. Tox 4 instructs that custom python finding happens through virtualenv: https://tox.wiki/en/latest/plugins.html

Example

See https://github.com/bluss/tox-rye for the tox configuration "interface" plugin for this - prefer installing it and use this functionality through it.

How to use this with virtualenv:

  1. Install Rye
  2. rye sync
  3. virtualenv --discovery rye -p 3.9 myenv

If --discovery can't be passed directly, then VIRTUALENV_DISCOVERY=rye cnn be explicitly set in the environment to enable.

Other

Requires rye >= 0.7

About

Virtualenv plugin for discovery of Python interpreters through Rye.

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Packages

No packages published