Skip to content

Commit

Permalink
Fix pyproject
Browse files Browse the repository at this point in the history
  • Loading branch information
JosePizarro3 committed Mar 5, 2024
1 parent c31cf07 commit d51ed7d
Showing 1 changed file with 20 additions and 9 deletions.
29 changes: 20 additions & 9 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,21 +1,31 @@
[build-system]
requires = ["setuptools"]
requires = [
"setuptools>=61.0.0",
"setuptools-scm>=8.0",
]
build-backend = "setuptools.build_meta"

[project]
name = 'nomad-schema-plugin-simulation-data'
version = '1.0'
description = 'Simulation data schema plugin for NOMAD.'
dynamic = ["version"]
description = 'A NOMAD plugin for FAIR schemas for simulation data.'
readme = "README.md"
authors = [{ name = "The NOMAD Authors" }]
authors = [
{ name = "Jose M. Pizarro", email = "[email protected]" },
{ name = "Nathan Daelman", email = "[email protected]" },
{ name = "Joseph F. Rudzinski", email = "[email protected] }
]
license = { text = "Apache-2.0" }
requires-python = ">=3.9"
dependencies = [
"nomad-lab>=1.2.0",
"nomad-lab>=1.2.2dev399",
'matid>=2.0.0.dev2'
]

[project.urls]
homepage = "https://github.com/nomad-coe/nomad-schema-plugin-simulation-data"
"Homepage" = "https://github.com/nomad-coe/nomad-schema-plugin-simulation-data"
"Bug Tracker" = "https://github.com/nomad-coe/nomad-schema-plugin-simulation-data/issues"
"Documentation" = "https://nomad-coe.github.io/nomad-schema-plugin-simulation-data/"

[project.optional-dependencies]
dev = [
Expand All @@ -24,10 +34,11 @@ dev = [
'pytest-timeout==1.4.2',
'pytest-cov==2.7.1',
'ruff==0.1.8'
"structlog==22.3.0"
]

[tool.ruff]
include = ["simulationdataschema/*.py", "tests/*.py"]
include = ["src/nomad_simulations/*.py", "tests/*.py"]
lint.select = [
"E", # pycodestyle
"W", # pycodestyle
Expand Down Expand Up @@ -68,7 +79,7 @@ skip-magic-trailing-comma = false
line-ending = "auto"

[tool.setuptools.packages.find]
include = ["simulationdataschema*"]
where = ["src"]

[tool.setuptools.package-data]
simulationdataschema = ["*/nomad_plugin.yaml"]
nomad_simulations = ["*/nomad_plugin.yaml"]

0 comments on commit d51ed7d

Please sign in to comment.