Last active
December 11, 2023 21:11
-
-
Save jwbargsten/3c32f45dd3dc2e0259dd13249d2b4420 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# https://setuptools.pypa.io/en/latest/userguide/pyproject_config.html | |
[tool.pytest.ini_options] | |
pythonpath = [ "src", "tests" ] | |
norecursedirs = [ | |
"tests/testkit" | |
] | |
[tool.black] | |
line-length=111 | |
[build-system] | |
requires = ["setuptools", "setuptools-scm"] | |
build-backend = "setuptools.build_meta" | |
[tool.coverage.paths] | |
source = ["src"] | |
[project] | |
name = "something-py" | |
dynamic = ["version"] | |
description = "does something" | |
authors = [ | |
{name = "Something Ltd.", email = "[email protected]"} | |
] | |
readme = "README.md" | |
requires-python = ">=3.11" | |
dependencies = [ | |
"pyyaml", | |
"msgspec", | |
"pyspark~=3.3.1", | |
] | |
# https://spdx.org/licenses/ | |
license = {text = "Apache-2.0"} | |
[project.urls] | |
homepage = "https://github.com/jwbargsten/..." | |
repository = "https://github.com/jwbargsten/..." | |
[project.optional-dependencies] | |
dev = [ | |
"coverage", | |
"flake8", | |
"black", | |
"isort", | |
"pytest>=7", | |
"setuptools_scm", | |
"flake8-docstrings", | |
"flake8-bugbear" | |
] | |
docs = [ | |
"sphinx", | |
"myst-parser" | |
] | |
build = [ | |
"build", | |
"twine", | |
"tomli" | |
] | |
[tool.isort] | |
profile = "black" | |
[tool.setuptools_scm] | |
write_to = "src/something/_version.py" | |
# optional | |
[tool.setuptools.package-data] | |
"something.assets" = ["*.png"] | |
# optional | |
[project.scripts] | |
something = "something.cli:main" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment