Skip to content

Commit

Permalink
Add pyproject.toml, remove setup.py - refs #6
Browse files Browse the repository at this point in the history
  • Loading branch information
simonw committed Jan 16, 2024
1 parent 9ace751 commit f60389b
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 33 deletions.
24 changes: 24 additions & 0 deletions {{cookiecutter.hyphenated}}/pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
[project]
name = "{{ cookiecutter.hyphenated }}"
version = "0.1"
description = "{{ cookiecutter.description or "" }}"
readme = "README.md"
requires-python = ">=3.8"
authors = [{name = "{{ cookiecutter.author_name }}"}]
license = {text = "Apache-2.0"}
classifiers = [
"License :: OSI Approved :: Apache Software License"
]
dependencies = [

]
{% if cookiecutter.github_username %}
[project.urls]
Homepage = "https://github.com/{{ cookiecutter.github_username }}/{{ cookiecutter.hyphenated }}"
Changelog = "https://github.com/{{ cookiecutter.github_username }}/{{ cookiecutter.hyphenated }}/releases"
Issues = "https://github.com/{{ cookiecutter.github_username }}/{{ cookiecutter.hyphenated }}/issues"
CI = "https://github.com/{{ cookiecutter.github_username }}/{{ cookiecutter.hyphenated }}/actions"
{% endif %}

[project.optional-dependencies]
test = ["pytest"]
33 changes: 0 additions & 33 deletions {{cookiecutter.hyphenated}}/setup.py

This file was deleted.

1 comment on commit f60389b

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.