Skip to content

Commit 0b28d7c

Browse files
replace client setup with pyproject
1 parent 4773c01 commit 0b28d7c

File tree

2 files changed

+64
-63
lines changed

2 files changed

+64
-63
lines changed

mpcontribs-client/pyproject.toml

Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
[build-system]
2+
requires = ["setuptools>=80.0.0","setuptools-scm>=8"]
3+
build-backend = "setuptools.build_meta"
4+
5+
[tool.setuptools_scm]
6+
root = ".."
7+
relative_to = "__file__"
8+
9+
[tool.setuptools]
10+
include-package-data = true
11+
12+
[tool.setuptools.packages.find]
13+
where = ["."]
14+
exclude = ["tests"]
15+
include = ["mpcontribs.client"]
16+
17+
[project]
18+
name = "mpcontribs-client"
19+
dynamic = ["version"]
20+
requires-python = ">=3.11"
21+
description="Client library for MPContribs API"
22+
license = {text = "MIT"}
23+
authors = [
24+
{name = "Patrick Huck", email = "[email protected]"},
25+
{name = "The Materials Project", email="[email protected]"},
26+
]
27+
dependencies = [
28+
"numpy",
29+
"boltons",
30+
"bravado",
31+
"filetype",
32+
"flatten-dict",
33+
"ipython",
34+
"json2html",
35+
"pandas",
36+
"pint",
37+
"plotly",
38+
"pyIsEmail",
39+
"pymatgen",
40+
"pymongo",
41+
"requests-futures",
42+
"swagger-spec-validator",
43+
"tqdm",
44+
"ujson",
45+
"semantic-version",
46+
"cachetools",
47+
]
48+
49+
[project.urls]
50+
Homepage = "https://github.com/materialsproject/MPContribs"
51+
Documentation = "https://docs.materialsproject.org/services/mpcontribs"
52+
53+
[project.optional-dependencies]
54+
dev = [
55+
"flake8",
56+
"pytest",
57+
"pytest-flake8",
58+
"pytest-pycodestyle",
59+
"pytest-cov",
60+
"py",
61+
]
62+
all = [
63+
"mpcontribs-client[dev]"
64+
]

mpcontribs-client/setup.py

Lines changed: 0 additions & 63 deletions
This file was deleted.

0 commit comments

Comments
 (0)