-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use pyprojecy.toml and fix on newer Python
- Loading branch information
Showing
20 changed files
with
53 additions
and
58 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
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 |
---|---|---|
@@ -0,0 +1,33 @@ | ||
[build-system] | ||
requires = ["setuptools >= 61.0"] | ||
build-backend = "setuptools.build_meta" | ||
|
||
|
||
[project] | ||
name = "lammps_testing" | ||
version = "1.0.1" | ||
description = "Utilities to run LAMMPS tests" | ||
authors = [ | ||
{name = "Richard Berger", email = "[email protected]"} | ||
] | ||
license = {text = "GPL"} | ||
dependencies = [ | ||
"nose", | ||
"gcovr", | ||
"termcolor", | ||
"matplotlib", | ||
"pyyaml", | ||
"Jinja2", | ||
"coverage" | ||
] | ||
|
||
[project.urls] | ||
Homepage = "https://github.com/lammps/lammps-testing" | ||
Repository = "https://github.com/lammps/lammps-testing.git" | ||
|
||
[project.scripts] | ||
lammps_run_tests = "lammps_testing.run_tests:main" | ||
lammps_generate_regression_xml = "lammps_testing.generate_regression_xml:main" | ||
lammps_regression_tests = "lammps_testing.regression:main" | ||
lammps_test = "lammps_testing.lammps_test:main" | ||
lammps_run_regression_test = "lammps_testing.run_regression_test:main" |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
31 changes: 15 additions & 16 deletions
31
lammps_testing/lammps_test.py → src/lammps_testing/lammps_test.py
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
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
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
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,4 +1,3 @@ | ||
#!/bin/env python | ||
from __future__ import print_function | ||
import os | ||
import nose | ||
|
@@ -8,10 +7,6 @@ | |
import glob | ||
from multiprocessing import Pool | ||
|
||
__author__ = 'Richard Berger' | ||
__email__ = "[email protected]" | ||
|
||
|
||
def load_tests(filename): | ||
print("Loading tests from %s..." % filename) | ||
tests = [] | ||
|
2 changes: 0 additions & 2 deletions
2
lammps_testing/testrunner.py → src/lammps_testing/testrunner.py
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,7 +1,5 @@ | ||
# LAMMPS regression test driver using Python's unittest | ||
from __future__ import print_function | ||
__author__ = 'Richard Berger' | ||
__email__ = "[email protected]" | ||
|
||
import unittest | ||
import os | ||
|
File renamed without changes.