Skip to content

Commit

Permalink
Replace setup files with pyproject.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
rashatwi committed Apr 25, 2024
1 parent 0f1859a commit a5760fa
Show file tree
Hide file tree
Showing 3 changed files with 69 additions and 46 deletions.
70 changes: 69 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,72 @@
[build-system]
requires = ["setuptools", "wheel"]
build-backend = "setuptools.build_meta"

[project]
name = "mispr"
authors = [
{name = "Rasha Atwi", email = "[email protected]"},
{name = "Matthew Bliss", email = "[email protected]"}
]
maintainers = [
{name = "Rasha Atwi", email = "[email protected]"},
{name = "Matthew Bliss", email = "[email protected]"}
]
dynamic = ["version"]
description = "mispr contains FireWorks workflows for Materials Science"
readme = "README.md"
license = { text = "MIT" }
keywords = ["dft", "md", "lammps", "gaussian", "high-throughput", "workflow", "materials science"]
classifiers = [
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Development Status :: 3 - Alpha",
"Intended Audience :: Science/Research",
"Intended Audience :: Information Technology",
"Operating System :: OS Independent",
"Topic :: Scientific/Engineering",
]
requires-python = ">=3.9, <3.13"
dependencies = [
"numpy >= 1.21.1",
"pymongo>=3.3.0,<=3.12.0",
"matplotlib >= 3.3.1",
"networkx >= 2.5",
"FireWorks >= 2.0.3",
"scipy >= 1.5.2",
"pandas >= 1.1.2",
"pubchempy",
"parmed",
"mdproptools",
"dnspython",
"ruamel.yaml>=0.15.35,<=0.17.40", # should be removed in the future, but is needed since FireWorks has not updated their function calls to match newer versions of ruamel.yaml
]

[project.optional-dependencies]
dev = ["black>=23.3.0", "isort>=5.10.0"]

[tool.setuptools.package-data]
"mispr.gaussian.data" = ["*.bib"]
"mispr.lammps.data" = ["*.json"]

[project.urls]
repository = "https://github.com/molmd/mispr"
documentation = "https://molmd.github.io/mispr/"
changelog = "https://github.com/molmd/mispr/blob/master/CHANGELOG.md"

[tool.setuptools]
license-files = ["LICENSE"]
include-package-data = true

[tool.setuptools.dynamic]
version = {attr = "mispr.__version__"}

[tool.setuptools.packages.find]
namespaces = false

[tool.isort]
profile = "black"
multi_line_output = 3
Expand All @@ -19,6 +88,5 @@ known_custodian = ["custodian"]
known_mdproptools = ["mdproptools"]
known_mispr = ["mispr"]


[tool.black]
line-length = 88
2 changes: 0 additions & 2 deletions setup.cfg

This file was deleted.

43 changes: 0 additions & 43 deletions setup.py

This file was deleted.

0 comments on commit a5760fa

Please sign in to comment.