Add pyproject, better cross-referencing

This commit is contained in:
Guilhem Lavaux 2024-04-02 16:30:23 +02:00
parent e24343e63d
commit 050b6be80c

39
pyproject.toml Normal file
View File

@ -0,0 +1,39 @@
[build-system]
requires = ["setuptools >= 61.0"]
build-backend = "setuptools.build_meta"
[project]
description = "Neural network emulators to transform field/map data"
readme = "README.md"
name = "map2map"
dynamic = ["version"]
requires-python = ">= 3.9"
classifiers = [
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
]
dependencies = [
'torch>=1.2',
'numpy',
'scipy',
'matplotlib',
'tensorboard']
authors = [
{name = "Yin Li", email = "eelregit@gmail.com"},
{name = "Deaglan Bartlett", email = "deaglan.bartlett@iap.fr"},
{name = "Guilhem Lavaux", email = "guilhem.lavaux@iap.fr" },
]
maintainers = [
{name = "Guilhem Lavaux", email = "guilhem.lavaux@iap.fr"}
]
[project.scripts]
m2m = "map2map:main"
[project.urls]
#Homepage = "https://example.com"
#Documentation = "https://readthedocs.org"
Repository = "https://bitbucket.org/aquila-consortium/map2map.git"
Issues = "https://bitbucket.org/aquila-consortium/map2map/issues/new"
#Changelog = "https://github.com/me/spam/blob/master/CHANGELOG.md"