https://github.com/sinoroc/ve
Create Python virtual environments
https://github.com/sinoroc/ve
Last synced: 2 days ago
JSON representation
Create Python virtual environments
- Host: GitHub
- URL: https://github.com/sinoroc/ve
- Owner: sinoroc
- License: apache-2.0
- Created: 2019-11-17T17:46:09.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-04-22T15:09:29.000Z (about 6 years ago)
- Last Synced: 2025-11-28T12:10:39.404Z (6 months ago)
- Language: Python
- Homepage: https://pypi.org/project/ve/
- Size: 16.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
- Changelog: CHANGELOG.rst
- License: LICENSE.txt
Awesome Lists containing this project
README
..
.. contents::
.. sectnum::
Repositories
============
Distributions
-------------
* https://pypi.org/project/ve/
Source code
-----------
* https://gitlab.com/sinoroc/ve
* https://github.com/sinoroc/ve
Usage
=====
.. code::
$ ve -h
usage: ve [-h] [--version] [directory]
positional arguments:
directory create the virtual environment in this directory (default .venv)
optional arguments:
-h, --help show this help message and exit
--version show program's version number and exit
Hacking
=======
This project makes extensive use of `tox`_, `pytest`_, and `GNU Make`_.
Development environment
-----------------------
Use following command to create a Python virtual environment with all
necessary dependencies::
tox --recreate -e develop
This creates a Python virtual environment in the ``.tox/develop`` directory. It
can be activated with the following command::
. .tox/develop/bin/activate
Run test suite
--------------
In a Python virtual environment run the following command::
make review
Outside of a Python virtual environment run the following command::
tox --recreate
Build and package
-----------------
In a Python virtual environment run the following command::
make package
Outside of a Python virtual environment run the following command::
tox --recreate -e package
.. Links
.. _`GNU Make`: https://www.gnu.org/software/make/
.. _`pytest`: https://pytest.org/
.. _`tox`: https://tox.readthedocs.io/
.. EOF