Skip to content

Commit

Permalink
Replaced setup.py by pyproject.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
tomsch420 committed Oct 24, 2023
1 parent 81bb094 commit 6826f27
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 40 deletions.
32 changes: 32 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
[build-system]
requires = ["setuptools", "setuptools-scm"]
build-backend = "setuptools.build_meta"

[project]
name = "random_events"
authors = [
{ name="Tom Schierenbeck", email="[email protected]" },
]
description = "Random random events for probabilistic reasoning"
readme = "README.md"
requires-python = ">=3.6"
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
]
keywords=["random events", "probabilistic machine learning", "probability theory", "variables",
"reasoning under uncertainty"]
dynamic = ["version"]

[project.urls]
"Source" = 'https://github.com/tomsch420/random-events'
"Bug Tracker" = 'https://github.com/tomsch420/random-events/issues'

[tool.setuptools.packages.find]
where = ["src"] # list of folders that contain the packages (["."] by default)
include = ["random_events*"]

[tool.setuptools.dynamic]
version = {attr = "random_events.__version__"}
dependencies = {file = "requirements.txt"}
40 changes: 0 additions & 40 deletions setup.py

This file was deleted.

0 comments on commit 6826f27

Please sign in to comment.