-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace setup files with pyproject.toml
- Loading branch information
Showing
3 changed files
with
69 additions
and
46 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
@@ -19,6 +88,5 @@ known_custodian = ["custodian"] | |
known_mdproptools = ["mdproptools"] | ||
known_mispr = ["mispr"] | ||
|
||
|
||
[tool.black] | ||
line-length = 88 |