Skip to content

Commit

Permalink
publish
Browse files Browse the repository at this point in the history
  • Loading branch information
rtmigo committed May 27, 2021
1 parent 7de1d5d commit a4b558a
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
14 changes: 11 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,9 @@ $ vien create
```

By default, the current **working directory** is assumed to be the
**project directory**. This can be changed using the `-p` parameter.
**project directory**.

Alternatively you can use `-p` parameter.

``` bash
$ vien -p /abc/myProject create
Expand All @@ -136,6 +138,12 @@ $ vien -p /abc/myProject create

The `-p` parameter works with all commands, not just `create`.

``` bash
$ cd /other/working/dir
$ vien -p /abc/myProject create
$ vien -p /abc/myProject shell
```

### "create": choose the Python version

If you have more than one Python installed, you can provide an argument to point
Expand Down Expand Up @@ -255,8 +263,8 @@ $ vien call -m /abc/myProject/pkg/sub/module.py
- `module.py` must be located somewhere inside the `/abc/myProject`
- parent subdirectories such as `pkg` and `sub` must be importable, i.e. must contain
`__init__.py`
- the project directory will be inserted into `$PYTHONPATH` making the module
visible
- the project directory will be inserted into `$PYTHONPATH`, making
`pkg.sub.module` resolvable from `/abc/myProject` to a file

The project directory can be specified not only by the working directory,
but also by the `-p` parameter.
Expand Down
1 change: 1 addition & 0 deletions vien/_constants.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
__version__ = "8.0.3"
__copyright__ = "(c) 2020-2021 Artëm IG <github.com/rtmigo>"
__license__ = "BSD-3-Clause"

0 comments on commit a4b558a

Please sign in to comment.