Skip to content

Commit

Permalink
Switch from setup.cfg to pyproject.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
marcelm committed Oct 18, 2023
1 parent b5a67ee commit 00ad59b
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 33 deletions.
29 changes: 28 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,34 @@
[build-system]
requires = ["setuptools", "wheel", "setuptools_scm>=6.2"]
requires = ["setuptools", "wheel", "setuptools_scm[toml]>=6.2"]
build-backend = "setuptools.build_meta"

[project]
name = "xopen"
authors = [
{name = "Marcel Martin", email = "[email protected]"},
{name = "Ruben Vorderman", email = "[email protected]"}
]
description = "Open compressed files transparently"
readme = "README.rst"
license = {text = "MIT"}
classifiers = [
"Development Status :: 5 - Production/Stable",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3"
]
requires-python = ">=3.8"
dynamic = ["version"]
dependencies = [
'isal>=1.4.1; platform.machine == "x86_64" or platform.machine == "AMD64" or platform.machine == "aarch64"'
]

[project.urls]
homepage = "https://github.com/pycompression/xopen/"

[project.optional-dependencies]
dev = ["pytest"]
zstd = ["zstandard<1"]

[tool.setuptools_scm]
write_to = "src/xopen/_version.py"

Expand Down
32 changes: 0 additions & 32 deletions setup.cfg

This file was deleted.

0 comments on commit 00ad59b

Please sign in to comment.