diff --git a/Makefile.local b/Makefile.local --- a/Makefile.local +++ b/Makefile.local @@ -7,10 +7,26 @@ @echo Please be patient. tox -vv -r -e sphinx-dev + +# inline *build* dependencies to allow installing requirements-swh-dev.txt without build +# isolation +BUILD_DEPS := + +# swh.perfecthash +BUILD_DEPS += cffi + +# swh.search +BUILD_DEPS += tree-sitter + +# swh.loader.bzr>breezy +BUILD_DEPS += configobj + +# swh.docs +BUILD_DEPS += pifpaf + pip-install-swh-dev: + python3 -m pip install --upgrade pip wheel setuptools setuptools-scm + python3 -m pip install --upgrade $(BUILD_DEPS) + + python3 -m pip install -r requirements-swh-dev.txt --no-build-isolation python3 -m pip install . - python3 -m pip install pifpaf - sed 's/#.*$$//;/^$$/d' requirements-swh-dev.txt | \ - while IFS= read -r package; do \ - python3 -m pip install $$package ; \ - done diff --git a/requirements-swh-dev.txt b/requirements-swh-dev.txt --- a/requirements-swh-dev.txt +++ b/requirements-swh-dev.txt @@ -1,35 +1,35 @@ # Add here internal Software Heritage dependencies, one per line. -# Dependencies need to be ordered in a way that ensure only -# development versions will be used (not the release ones hosted on PyPI). # -# This is NOT in alphabetical order +# You can keep this list sorted alphabetically, the pip dependency resolver can sort +# this out. -../swh-core[http,db,logging] ../swh-auth[django] -../swh-model -../swh-journal +../swh-core[http,db,logging] ../swh-counters -../swh-objstorage[testing] -../swh-storage -../swh-objstorage-replayer -../swh-scheduler[simulator] +../swh-dataset ../swh-deposit[server] +../swh-fuse ../swh-graph ../swh-icinga-plugins ../swh-indexer +../swh-journal ../swh-lister -../swh-loader-core ../swh-loader-bzr +../swh-loader-core +../swh-loader-cvs ../swh-loader-git ../swh-loader-mercurial ../swh-loader-metadata ../swh-loader-svn -../swh-loader-cvs +../swh-model +../swh-objstorage-replayer +../swh-objstorage[testing] ../swh-perfecthash +../swh-scanner +../swh-scheduler[simulator] ../swh-scrubber ../swh-search +../swh-storage ../swh-vault ../swh-web ../swh-web-client -../swh-scanner -../swh-fuse