Skip to content

Commit

Permalink
adds {{cookiecutter.project_slug}}/pyproject.toml & locally tested; r…
Browse files Browse the repository at this point in the history
…emoves setup.cfg&setup.py (#69)
  • Loading branch information
mxochicale committed Jul 27, 2023
1 parent 2d15ec4 commit 83d0cb6
Show file tree
Hide file tree
Showing 3 changed files with 42 additions and 74 deletions.
42 changes: 42 additions & 0 deletions {{cookiecutter.project_slug}}/pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"

[project]
name = "{{ cookiecutter.project_name.lower().replace(' ', '_').replace('-', '_') }}"
description= "{{ cookiecutter.project_description }}"
authors=[
{name="{{ cookiecutter.full_name }}", email="[email protected]"},
]
license={text="{{ cookiecutter.open_source_license }}"}
keywords=["medical imaging"]
classifiers=[
"Development Status :: 2 - Pre-Alpha",
"Programming Language :: Python",
'Intended Audience :: Developers',
'Intended Audience :: Healthcare Industry',
'Intended Audience :: Information Technology',
'Intended Audience :: Science/Research',
"Topic :: Scientific/Engineering :: Information Analysis",
"Topic :: Scientific/Engineering :: Medical Science Apps.",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
{% if cookiecutter.open_source_license == 'BSD-3 license' %}"License :: OSI Approved :: BSD License",
{% elif cookiecutter.open_source_license == 'Apache Software License 2.0' %}"License :: OSI Approved :: Apache Software License",
{% elif cookiecutter.open_source_license == 'GNU General Public License v3' %}"License :: OSI Approved :: GNU General Public License v3 (GPLv3)", {% endif %}
]
dependencies = [
"numpy",
]
dynamic = [
"version",
]

[project.urls]
homepage = "{{ cookiecutter.project_url }}"

[tool.setuptools.packages.find]
include=[""]
exclude=["doc", "tests"]

[project.scripts]
{{ cookiecutter.pkg_name }}="{{ cookiecutter.pkg_name }}.__main__:main"
8 changes: 0 additions & 8 deletions {{cookiecutter.project_slug}}/setup.cfg

This file was deleted.

66 changes: 0 additions & 66 deletions {{cookiecutter.project_slug}}/setup.py

This file was deleted.

0 comments on commit 83d0cb6

Please sign in to comment.