Skip to content

ermakov-oleg/tox-pipenv-install

Repository files navigation

tox-pipenv-install

PyPI version Python versions See Build Status on Travis CI codecov


Features

  • Easy installation of package dependencies from Pipfile and Pipfile.lock
  • Dependencies are installed only once, when creating an environment (to recreate use tox -r)

Installation

You can install "tox-pipenv-install" via pip from PyPI:

$ pip install tox-pipenv-install

Usage

Example:

Simple tox.ini file using pipenv to install dependencies:

[tox]
envlist = py36

[testenv]
deps =
    pipenv
commands =
  pipenv install --dev
  pytest ..

After plugin installation:

[tox]
envlist = py36

[testenv]
commands =
  pytest ..

The plugin implicitly installs pipenv and runs pipenv install --dev

Contributing

Contributions are very welcome. Tests can be run with tox, please ensure the coverage at least stays the same before you submit a pull request.

License

Distributed under the terms of the MIT license, "tox-pipenv-install" is free and open source software

Issues

If you encounter any problems, please file an issue along with a detailed description.