cleanup build scripts
This commit is contained in:
+48
-8
@@ -1,23 +1,63 @@
|
||||
[build-system]
|
||||
requires = ["setuptools"]
|
||||
requires = [
|
||||
"setuptools>=61.0", # provides the "setuptools.build_meta" backend
|
||||
"wheel" # needed for the wheel building step
|
||||
]
|
||||
build-backend = "setuptools.build_meta"
|
||||
|
||||
[project]
|
||||
requires-python = ">= 3.9"
|
||||
name = "python3-damaris"
|
||||
dynamic = ["version",
|
||||
"dependencies",
|
||||
"classifiers",
|
||||
"keywords",
|
||||
"license",
|
||||
"readme",
|
||||
version = "0.19"
|
||||
description = "Python version 3 frontend for DAMARIS (DArmstadt MAgnetic Resonance Instrument Software)"
|
||||
license = "GPL-2.0"
|
||||
keywords = ["NMR", "data-processing"]
|
||||
readme = {file = "README", content-type = "text/plain"}
|
||||
dependencies = [
|
||||
"scipy >= 0.14.0",
|
||||
"numpy >= 1.8.2, < 2.0",
|
||||
"tables >= 3.1.1",
|
||||
"matplotlib >= 1.4.1, <= 3.6",
|
||||
"pyxdg",
|
||||
"PyGObject >= 3.14.0, <= 3.51.0"
|
||||
]
|
||||
authors = [
|
||||
{name = "Achim Gädke"},
|
||||
{name = "Christopher Schmitt"},
|
||||
{name = "Christian Tacke"},
|
||||
{name = "Markus Rosenstihl", email = "markus.rosenstihl@pkm.tu-darmstadt.de"},
|
||||
{name = "Joachim Beerwerth"},
|
||||
{name = "Markus Rosenstihl", email = "markus.rosenstihl@pkm.tu-darmstadt.de"}
|
||||
]
|
||||
maintainers = [
|
||||
{name = "Markus Rosenstihl", email = "markus.rosenstihl@pkm.tu-darmstadt.de"}
|
||||
]
|
||||
|
||||
[project.scripts]
|
||||
DAMARIS3 = "damaris.__main__:main"
|
||||
|
||||
|
||||
[tool.setuptools]
|
||||
packages = [
|
||||
"damaris",
|
||||
"damaris.data",
|
||||
"damaris.experiments",
|
||||
"damaris.gui",
|
||||
"damaris.tools"
|
||||
]
|
||||
|
||||
[tool.setuptools.package-dir]
|
||||
"damaris" = "src"
|
||||
"damaris.data" = "src/data"
|
||||
"damaris.experiments" = "src/experiments"
|
||||
"damaris.gui" = "src/gui"
|
||||
"damaris.tools" = "src/tools"
|
||||
|
||||
[tool.setuptools.package-data]
|
||||
"damaris.gui" = ["DAMARIS3.png", "DAMARIS3.ico", "damaris.xml", "python.xml"]
|
||||
|
||||
[tool.setuptools.data-files]
|
||||
"share/python3-damaris/images" = ["src/gui/DAMARIS3.png", "src/gui/DAMARIS3.ico"]
|
||||
"share/python3-damaris/doc" = ["doc/index.html"]
|
||||
"share/python3-damaris/doc/reference-html" = ["doc/reference-html/*"]
|
||||
"share/python3-damaris/doc/tutorial-html" = ["doc/tutorial-html/*"]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user