-
Notifications
You must be signed in to change notification settings - Fork 16
/
pyproject.toml
44 lines (37 loc) · 1.09 KB
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
[project]
name = "pyalex"
description = "Python interface to the OpenAlex database"
authors = [
{ name = "Jonathan de Bruin", email = "jonathandebruinos@gmail.com" }
]
readme = "README.md"
classifiers = [
"Development Status :: 5 - Production/Stable",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12"
]
license = {text = "MIT"}
dependencies = ["requests", "urllib3"]
dynamic = ["version"]
requires-python = ">=3.8"
[project.optional-dependencies]
lint = ["ruff"]
test = ["pytest", "pytest-xdist"]
[build-system]
build-backend = 'setuptools.build_meta'
requires = ["setuptools>=45", "setuptools_scm[toml]>=6.2"]
[tool.setuptools]
packages = ["pyalex"]
[tool.setuptools_scm]
write_to = "pyalex/_version.py"
[tool.ruff.lint]
select = ["E", "F", "UP", "I", "B"]
[tool.ruff.lint.isort]
force-single-line = true
[tool.pytest.ini_options]
pythonpath = ["."]
addopts = "-v -W error"