Skip to content

Commit

Permalink
Merge pull request #312 from ChandanChainani/feature/311/setup.py_to_…
Browse files Browse the repository at this point in the history
…pyproject.toml

Migrate setup.py to pyproject.toml (#311)
  • Loading branch information
harshad16 authored Oct 17, 2022
2 parents 1dc9de8 + 8809349 commit 51a8eeb
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 Thoth."
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 51a8eeb

Please sign in to comment.