Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ updates:
schedule:
interval: "monthly"
time: "00:10"
- package-ecosystem: "pip"
- package-ecosystem: "uv"
directory: "/"
schedule:
interval: "monthly"
Expand Down
107 changes: 22 additions & 85 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,89 +1,26 @@
[project]
# For more information on package metadata see:
#
# * https://packaging.python.org/specifications/core-metadata/
#
# For even greater information on this file, see the pypa/sampleproject:
#
# * https://github.com/pypa/sampleproject/blob/fc8d83efd5749853507be959d858629d0aaf5c6e/pyproject.toml
#

# Required.
name = "python-repo-template"

# Required.
#
# Version and packaging dependencies should be dynamically set by features in
# the package and using source control. This is the most reliable and accurate
# way to do this.
#
dynamic = ["version", "dependencies"]

# Optional.
description = "A one-line description of this Python project"

# Optional.
name = "template-py"
version = "0.1.0"
description = "Add your description here"
readme = "README.md"

# Supported python versions. Optional, but helpful.
requires-python = ">=3.10"

# Optional.
license = {file = "LICENSE.txt"}

# Optional.
keywords = ["template", "setuptools", "development"]

# Optional.
authors = [
{name = "A. Developer", email = "author_one@example.com" },
{name = "A.N. Other Developer", email = "author_two@example.com" },
requires-python = ">=3.12"
dependencies = []

[dependency-groups]
prod = []

local = [
"pdoc3==0.11.6",
"pip-upgrader==2.4.4",
"pre-commit==4.6.0",
"pylint==4.0.5",
"pytest<10.0.0",
"pytest-asyncio==1.3.0",
"pytest-cov==7.1.0",
"pytest-mock==3.15.1",
"pytest-random-order==1.2.0",
"tox==4.53.0",
]

# Optional. E.g. individual or organisation, e.g. app-support@organization.com.
maintainers = [
{name = "A. Project Maintainer", email = "maintainer@example.com" }
]

# Optional.
#
# For a list of valid classifiers, see https://pypi.org/classifiers/
#
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Topic :: Software Development :: Build Tools",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3 :: Only",
]

# Dependencies.
#
[tool.setuptools.dynamic]
dependencies = {file = ["requirements/requirements.txt"]}

# Optional.
#
[project.urls]
"Homepage" = "https://example.com/project/"
"Bug Reports" = "https://example.com/issues/"
"Funding" = "https://example.com/funding/"
"Say Thanks!" = "http://example.com/thanks/"
"Source" = "https://example.com/sourcecode/"

# Optional.
#
# Provide a command line executable called `template` which executes the
# function `main` from this package when invoked.
#
[project.scripts]
template = "template.template:main"

[build-system]
requires = ["setuptools>=74.0.0", "wheel>=0.44.0", "setuptools_scm[toml]>=8.1.0"]
build-backend = "setuptools.build_meta"

[tool.setuptools_scm]
[tool.uv]
default-groups = ["local", "prod"]
13 changes: 0 additions & 13 deletions requirements/local.txt

This file was deleted.

1 change: 0 additions & 1 deletion requirements/requirements.txt

This file was deleted.

Loading
Loading