Skip to content

Commit e4d7813

Browse files
committed
Use pyproject.toml and fix on newer Python
1 parent cc96329 commit e4d7813

20 files changed

+53
-58
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ various environments using containers and perform compilation, run, regression,
1717

1818
```bash
1919
# regular install
20-
python setup.py install
20+
pip install .
2121

2222
# for development install
23-
python setup.py develop
23+
pip install --editable .
2424
```
2525

2626
## Configuration

pyproject.toml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
[build-system]
2+
requires = ["setuptools >= 61.0"]
3+
build-backend = "setuptools.build_meta"
4+
5+
6+
[project]
7+
name = "lammps_testing"
8+
version = "1.0.1"
9+
description = "Utilities to run LAMMPS tests"
10+
authors = [
11+
{name = "Richard Berger", email = "[email protected]"}
12+
]
13+
license = {text = "GPL"}
14+
dependencies = [
15+
"nose",
16+
"gcovr",
17+
"termcolor",
18+
"matplotlib",
19+
"pyyaml",
20+
"Jinja2",
21+
"coverage"
22+
]
23+
24+
[project.urls]
25+
Homepage = "https://github.com/lammps/lammps-testing"
26+
Repository = "https://github.com/lammps/lammps-testing.git"
27+
28+
[project.scripts]
29+
lammps_run_tests = "lammps_testing.run_tests:main"
30+
lammps_generate_regression_xml = "lammps_testing.generate_regression_xml:main"
31+
lammps_regression_tests = "lammps_testing.regression:main"
32+
lammps_test = "lammps_testing.lammps_test:main"
33+
lammps_run_regression_test = "lammps_testing.run_regression_test:main"

setup.py

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

0 commit comments

Comments
 (0)