diff --git a/models/setup.py b/models/setup.py deleted file mode 100644 index 85c14fe..0000000 --- a/models/setup.py +++ /dev/null @@ -1,12 +0,0 @@ -from setuptools import setup - -setup( - name='UMNN', - version='0.1', - packages=['UMNN'], - url='', - license='MIT License', - author='awehenkel', - author_email='antoine.wehenkel@gmail.com', - description='' -) diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..6b3e19f --- /dev/null +++ b/pyproject.toml @@ -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 = "antoine.wehenkel@gmail.com" }, +] +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"]