generated from datalad/datalad-extension-template
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: migrate from
christian-monch/compute
- Loading branch information
Showing
39 changed files
with
2,271 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
name: docs | ||
|
||
on: [push, pull_request] | ||
|
||
jobs: | ||
build: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Set up environment | ||
run: | | ||
git config --global user.email "test@github.land" | ||
git config --global user.name "GitHub Almighty" | ||
- uses: actions/checkout@v4 | ||
- name: Set up Python 3.11 | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: 3.11 | ||
- name: Install dependencies | ||
run: | | ||
python -m pip install --upgrade pip | ||
pip install -r requirements-devel.txt | ||
pip install . | ||
- name: Build docs | ||
run: | | ||
make -C docs html |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,47 @@ | ||
"""DataLad remake extension""" | ||
|
||
from __future__ import annotations | ||
|
||
from datalad_remake._version import __version__ | ||
|
||
__all__ = [ | ||
'__version__', | ||
'command_suite', | ||
] | ||
|
||
# command_suite = ( | ||
# # description of the command suite, displayed in cmdline help | ||
# "Demo DataLad command suite", | ||
# [ | ||
# # specification of a command, any number of commands can be defined | ||
# ( | ||
# # importable module that contains the command implementation | ||
# 'datalad_remake.commands.compute_cmd', | ||
# # name of the command class implementation in above module | ||
# 'Compute', | ||
# # optional name of the command in the cmdline API | ||
# 'compute', | ||
# # optional name of the command in the Python API | ||
# 'compute' | ||
# ), | ||
# ] | ||
# ) | ||
|
||
# Defines a datalad command suite. | ||
# This variable must be bound as a setuptools entrypoint | ||
# to be found by datalad | ||
command_suite = ( | ||
# description of the command suite, displayed in cmdline help | ||
'DataLad remake command suite', | ||
[ | ||
# specification of a command, any number of commands can be defined | ||
( | ||
# importable module that contains the command implementation | ||
'datalad_remake.commands.make_cmd', | ||
# name of the command class implementation in above module | ||
'Make', | ||
# optional name of the command in the cmdline API | ||
'make', | ||
# optional name of the command in the Python API | ||
'make', | ||
), | ||
( | ||
# importable module that contains the command implementation | ||
'datalad_remake.commands.provision_cmd', | ||
# name of the command class implementation in above module | ||
'Provision', | ||
# optional name of the command in the cmdline API | ||
'provision', | ||
# optional name of the command in the Python API | ||
'provision', | ||
), | ||
], | ||
) | ||
|
||
|
||
url_scheme = 'datalad-remake' | ||
template_dir = '.datalad/make/methods' | ||
specification_dir = '.datalad/make/specifications' |
Empty file.
Oops, something went wrong.