46 lines
1.1 KiB
TOML
46 lines
1.1 KiB
TOML
[tool.poetry]
|
|
name = "poetry"
|
|
version = "0.5.0"
|
|
description = "Python dependency management and packaging made easy."
|
|
authors = [
|
|
"Sébastien Eustace <sebastien@eustace.io>"
|
|
]
|
|
license = "MIT"
|
|
|
|
readme = "README.rst"
|
|
|
|
homepage = "https://python-poetry.org/"
|
|
repository = "https://github.com/python-poetry/poetry"
|
|
documentation = "https://python-poetry.org/docs"
|
|
|
|
keywords = ["packaging", "dependency", "poetry"]
|
|
|
|
# Requirements
|
|
[tool.poetry.dependencies]
|
|
python = "~2.7 || ^3.2" # Compatible python versions must be declared here
|
|
toml = "^0.9"
|
|
# Dependencies with extras
|
|
requests = { version = "^2.13", extras = [ "security" ] }
|
|
# Python specific dependencies with prereleases allowed
|
|
pathlib2 = { version = "^2.2", python = "~2.7", allow-prereleases = true }
|
|
# Git dependencies
|
|
cleo = { git = "https://github.com/sdispater/cleo.git", branch = "master" }
|
|
|
|
# Optional dependencies (extras)
|
|
pendulum = { version = "^1.4", optional = true }
|
|
|
|
[tool.poetry.extras]
|
|
time = [ "pendulum" ]
|
|
|
|
[tool.poetry.dev-dependencies]
|
|
pytest = "^3.0"
|
|
pytest-cov = "^2.4"
|
|
|
|
[tool.poetry.scripts]
|
|
my-script = 'my_package:main'
|
|
|
|
|
|
[[tool.poetry.source]]
|
|
name = "foo"
|
|
url = "https://bar.com"
|