Skip to content

Commit

Permalink
Minor fix to package build
Browse files Browse the repository at this point in the history
`extras_requires` gave a UserWarning. Also some minor rearrangement
of pyproject.
  • Loading branch information
mferrera committed Sep 22, 2023
1 parent 4c52202 commit 599c207
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 16 deletions.
28 changes: 13 additions & 15 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,19 @@
# NOTE: you have to use single-quoted strings in TOML for regular expressions.
[build-system]
requires = [
"pip>=19.1.1",
"setuptools>=43",
"wheel",
"setuptools_scm",
"Sphinx",
"sphinx-rtd-theme",
]

[tool.setuptools_scm]
write_to = "src/xtgeoapp_grd3dmaps/_theversion.py"

[tool.black]
line-length = 88
target-version = ['py36', 'py37', 'py38']
target-version = ["py38", "py39", "py310"]
include = '\.pyi?$'
exclude = '''
/(
Expand All @@ -23,16 +34,3 @@ exclude = '''
| profiling
)/
'''

[build-system]
requires = [
"pip>=19.1.1",
"setuptools>=43",
"wheel",
"setuptools_scm",
"Sphinx",
"sphinx-rtd-theme",
]

[tool.setuptools_scm]
write_to = "src/xtgeoapp_grd3dmaps/_theversion.py"
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,5 +73,5 @@
install_requires=REQUIREMENTS,
tests_require=REQUIREMENTS_TESTS,
setup_requires=REQUIREMENTS_SETUP,
extras_requires=REQUIREMENTS_EXTRAS,
extras_require=REQUIREMENTS_EXTRAS,
)

0 comments on commit 599c207

Please sign in to comment.