Skip to content

Commit

Permalink
Migrate setup.py to pyproject.toml (thoth-station#311)
Browse files Browse the repository at this point in the history
  • Loading branch information
ChandanChainani committed Oct 10, 2022
1 parent 1dc9de8 commit af3103e
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 48 deletions.
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 = "thoth-analyzer"
description = "Analyzer library for project Thoht."
authors = [
{ name="Fridolin Pokorny", email="[email protected]" },
]
license = {text = "GPLv3+"}
readme = "README.rst"
dynamic = ["version", "dependencies"]

[tool.setuptools.dynamic]
version = {attr = "thoth.analyzer.__version__"}
dependencies = {file = ["requirements.txt"]}

[tool.setuptools]
zip-safe = false
packages = ["thoth.analyzer"]
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: thoth.analyzer.__version__
release = attr: thoth.analyzer.__version__
48 changes: 0 additions & 48 deletions setup.py

This file was deleted.

0 comments on commit af3103e

Please sign in to comment.