Skip to content

Commit

Permalink
Migrate from setup.py/setup.cfg to pyproject.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
seisman committed Mar 26, 2024
1 parent a96d4ed commit d9f9a9b
Show file tree
Hide file tree
Showing 3 changed files with 48 additions and 63 deletions.
48 changes: 48 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,51 @@
[build-system]
requires = ["setuptools>=64", "setuptools_scm[toml]>=6.2"]
build-backend = "setuptools.build_meta"

[project]
name = "HinetPy"
description = "A Python package to request and process seismic waveform data from NIED Hi-neta"
readme = "README.rst"
requires-python = ">=3.7"
authors = [{name = "Dongdong Tian", email = "seisman.info@gmail.com"}]
keywords = ["seismology", "NIED", "Hi-net", "waveform"]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Science/Research",
"Intended Audience :: Education",
"License :: OSI Approved :: MIT License",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python",
"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.12",
"Programming Language :: Python :: 3 :: Only",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Scientific/Engineering :: Physics",
"Topic :: Utilities",
]
dependencies = ["requests"]
dynamic = ["version"]

[project.urls]
homepage = "https://seisman.github.io/HinetPy/"
documentation = "https://seisman.github.io/HinetPy/"
repository = "https://github.com/seisman/HinetPy"

[tool.setuptools]
license-files = ["LICENSE.txt"]

[tool.setuptools.packages.find]
include = ["HinetPy*"]
exclude = ["docs", "tests"]

[tool.setuptools_scm]
local_scheme = "node-and-date"
fallback_version = "999.999.999+unknown"

[tool.black]
line-length = 88
exclude = '''
Expand Down
2 changes: 0 additions & 2 deletions setup.cfg

This file was deleted.

61 changes: 0 additions & 61 deletions setup.py

This file was deleted.

0 comments on commit d9f9a9b

Please sign in to comment.