Skip to content

Commit

Permalink
Merge pull request #5 from gsnoep/repackage_toml
Browse files Browse the repository at this point in the history
Switch old setuptools syntax with modern PEP standard
  • Loading branch information
gsnoep authored Oct 17, 2024
2 parents 7193e42 + ce2fd98 commit 51706e3
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 26 deletions.
39 changes: 39 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
[build-system]
#requires = ['setuptools>=38.3.0']
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"

[project]
name = "megpy"
version = "1.2.0"
description = "MEGPy"
readme = "README.md"
requires-python = ">=3"
license = { file = "LICENSE" }
keywords = ["fusion", "simulation", "toolkit", "equilibrium"]
authors = [
{ name = "Garud Snoep", email = "[email protected]" },
{ name = "Aaron Ho", email = "[email protected]" },
]
classifiers = [
"Programming Language :: Python :: 3",
"Operating System :: OS Independent",
]

dependencies = [
"numpy",
"pandas",
"xarray",
"scipy",
]

[project.optional-dependencies]
test = ["pytest"]

[project.urls]
"Homepage" = "https://github.com/gsnoep/megpy"
"Bug Reports" = "https://github.com/gsnoep/megpy/issues"
"Source" = "https://github.com/gsnoep/megpy"

[project.scripts]
megpy = "megpy.cli:parse"
26 changes: 0 additions & 26 deletions setup.py

This file was deleted.

0 comments on commit 51706e3

Please sign in to comment.