Skip to content

Commit

Permalink
Merge pull request #22 from matthewrmshin/feature/move-to-pyproject
Browse files Browse the repository at this point in the history
Use pyproject.toml instead of setup.cfg
  • Loading branch information
steoxley authored Jul 25, 2024
2 parents d6ed899 + 6d8d41c commit 2c154d3
Show file tree
Hide file tree
Showing 2 changed files with 62 additions and 52 deletions.
62 changes: 62 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,65 @@
[project]
name = "yamlprocessor"

dynamic = ["version"]

description = "Process values in YAML files"

readme = "README.md"

requires-python = ">=3.7"

license = {file = "LICENSE"}

maintainers = [
{name = "Matt Shin", email = "[email protected]" }
]

classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Science/Research",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3 :: Only",
"Topic :: Scientific/Engineering",
"Topic :: Software Development",
]

dependencies = [
"jmespath",
"jsonschema",
"python-dateutil",
"ruamel.yaml",
]

[project.optional-dependencies]
test = ["flake8", "pytest", "pytest-cov"]

[project.urls]
"Homepage" = "https://github.com/JCSDA-internal/yamlprocessor/"
"Bug Reports" = "https://github.com/JCSDA-internal/yamlprocessor/issues"
"Source" = "https://github.com/JCSDA-internal/yamlprocessor/"

[project.scripts]
yp-data = "yamlprocessor.dataprocess:main"
yp-schema = "yamlprocessor.schemaprocess:main"

[tool.pytest.ini_options]
norecursedirs = [".git*", "build", "dist", "docs"]

[tool.setuptools.dynamic]
version = {attr = "yamlprocessor.__version__"}

[tool.setuptools.packages.find]
where = ["src"]

[build-system]
requires = [
"setuptools>=42",
Expand Down
52 changes: 0 additions & 52 deletions setup.cfg

This file was deleted.

0 comments on commit 2c154d3

Please sign in to comment.