39 lines
893 B
TOML
39 lines
893 B
TOML
[tool.poetry]
|
|
name = "my-package"
|
|
version = "1.2.3"
|
|
description = "Some description."
|
|
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"]
|
|
|
|
classifiers = [
|
|
"Topic :: Software Development :: Build Tools",
|
|
"Topic :: Software Development :: Libraries :: Python Modules"
|
|
]
|
|
|
|
# Requirements
|
|
[tool.poetry.dependencies]
|
|
python = "~2.7 || ^3.4"
|
|
# File dependency
|
|
demo = { path = "../distributions/demo-0.1.0-py2.py3-none-any.whl" }
|
|
|
|
# Dir dependency with setup.py
|
|
project-with-setup = { path = "../project_with_setup/" }
|
|
|
|
|
|
[tool.poetry.scripts]
|
|
my-script = "my_package:main"
|
|
|
|
|
|
[tool.poetry.plugins."blogtool.parsers"]
|
|
".rst" = "some_module::SomeClass"
|