mirror of
https://github.com/enpaul/tox-poetry-installer.git
synced 2024-10-29 19:47:00 +00:00
Ethan Paul
872f6b0892
When running 'poetry remove tox-poetry-installer' in the same env as poetry is installed to, poetry will uninstall itself. This is, obviously, not ideal. This change makes poetry an optional dependency so that the plugin can be installed (and uninstalled) alongside poetry in the same env without breaking the poetry installation. The intention is that the plugin can be installed with the 'poetry' extra when being installed to an isolated environment where poetry is not otherwise available. This is a mitigation of Issue #2 as an alternative to vendorization of the enitre poetry project 😬
63 lines
1.7 KiB
TOML
63 lines
1.7 KiB
TOML
[tool.poetry]
|
|
name = "tox-poetry-installer"
|
|
version = "0.5.2"
|
|
license = "MIT"
|
|
authors = ["Ethan Paul <24588726+enpaul@users.noreply.github.com>"]
|
|
description = "Tox plugin to install Tox environment dependencies using the Poetry backend and lockfile"
|
|
repository = "https://github.com/enpaul/tox-poetry-installer/"
|
|
packages = [
|
|
{include = "tox_poetry_installer"},
|
|
{include = "tests/*.py", format = "sdist"}
|
|
]
|
|
include = [
|
|
"tox_poetry_installer/py.typed"
|
|
]
|
|
keywords = ["tox", "poetry", "plugin"]
|
|
readme = "README.md"
|
|
classifiers = [
|
|
"Development Status :: 3 - Alpha",
|
|
"Environment :: Plugins",
|
|
"Framework :: tox",
|
|
"Intended Audience :: Developers",
|
|
"License :: OSI Approved :: MIT License",
|
|
"Natural Language :: English",
|
|
"Operating System :: OS Independent",
|
|
"Programming Language :: Python :: 3.6",
|
|
"Programming Language :: Python :: 3.7",
|
|
"Programming Language :: Python :: 3.8",
|
|
"Programming Language :: Python :: 3.9",
|
|
"Programming Language :: Python :: Implementation :: CPython",
|
|
]
|
|
|
|
[tool.poetry.plugins.tox]
|
|
poetry_installer = "tox_poetry_installer"
|
|
|
|
[tool.poetry.extras]
|
|
poetry = ["poetry"]
|
|
|
|
[tool.poetry.dependencies]
|
|
python = "^3.6.1"
|
|
poetry = {version = "^1.0.0", optional = true}
|
|
poetry-core = "^1.0.0"
|
|
tox = "^3.0.0"
|
|
|
|
[tool.poetry.dev-dependencies]
|
|
bandit = "^1.6.2"
|
|
black = { version = "^20.8b1", allow-prereleases = true }
|
|
blacken-docs = "^1.8.0"
|
|
ipython = { version = "^7.18.1", python = "^3.7" }
|
|
mypy = "^0.782"
|
|
pre-commit = "^2.7.1"
|
|
pre-commit-hooks = "^3.3.0"
|
|
pylint = "^2.4.4"
|
|
pytest = "^6.0.2"
|
|
pytest-cov = "^2.10.1"
|
|
reorder-python-imports = "^2.3.5"
|
|
safety = "^1.9.0"
|
|
toml = "^0.10.1"
|
|
tox = "^3.20.0"
|
|
|
|
[build-system]
|
|
requires = ["poetry-core>=1.0.0"]
|
|
build-backend = "poetry.core.masonry.api"
|