Skip to content

Commit

Permalink
non-dynamic readme; py 3.13; todos; don't need setuptools or wheel in…
Browse files Browse the repository at this point in the history
… env
  • Loading branch information
jhkennedy committed Oct 10, 2024
1 parent 95778d6 commit 8aa9859
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
3 changes: 1 addition & 2 deletions {{cookiecutter.__project_name}}/environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,10 @@ dependencies:
- pip
# For packaging, and testing
- ruff
- setuptools
- setuptools_scm
- wheel
- pytest
- pytest-console-scripts
- pytest-cov
# For running
- hyp3lib>=3,<4
# TODO: # TODO: insert conda-forge dependencies as list here
9 changes: 4 additions & 5 deletions {{cookiecutter.__project_name}}/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "{{ cookiecutter.__package_name }}"
readme = "README.md"
requires-python = ">=3.10"
authors = [
{name="{{ cookiecutter.github_username }}", email="{{ cookiecutter.github_email }}"},
Expand All @@ -19,12 +20,13 @@ classifiers=[
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
]
dependencies = [
"hyp3lib>=3,<4",
# insert python dependencies as list here
# TODO: insert Python dependencies as list here
]
dynamic = ["version", "readme"]
dynamic = ["version"]

[project.optional-dependencies]
develop = [
Expand All @@ -46,9 +48,6 @@ script_launch_mode = "subprocess"
include-package-data = true
zip-safe = false

[tool.setuptools.dynamic]
readme = {file = ["README.md"], content-type = "text/markdown"}

[tool.setuptools.packages.find]
where = ["src"]

Expand Down

0 comments on commit 8aa9859

Please sign in to comment.