Skip to main content

A simple setuptools command to help with virtualenv

Project description


A simple setuptools command to help with virtualenv


The objective of this utility is to provide means for easy creation of a virtual environment for local packages using python's standard venv module and to integrate with setuptools distribution model for seamless resolution and installation of dependencies.

How to use

Inside your package root folder execute the following to create the venv and install your package dependencies inside it:

python ./ venv

or (if your is executable)

./ venv

Currently updating dependencies inside the venv is not working correctly. It's recommended to recreate the venv to archive it.

(This will be fixed in a posterior version)

./ venv --rm && ./ venv


--env-name (-n)         Virtual environment name.
                        (DEFAULT: Project name)
--get-pip               Virtual env URL.
--extras (-e)           Comma separated list of extras to be installed.
--system-site-packages  Make the system (global) site-packages dir available to the
                        created environment.
--rm                    Remove virtual environment.
--editable              Install package to venv as editable.
--location (-l)         Retrieve virtual environment location.
--old-resolver          Force pip to use its old resolver.




Copyright (c) 2018-2020 Vítor Augusto da Silva Vasconcellos. All rights reserved.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release. See tutorial on generating distribution archives.

Built Distribution

venvtools-1.0.1-py3-none-any.whl (8.5 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page