Skip to content

Commit

Permalink
edit pyproject.toml per PR#1183 (#1187)
Browse files Browse the repository at this point in the history
  • Loading branch information
tinatn29 authored Nov 8, 2024
1 parent 11cfe64 commit 8aed27a
Showing 1 changed file with 13 additions and 4 deletions.
17 changes: 13 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "regolith"
dynamic=['version']
dynamic=['version', 'dependencies']
authors = [
{ name="Simon J.L. Billinge group", email="simon.billinge@gmail.com" },
{ name="Anthony Scopatz", email="scopatz@gmail.com" },
Expand All @@ -13,7 +13,7 @@ maintainers = [
{ name="Simon J.L. Billinge group", email="simon.billinge@gmail.com" },
{ name="Anthony Scopatz", email="scopatz@gmail.com" },
]
description = "A research group content management system"
description = "Python package for research group content management system"
keywords = ["content management system"]
readme = "README.rst"
requires-python = ">=3.10"
Expand All @@ -31,6 +31,7 @@ classifiers = [
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
'Topic :: Scientific/Engineering :: Physics',
'Topic :: Scientific/Engineering :: Chemistry',
]

[tool.setuptools]
Expand All @@ -48,9 +49,9 @@ dirty_template = "{tag}"

[tool.setuptools.packages.find]
where = ["src"] # list of folders that contain the packages (["."] by default)
include = ["regolith*"] # package names should match these glob patterns (["*"] by default)
include = ["*"] # package names should match these glob patterns (["*"] by default)
exclude = [] # exclude packages matching these glob patterns (empty by default)
namespaces = true # to disable scanning PEP 420 namespaces (true by default)
namespaces = false # to disable scanning PEP 420 namespaces (true by default)

[tool.setuptools.package-data]
regolith = ["templates/*",
Expand All @@ -60,6 +61,14 @@ regolith = ["templates/*",
"*.json"
]

[tool.setuptools.dynamic]
dependencies = {file = ["requirements/pip.txt"]}

[tool.codespell]
exclude-file = ".codespell/ignore_lines.txt"
ignore-words = ".codespell/ignore_words.txt"
skip = "*.cif,*.dat,*.js,*.tex,*.txt,*.html,*.bib,*.map,*.json"

[tool.black]
line-length = 115
include = '\.pyi?$'
Expand Down

0 comments on commit 8aed27a

Please sign in to comment.