Skip to content

Commit

Permalink
Merge pull request #20 from networkx/hatch_build
Browse files Browse the repository at this point in the history
Use hatch as the build backend
  • Loading branch information
MridulS authored Oct 13, 2023
2 parents 6f2a075 + d72abe8 commit 974c51f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
2 changes: 2 additions & 0 deletions nx_parallel/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
from .algorithms import *
from .interface import *
from .utils import *

__version__ = "0.0.1"
9 changes: 6 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[build-system]
requires = ["setuptools", "setuptools-scm"]
build-backend = "setuptools.build_meta"
requires = ["hatchling"]
build-backend = "hatchling.build"

[project]
name = "nx-parallel"
Expand All @@ -19,7 +19,10 @@ dependencies = [
"networkx",
"joblib"
]
version = '0.0.1'
dynamic = ["version"]

[tool.hatch.version]
path = "nx_parallel/__init__.py"

[project.optional-dependencies]
developer = [
Expand Down

0 comments on commit 974c51f

Please sign in to comment.