Skip to content
This repository has been archived by the owner on Jun 9, 2023. It is now read-only.

migrated project from setup.py to pyproject.toml #26

Merged
Merged
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
21 changes: 21 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"

[project]
name = "aicoe-hello-world"
description = "Hello World module of AICoE"
readme = "README.rst"
authors = [
{ name = "Harshad Reddy Nalla", email = "[email protected]" }
]
license = { text = "GPLv3+" }
dynamic = [ "version", "dependencies" ]

[tool.setuptools]
zip-safe = false
packages = ["aicoe.hello_world"]

[tool.setuptools.dynamic]
version = {attr = "aicoe.hello_world.__version__"}
dependencies = { file = ["requirements.txt"] }
3 changes: 3 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[build_sphinx]
version = attr: aicoe.hello_world.__version__
release = attr: aicoe.hello_world.__version__
48 changes: 0 additions & 48 deletions setup.py

This file was deleted.