Skip to content

Commit

Permalink
move package metadata to pyproject.toml
Browse files Browse the repository at this point in the history
delete setup.cfg. Assisted by ini2toml[full]
  • Loading branch information
dhimmel committed Feb 28, 2023
1 parent 883eedb commit 3cf1b4d
Show file tree
Hide file tree
Showing 2 changed files with 54 additions and 44 deletions.
55 changes: 54 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,63 @@
[build-system]
requires = ["setuptools>=42", "wheel", "setuptools_scm[toml]>=3.4"]
requires = ["setuptools>=61.2", "wheel", "setuptools_scm[toml]>=6.2"]
build-backend = "setuptools.build_meta"

[tool.setuptools_scm]
# including this section enables version inference

[project]
name = "nxontology"
maintainers = [{name = "Daniel Himmelstein", email = "dhimmel@related.vc"}]
license = {text = "Apache"}
description = "NetworkX for ontologies"
classifiers = [
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Topic :: Scientific/Engineering :: Bio-Informatics",
"Topic :: Scientific/Engineering :: Information Analysis",
]
keywords = [
"networkx",
"ontologies",
"similarity",
"graphs",
"networks",
"digraph",
"information-content",
"semantic-similarity",
]
requires-python = ">=3.8"
dependencies = [
"fsspec[http]",
"networkx>=2",
"pronto>=2.4.0",
]
dynamic = ["version"]

[project.readme]
file = "README.md"
content-type = "text/markdown; charset=UTF-8"

[project.urls]
Homepage = "https://github.com/related-sciences/nxontology"

[project.optional-dependencies]
dev = [
"fire",
"pandas",
"pre-commit",
"pytest",
]
viz = ["pygraphviz"]

[tool.setuptools]
packages = ["nxontology"]
zip-safe = false
include-package-data = true
license-files = ["LICENSE"]

[tool.black]
target-version = ['py38', 'py39', 'py310', 'py311']

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

This file was deleted.

0 comments on commit 3cf1b4d

Please sign in to comment.