-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: replace
setup.py
with pyproject.toml
- Loading branch information
1 parent
f553412
commit 66146bb
Showing
2 changed files
with
62 additions
and
70 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,71 @@ | ||
[tool.black] | ||
include = '\.pyi?$' | ||
line-length = 100 | ||
target-version = ['py311'] | ||
[build-system] | ||
requires = ["setuptools"] | ||
build-backend = "setuptools.build_meta" | ||
|
||
[project] | ||
name = "rsmtool" | ||
dynamic = ["version", "dependencies"] | ||
requires-python = ">= 3.10" | ||
|
||
authors = [{ name = "Nitin Madnani ", email = "[email protected]" }] | ||
maintainers = [{ name = "Nitin Madnani ", email = "[email protected]" }] | ||
|
||
description = "Rater Scoring Modeling Tool" | ||
readme = "README.rst" | ||
license = { file = "LICENSE" } | ||
keywords = ["scoring modeling"] | ||
|
||
classifiers = [ | ||
"Intended Audience :: Science/Research", | ||
"Intended Audience :: Developers", | ||
"Programming Language :: Python", | ||
"Topic :: Scientific/Engineering", | ||
"Operating System :: Microsoft :: Windows", | ||
"Operating System :: POSIX", | ||
"Operating System :: Unix", | ||
"Operating System :: MacOS", | ||
"Programming Language :: Python :: 3", | ||
"Programming Language :: Python :: 3.10", | ||
"Programming Language :: Python :: 3.11", | ||
"Programming Language :: Python :: 3.12", | ||
] | ||
|
||
|
||
[project.urls] | ||
Documentation = "https://rsmtool.readthedocs.org" | ||
Repository = "http://github.com/EducationalTestingService/rsmtool" | ||
|
||
[project.scripts] | ||
rsmtool = "rsmtool.rsmtool:main" | ||
rsmeval = "rsmtool.rsmeval:main" | ||
rsmpredict = "rsmtool.rsmpredict:main" | ||
rsmcompare = "rsmtool.rsmcompare:main" | ||
rsmsummarize = "rsmtool.rsmsummarize:main" | ||
rsmxval = "rsmtool.rsmxval:main" | ||
rsmexplain = "rsmtool.rsmexplain:main" | ||
render_notebook = "rsmtool.reporter:main" | ||
convert_feature_json = "rsmtool.convert_feature_json:main" | ||
|
||
[tool.setuptools.dynamic] | ||
version = { attr = "rsmtool.version.__version__" } | ||
dependencies = { file = ["requirements.txt"] } | ||
|
||
[tool.setuptools.packages.find] | ||
where = ["."] | ||
exclude = ["tests", "examples"] | ||
namespaces = false | ||
|
||
[tool.ruff] | ||
extend-exclude = ["setup.py"] | ||
lint.select = ["D", "E", "F", "I"] | ||
lint.ignore = ["D212"] | ||
line-length = 100 | ||
target-version = "py311" | ||
fix = true | ||
|
||
[mypy] | ||
[tool.black] | ||
include = '\.pyi?$' | ||
line-length = 100 | ||
target-version = ['py311'] | ||
|
||
[tool.mypy] | ||
exclude = '^setup\.py$' |