Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Publish with poetry #1634

Closed
81 changes: 81 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,86 @@
[tool.poetry]
name = "cookiecutter"
version = "2.0.2"

description = """\
A command-line utility that creates projects from project \
templates, e.g. creating a Python package project from a \
Python package project template.\
"""

authors = [
"Audrey Roy Greenfeld <audreyr@gmail.com>"
]

license = "BSD"
readme = "README.md"

packages = [
{ include = "cookiecutter" }
]

homepage = "https://github.com/cookiecutter/cookiecutter"
documentation = "https://cookiecutter.readthedocs.io"

keywords = [
"cookiecutter",
"Python",
"projects",
"project templates",
"Jinja2",
"skeleton",
"scaffolding",
"project directory",
"package",
"packaging"
]

classifiers = [
"Development Status :: 5 - Production/Stable",
"Environment :: Console",
"Intended Audience :: Developers",
"Natural Language :: English",
"License :: OSI Approved :: BSD License",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
"Topic :: Software Development",
]


[tool.poetry.build]
generate-setup-file = false


[tool.poetry.dependencies]
python = ">=3.6"

binaryornot = ">=0.4.4"
Jinja2 = ">=2.7,<4.0.0"
click = ">=7.0,<8.0.0"
pyyaml = ">=5.3.1"
jinja2-time = ">=0.2.0"
python-slugify = ">=4.0.0"
requests = ">=2.23.0"


[tool.poetry.dev-dependencies]
pytest = "*"
pytest-cov = "*"
pytest-mock = "*"
freezegun = "*"


[tool.poetry.scripts]
cookiecutter = "cookiecutter.__main__:main"


[tool.black]
skip-string-normalization = true
exclude = '/(tests/hooks-abort-render/hooks|docs\/HelloCookieCutter1)/'
line-length = 88
target-version = ['py39']


[build-system]
requires = ["poetry-core~=1.0"]
build-backend = "poetry.core.masonry.api"