Skip to content

Commit

Permalink
Merge pull request #9 from matthewfeickert/build/add-required-depende…
Browse files Browse the repository at this point in the history
…ncies

Hi Mathew,

Thanks for this. LGTM.
  • Loading branch information
AWehenkel authored Dec 10, 2024
2 parents 9e489b5 + 57b3908 commit 9041bff
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 12 deletions.
12 changes: 0 additions & 12 deletions models/setup.py

This file was deleted.

31 changes: 31 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"

[project]
name = "UMNN"
version = "1.70"
description = "Unconstrained Monotonic Neural Networks"
license = { text = "BSD-3-Clause" } # SPDX short identifier
requires-python = ">=3.6"
authors = [
{ name = "awehenkel", email = "[email protected]" },
]
dependencies = [
"torch>=1.1",
"numpy",
]


[project.urls]
Homepage = "https://github.com/AWehenkel/UMNN"

[tool.hatch.build.targets.sdist]
# hatchling always includes:
# pyproject.toml, .gitignore, any README, any LICENSE, AUTHORS
include = [
"/models/UMNN",
]

[tool.hatch.build.targets.wheel]
packages = ["models/UMNN"]

0 comments on commit 9041bff

Please sign in to comment.