diff --git a/soma-forge/README.md b/recipes/soma-forge/README.md similarity index 100% rename from soma-forge/README.md rename to recipes/soma-forge/README.md diff --git a/soma-forge/bin/soma-forge b/recipes/soma-forge/bin/soma-forge similarity index 100% rename from soma-forge/bin/soma-forge rename to recipes/soma-forge/bin/soma-forge diff --git a/recipes/soma-forge/pyproject.toml b/recipes/soma-forge/pyproject.toml new file mode 100644 index 0000000..6a0bdd3 --- /dev/null +++ b/recipes/soma-forge/pyproject.toml @@ -0,0 +1,30 @@ +[project] +name = "soma-forge" +version = "0.0.1" +readme = "README.md" +requires-python = ">=3.9" +license = {text = "CeCILL-B"} +classifiers = [ + "Intended Audience :: Developers", + "License :: OSI Approved", + "Development Status :: 5 - Production/Stable", + "Environment :: Console", + "Operating System :: OS Independent", + "Programming Language :: Python", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", + "Natural Language :: English", +] +dependencies = ["click", "rich", "toml", "pyaml", "gitpython"] + +[project.urls] +repository = "https://github.com/neurospin/neuro-forge" + +[build-system] +requires = ["setuptools"] +build-backend = "setuptools.build_meta" + +[project.scripts] +soma-forge = "soma_forge:cli" diff --git a/recipes/soma-forge/recipe.yaml b/recipes/soma-forge/recipe.yaml new file mode 100644 index 0000000..5922c1b --- /dev/null +++ b/recipes/soma-forge/recipe.yaml @@ -0,0 +1,40 @@ +package: + name: soma-forge + version: "0.0.1" + +source: + path: . + +build: + noarch: python + + python: + entry_points: + - soma-forge = soma_forge:cli + + script: python -m pip install --no-deps --ignore-installed . + +requirements: + host: + - python >=3.10 + - pip + run: + - python >=3.10 + - click + - rich + - toml + - pyaml + - gitpython + + +tests: + - python: + imports: + - soma_forge + + + +about: + homepage: https://github.com/neurospin/neuro-forge + license: BSD-3-Clause + summary: Tool to create development environment and Conda packages for BrainVISA platform. diff --git a/soma-forge/activate.sh b/recipes/soma-forge/src/activate.sh similarity index 100% rename from soma-forge/activate.sh rename to recipes/soma-forge/src/activate.sh diff --git a/soma-forge/recipes/anatomist.yaml b/recipes/soma-forge/src/recipes/anatomist.yaml similarity index 100% rename from soma-forge/recipes/anatomist.yaml rename to recipes/soma-forge/src/recipes/anatomist.yaml diff --git a/soma-forge/recipes/bioprocessing.yaml b/recipes/soma-forge/src/recipes/bioprocessing.yaml similarity index 100% rename from soma-forge/recipes/bioprocessing.yaml rename to recipes/soma-forge/src/recipes/bioprocessing.yaml diff --git a/soma-forge/recipes/brainrat.yaml b/recipes/soma-forge/src/recipes/brainrat.yaml similarity index 100% rename from soma-forge/recipes/brainrat.yaml rename to recipes/soma-forge/src/recipes/brainrat.yaml diff --git a/soma-forge/recipes/brainvisa.yaml b/recipes/soma-forge/src/recipes/brainvisa.yaml similarity index 100% rename from soma-forge/recipes/brainvisa.yaml rename to recipes/soma-forge/src/recipes/brainvisa.yaml diff --git a/soma-forge/recipes/capsul.yaml b/recipes/soma-forge/src/recipes/capsul.yaml similarity index 100% rename from soma-forge/recipes/capsul.yaml rename to recipes/soma-forge/src/recipes/capsul.yaml diff --git a/soma-forge/recipes/cati-deidentification.yaml b/recipes/soma-forge/src/recipes/cati-deidentification.yaml similarity index 100% rename from soma-forge/recipes/cati-deidentification.yaml rename to recipes/soma-forge/src/recipes/cati-deidentification.yaml diff --git a/soma-forge/recipes/cati-longitudinal.yaml b/recipes/soma-forge/src/recipes/cati-longitudinal.yaml similarity index 100% rename from soma-forge/recipes/cati-longitudinal.yaml rename to recipes/soma-forge/src/recipes/cati-longitudinal.yaml diff --git a/soma-forge/recipes/cati-rsfmri.yaml b/recipes/soma-forge/src/recipes/cati-rsfmri.yaml similarity index 100% rename from soma-forge/recipes/cati-rsfmri.yaml rename to recipes/soma-forge/src/recipes/cati-rsfmri.yaml diff --git a/soma-forge/recipes/cati-sacha.yaml b/recipes/soma-forge/src/recipes/cati-sacha.yaml similarity index 100% rename from soma-forge/recipes/cati-sacha.yaml rename to recipes/soma-forge/src/recipes/cati-sacha.yaml diff --git a/soma-forge/recipes/cati-whasa.yaml b/recipes/soma-forge/src/recipes/cati-whasa.yaml similarity index 100% rename from soma-forge/recipes/cati-whasa.yaml rename to recipes/soma-forge/src/recipes/cati-whasa.yaml diff --git a/soma-forge/recipes/cati.yaml b/recipes/soma-forge/src/recipes/cati.yaml similarity index 100% rename from soma-forge/recipes/cati.yaml rename to recipes/soma-forge/src/recipes/cati.yaml diff --git a/soma-forge/recipes/catidb.yaml b/recipes/soma-forge/src/recipes/catidb.yaml similarity index 100% rename from soma-forge/recipes/catidb.yaml rename to recipes/soma-forge/src/recipes/catidb.yaml diff --git a/soma-forge/recipes/constellation.yaml b/recipes/soma-forge/src/recipes/constellation.yaml similarity index 100% rename from soma-forge/recipes/constellation.yaml rename to recipes/soma-forge/src/recipes/constellation.yaml diff --git a/soma-forge/recipes/cortical-surface.yaml b/recipes/soma-forge/src/recipes/cortical-surface.yaml similarity index 100% rename from soma-forge/recipes/cortical-surface.yaml rename to recipes/soma-forge/src/recipes/cortical-surface.yaml diff --git a/soma-forge/recipes/disco.yaml b/recipes/soma-forge/src/recipes/disco.yaml similarity index 100% rename from soma-forge/recipes/disco.yaml rename to recipes/soma-forge/src/recipes/disco.yaml diff --git a/soma-forge/recipes/highres-cortex.yaml b/recipes/soma-forge/src/recipes/highres-cortex.yaml similarity index 100% rename from soma-forge/recipes/highres-cortex.yaml rename to recipes/soma-forge/src/recipes/highres-cortex.yaml diff --git a/soma-forge/recipes/morphologist-baby.yaml b/recipes/soma-forge/src/recipes/morphologist-baby.yaml similarity index 100% rename from soma-forge/recipes/morphologist-baby.yaml rename to recipes/soma-forge/src/recipes/morphologist-baby.yaml diff --git a/soma-forge/recipes/morphologist.yaml b/recipes/soma-forge/src/recipes/morphologist.yaml similarity index 100% rename from soma-forge/recipes/morphologist.yaml rename to recipes/soma-forge/src/recipes/morphologist.yaml diff --git a/soma-forge/recipes/nuclear-imaging.yaml b/recipes/soma-forge/src/recipes/nuclear-imaging.yaml similarity index 100% rename from soma-forge/recipes/nuclear-imaging.yaml rename to recipes/soma-forge/src/recipes/nuclear-imaging.yaml diff --git a/soma-forge/recipes/populse-db.yaml b/recipes/soma-forge/src/recipes/populse-db.yaml similarity index 100% rename from soma-forge/recipes/populse-db.yaml rename to recipes/soma-forge/src/recipes/populse-db.yaml diff --git a/soma-forge/recipes/primatologist.yaml b/recipes/soma-forge/src/recipes/primatologist.yaml similarity index 100% rename from soma-forge/recipes/primatologist.yaml rename to recipes/soma-forge/src/recipes/primatologist.yaml diff --git a/soma-forge/recipes/qualicati.yaml b/recipes/soma-forge/src/recipes/qualicati.yaml similarity index 100% rename from soma-forge/recipes/qualicati.yaml rename to recipes/soma-forge/src/recipes/qualicati.yaml diff --git a/soma-forge/recipes/soma-freesurfer.yaml b/recipes/soma-forge/src/recipes/soma-freesurfer.yaml similarity index 100% rename from soma-forge/recipes/soma-freesurfer.yaml rename to recipes/soma-forge/src/recipes/soma-freesurfer.yaml diff --git a/soma-forge/recipes/soma-python.yaml b/recipes/soma-forge/src/recipes/soma-python.yaml similarity index 100% rename from soma-forge/recipes/soma-python.yaml rename to recipes/soma-forge/src/recipes/soma-python.yaml diff --git a/soma-forge/recipes/soma-spm.yaml b/recipes/soma-forge/src/recipes/soma-spm.yaml similarity index 100% rename from soma-forge/recipes/soma-spm.yaml rename to recipes/soma-forge/src/recipes/soma-spm.yaml diff --git a/soma-forge/recipes/soma.yaml b/recipes/soma-forge/src/recipes/soma.yaml similarity index 100% rename from soma-forge/recipes/soma.yaml rename to recipes/soma-forge/src/recipes/soma.yaml diff --git a/soma-forge/soma_forge.py b/recipes/soma-forge/src/soma_forge.py similarity index 100% rename from soma-forge/soma_forge.py rename to recipes/soma-forge/src/soma_forge.py