From 9d1194b2100740c567724e6c18494f168ffe8dd1 Mon Sep 17 00:00:00 2001 From: adrianciu Date: Fri, 15 Nov 2024 13:21:16 +0200 Subject: [PATCH] TVB-3109 created pyproject.toml for tvb packages --- tvb_framework/tvb_bids_monitor/pyproject.toml | 88 +++++++++++++++ .../pyproject_rest_client.toml | 106 ++++++++++++++++++ 2 files changed, 194 insertions(+) create mode 100644 tvb_framework/tvb_bids_monitor/pyproject.toml create mode 100644 tvb_framework/tvb_rest_client/pyproject_rest_client.toml diff --git a/tvb_framework/tvb_bids_monitor/pyproject.toml b/tvb_framework/tvb_bids_monitor/pyproject.toml new file mode 100644 index 000000000..5f74ba136 --- /dev/null +++ b/tvb_framework/tvb_bids_monitor/pyproject.toml @@ -0,0 +1,88 @@ +# -*- coding: utf-8 -*- +# +# +# TheVirtualBrain-Framework Package. This package holds all Data Management, and +# Web-UI helpful to run brain-simulations. To use it, you also need to download +# TheVirtualBrain-Scientific Package (for simulators). See content of the +# documentation-folder for more details. See also http://www.thevirtualbrain.org +# +# (c) 2012-2024, Baycrest Centre for Geriatric Care ("Baycrest") and others +# +# This program is free software: you can redistribute it and/or modify it under the +# terms of the GNU General Public License as published by the Free Software Foundation, +# either version 3 of the License, or (at your option) any later version. +# This program is distributed in the hope that it will be useful, but WITHOUT ANY +# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +# PARTICULAR PURPOSE. See the GNU General Public License for more details. +# You should have received a copy of the GNU General Public License along with this +# program. If not, see . +# +# +# CITATION: +# When using The Virtual Brain for scientific publications, please cite it as explained here: +# https://www.thevirtualbrain.org/tvb/zwei/neuroscience-publications +# +# + + + +[build-system] +requires = ["hatchling"] +build-backend = "hatchling.build" + +[project] +name = "tvb-bids-monitor" +version = "2.9.2" +description = "A helper package containing BIDS directory monitor module" +readme = "README_bids_monitor.rst" +license = { file = "../LICENSE" } +authors = [ + { name = "Akash Upadhyay" }, + { name = "Paula Prodan" }, +] +maintainers = [ + { name = "Codemart", email = "tvb.admin@thevirtualbrain.org" } +] +keywords = [ + "animal", + "brain", + "client", + "delay", + "dynamics", + "human", + "models", + "neuronal", + "neuroscience", + "rest", + "simulator", + "tvb", +] +dependencies = [ + "tvb-rest-client", + "watchdog", +] + +[project.optional-dependencies] +test = [ + "pytest", + "pytest-benchmark", +] + +[project.urls] +Download = "https://github.com/the-virtual-brain/tvb-root" +Homepage = "https://www.thevirtualbrain.org" + +[tool.hatch.version] +path = "../tvb/__init__.py" + +[tool.hatch.build.targets.sdist] +include = [ + "../tvb", +] +exclude = ['../tvb.interfaces.web', '../tvb.interfaces.web.*', '../tvb.interfaces.command', + '../tvb.interfaces.command.*', '../tvb.tests', '../tvb.tests.*', '../tvb.interfaces.rest', + '../tvb.interfaces.rest.*', '../tvb.adapters', '../tvb.adapters.*', 'tvb.core', + '../tvb.core.*'] + +[tool.hatch.build.targets.wheel] +packages = ["../tvb"] \ No newline at end of file diff --git a/tvb_framework/tvb_rest_client/pyproject_rest_client.toml b/tvb_framework/tvb_rest_client/pyproject_rest_client.toml new file mode 100644 index 000000000..88b5b3c69 --- /dev/null +++ b/tvb_framework/tvb_rest_client/pyproject_rest_client.toml @@ -0,0 +1,106 @@ +# -*- coding: utf-8 -*- +# +# +# TheVirtualBrain-Framework Package. This package holds all Data Management, and +# Web-UI helpful to run brain-simulations. To use it, you also need to download +# TheVirtualBrain-Scientific Package (for simulators). See content of the +# documentation-folder for more details. See also http://www.thevirtualbrain.org +# +# (c) 2012-2024, Baycrest Centre for Geriatric Care ("Baycrest") and others +# +# This program is free software: you can redistribute it and/or modify it under the +# terms of the GNU General Public License as published by the Free Software Foundation, +# either version 3 of the License, or (at your option) any later version. +# This program is distributed in the hope that it will be useful, but WITHOUT ANY +# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +# PARTICULAR PURPOSE. See the GNU General Public License for more details. +# You should have received a copy of the GNU General Public License along with this +# program. If not, see . +# +# +# CITATION: +# When using The Virtual Brain for scientific publications, please cite it as explained here: +# https://www.thevirtualbrain.org/tvb/zwei/neuroscience-publications +# +# + + + +[build-system] +requires = ["hatchling"] +build-backend = "hatchling.build" + +[project] +name = "tvb-rest-client" +version = "2.9.2" +description = "A helper package for preparing and sending requests towards the TVB REST API" +readme = "README.rst" +license = { file = "LICENSE" } +authors = [ + { name = "Lia Domide"}, + { name = "Paula Prodan" }, + { name = "Bogdan Valean" }, + { name = "Robert Vincze" }, +] +maintainers = [ + { name = "Codemart", email = "tvb.admin@thevirtualbrain.org" } +] +keywords = [ + "animal", + "brain", + "client", + "delay", + "dynamics", + "human", + "models", + "neuronal", + "neuroscience", + "rest", + "simulator", + "tvb", +] +dependencies = [ + "alembic", + "h5py", + "nibabel", + "numpy", + "Pillow", + "psutil", + "pyAesCrypt", + "requests", + "scipy", + "simplejson", + "sqlalchemy", + "tvb-data", + "tvb-gdist", + "tvb-library", + "tvb-storage", + "werkzeug", +] + +[project.optional-dependencies] +postgres = [ + "psycopg2", +] +test = [ + "pytest", + "pytest-benchmark", +] + +[project.urls] +Download = "https://github.com/the-virtual-brain/tvb-root" +Homepage = "https://www.thevirtualbrain.org" + +[tool.hatch.version] +path = "tvb/__init__.py" + +[tool.hatch.build.targets.sdist] +include = [ + "/tvb", +] +exclude = ['tvb.interfaces.web', 'tvb.interfaces.web.*', 'tvb.interfaces.command', + 'tvb.interfaces.command.*', 'tvb.tests', 'tvb.tests.*'] + +[tool.hatch.build.targets.wheel] +packages = ["tvb"] +