# virtualenv-asdf
A [virtualenv][virtualenv] Python discovery plugin using [asdf][asdf]
## Installation
```shell
pip install virtualenv-asdf
```
## Usage
The Python discovery mechanism can be specified by:
* the CLI option `--discovery`:
```shell
virtualenv --discovery asdf -p 3.10 testenv
```
* the environment variable `VIRTUALENV_DISCOVERY`:
```shell
export VIRTUALENV_DISCOVERY=asdf
virtualenv -p 3.10 testenv
```
* the [config][virtualenv-docs-config-file] option `discovery`:
```ini
[virtualenv]
discovery = asdf
```
```shell
virtualenv asdf -p 3.10 testenv
```
The Python version can be expressed using either 2 or 3 version segments:
* `-p 3.9`
* `-p 3.9.3`
In the former case, the latest version found will be used.
## Limitations
Only CPython is supported at the moment.
NOTE: this package derived from [virtualenv-pyenv][virtualenv-pyenv] by un.def
[virtualenv]: https://virtualenv.pypa.io/
[asdf]: https://github.com/asdf-vm/asdf
[virtualenv-docs-config-file]: https://virtualenv.pypa.io/en/latest/cli_interface.html#configuration-file
[virtualenv-pyenv]: https://github.com:/un-def/virtualenv-pyenv
Raw data
{
"_id": null,
"home_page": "https://github.com/lanshark/virtualenv-asdf",
"name": "virtualenv-asdf",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.7,<4.0",
"maintainer_email": "",
"keywords": "virtualenv,asdf",
"author": "Scott Sharkey",
"author_email": "ssharkey@lanshark.com",
"download_url": "https://files.pythonhosted.org/packages/71/7f/975605b3ef5648d0aa583706c491975e95e96e99bf51cfe5b44fdaf162ab/virtualenv_asdf-0.1.0.tar.gz",
"platform": null,
"description": "# virtualenv-asdf\n\nA [virtualenv][virtualenv] Python discovery plugin using [asdf][asdf]\n\n## Installation\n\n```shell\npip install virtualenv-asdf\n```\n\n## Usage\n\nThe Python discovery mechanism can be specified by:\n\n* the CLI option `--discovery`:\n ```shell\n virtualenv --discovery asdf -p 3.10 testenv\n ```\n\n* the environment variable `VIRTUALENV_DISCOVERY`:\n ```shell\n export VIRTUALENV_DISCOVERY=asdf\n virtualenv -p 3.10 testenv\n ```\n\n* the [config][virtualenv-docs-config-file] option `discovery`:\n ```ini\n [virtualenv]\n discovery = asdf\n ```\n\n ```shell\n virtualenv asdf -p 3.10 testenv\n ```\n\nThe Python version can be expressed using either 2 or 3 version segments:\n\n* `-p 3.9`\n* `-p 3.9.3`\n\nIn the former case, the latest version found will be used.\n\n## Limitations\n\nOnly CPython is supported at the moment.\n\n\nNOTE: this package derived from [virtualenv-pyenv][virtualenv-pyenv] by un.def\n\n[virtualenv]: https://virtualenv.pypa.io/\n[asdf]: https://github.com/asdf-vm/asdf\n[virtualenv-docs-config-file]: https://virtualenv.pypa.io/en/latest/cli_interface.html#configuration-file\n[virtualenv-pyenv]: https://github.com:/un-def/virtualenv-pyenv\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "A virtualenv Python discovery plugin using asdf",
"version": "0.1.0",
"split_keywords": [
"virtualenv",
"asdf"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "35dec761e14024eba6a983906fcf8ea4ec4231b44765cd3290852528a9d2e452",
"md5": "287d27f2ffc01a9db43eaaab25e1cd28",
"sha256": "f6b6960060e4dae51d0de66fadb73275015bd6ad5011067c6bb1e67fb032387e"
},
"downloads": -1,
"filename": "virtualenv_asdf-0.1.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "287d27f2ffc01a9db43eaaab25e1cd28",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.7,<4.0",
"size": 3841,
"upload_time": "2023-03-20T01:21:17",
"upload_time_iso_8601": "2023-03-20T01:21:17.860728Z",
"url": "https://files.pythonhosted.org/packages/35/de/c761e14024eba6a983906fcf8ea4ec4231b44765cd3290852528a9d2e452/virtualenv_asdf-0.1.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "717f975605b3ef5648d0aa583706c491975e95e96e99bf51cfe5b44fdaf162ab",
"md5": "67c88000cfc2a5168649146b048edb6b",
"sha256": "092bb8ac36e4d7bc43e4dabf589c19d5ead25a1dcda3551c6e708ea3dc88e2ea"
},
"downloads": -1,
"filename": "virtualenv_asdf-0.1.0.tar.gz",
"has_sig": false,
"md5_digest": "67c88000cfc2a5168649146b048edb6b",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.7,<4.0",
"size": 3711,
"upload_time": "2023-03-20T01:21:19",
"upload_time_iso_8601": "2023-03-20T01:21:19.565895Z",
"url": "https://files.pythonhosted.org/packages/71/7f/975605b3ef5648d0aa583706c491975e95e96e99bf51cfe5b44fdaf162ab/virtualenv_asdf-0.1.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-03-20 01:21:19",
"github": true,
"gitlab": false,
"bitbucket": false,
"github_user": "lanshark",
"github_project": "virtualenv-asdf",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "virtualenv-asdf"
}