Skip to content

Commit

Permalink
fix pypi and bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Fowlie committed Jul 3, 2023
1 parent 75bf8a1 commit 28bde33
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 13 deletions.
24 changes: 13 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,26 +2,31 @@

_👀 Manage Python virtual environments_

A command line application to manage Python virtual envionrments (venvs).
## Install 💥

```bash
pipx install venvmgr
```

# Usage

Create a venv:
Create a venv named `example` using venvmgr

```bash
$ vm create example
```
Use it:
Use it using venvmgr

```bash
$ vm python --venv example code.py
```

The assoications between files and venvs is recorded, such that
The associations between files and venvs are recorded so that

```bash
$ vm python code.py
```

uses the `example` venv. We might want install packages in this venv, e.g.,
now uses the `example` venv. We might want to install packages in this venv, e.g.,

```bash
$ vm pip --venv example scipy
Expand All @@ -36,15 +41,12 @@ created at 2023-07-03 12:07:48.872147
activate: source /home/user/.venvmgr/example/bin/activate
used by: /home/user/code.py
```
For more information, try `vm ls -l`.

Lastll, we might want to activate this venv
Lastly, we might want to activate this venv

```bash
$ vm activate example
```

## Install 💥

```bash
pipx install venvmgr
```
5 changes: 4 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,11 @@ build-backend = "setuptools.build_meta"

[project]
name = "venvmgr"
version = "0.1.0"
dependencies = ["click"]
authors = [{ name = "Andrew Fowlie", email = "andrew.fowlie@xjtlu.edu.cn" }]
readme = "README.md"
license = { file = "LICENSE" }
dynamic = ["version", "description"]

[project.scripts]
vm = "venvmgr.cli:commands"
15 changes: 15 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
[metadata]
name = venvmgr
version = 0.1.1
author = Andrew Fowlie
author_email = andrew.j.fowlie@gmail.com
description = Manage Python virtual environments
long_description = file: README.md
long_description_content_type = text/markdown
url = https://github.com/andrewfowlie/venvmgr
project_urls =
Bug Tracker = https://github.com/andrewfowlie/venvmgr/issues
classifiers =
Programming Language :: Python :: 3
License :: OSI Approved :: MIT License
Operating System :: OS Independent
2 changes: 1 addition & 1 deletion src/venvmgr/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
from . import config


__version__ = "0.1.0"
__version__ = "0.1.1"


def get_venv_names(ctx, args, incomplete):
Expand Down

0 comments on commit 28bde33

Please sign in to comment.