Also moved code dir to src. There are reasons to do standard things in standard ways. While it is possible to get the `code/` directory to work, and recognize it as a package path, this requires wrangling the pyproject.toml file. Additionally, any import from the `code.something` path automatically shadows the python stdlib `code` module. While it may not be necessary, it still is good to not shadow standard library modules.
19 lines
440 B
Makefile
19 lines
440 B
Makefile
default: versioned
|
|
|
|
all: files kernels unique packages
|
|
|
|
files:
|
|
python src/files.py input output
|
|
|
|
kernels:
|
|
python src/kernels.py input output
|
|
|
|
unique:
|
|
python src/unique.py input output
|
|
|
|
packages:
|
|
python src/packages.py input output
|
|
|
|
versioned:
|
|
datalad run -m "Create updated output data" -i input/ -o output/ just all
|
|
printf "\n## %s\n\n- auto generated\n" $(date +%F) | sed -i '/CHANGELOG/r /dev/stdin' CHANGELOG.md
|