{"id":18863640,"url":"https://github.com/russellane/pdm-make","last_synced_at":"2026-02-11T01:30:16.965Z","repository":{"id":107169062,"uuid":"464580586","full_name":"russellane/pdm-make","owner":"russellane","description":"tool.pdm.scripts for building à la `make`","archived":false,"fork":false,"pushed_at":"2022-03-28T17:35:08.000Z","size":16,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-12-30T21:24:28.179Z","etag":null,"topics":["make","pyproject-toml","python","python-package-management","task-runner"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/russellane.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-02-28T17:32:16.000Z","updated_at":"2023-08-05T10:55:44.000Z","dependencies_parsed_at":null,"dependency_job_id":"fe059db5-c2b9-4c1b-8a77-2bedf41ed314","html_url":"https://github.com/russellane/pdm-make","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/russellane%2Fpdm-make","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/russellane%2Fpdm-make/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/russellane%2Fpdm-make/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/russellane%2Fpdm-make/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/russellane","download_url":"https://codeload.github.com/russellane/pdm-make/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239808473,"owners_count":19700443,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["make","pyproject-toml","python","python-package-management","task-runner"],"created_at":"2024-11-08T04:38:03.394Z","updated_at":"2026-02-11T01:30:16.894Z","avatar_url":"https://github.com/russellane.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# pdm-make\n[tool.pdm.scripts](https://pdm.fming.dev/usage/scripts/) for building à la [make](https://en.wikipedia.org/wiki/Make_(software))\n\n## pyproject.toml\n\n```toml\n[tool.pdm.scripts]\n# .vimrc: set makeprg=pdm\\ build\npre_build.shell = \"\"\"set -x;\nctags -R --languages=python __pypackages__ wumpus tests;\npython -m black -q wumpus tests \u0026\u0026\npython -m isort wumpus tests \u0026\u0026\npython -m flake8 wumpus tests \u0026\u0026\npython -m pytest --exitfirst --showlocals --verbose tests \u0026\u0026\n{ export COLUMNS=97; python -m wumpus --help |\npython -m mandown --width 89 --use-config \u003eREADME.md; };\n\"\"\"\nrebuild.shell = \"set -x; rm -f pdm.lock; pdm run clean \u0026\u0026 pdm install \u0026\u0026 pdm build\"\nclean.shell = \"\"\"set -x;\nrm -rf __pypackages__ .pytest_cache dist tags;\nfind . -type f -name '*.py[co]' -delete \u0026\u0026\nfind . -type d -name __pycache__ -delete\n\"\"\"\n# bump depends on: `pip install --user pdm-bump`\nbump-micro.shell = \"set -x; pdm bump micro \u0026\u0026 pdm run rebuild\"\npublish.shell = \"\"\"set -x; cd dist; echo *.whl |\ncpio -pdmuv `pip config get global.find-links`\n\"\"\"\n\n# Don't name `install` else `pre_install` and/or `post_install` will also run.\n#xxinstall.shell = \"set -x; unset PYTHONPATH; pip install --user wumpus\"\n#uninstall.shell = \"set -x; unset PYTHONPATH; pip uninstall wumpus\"\nxxinstall.shell = \"set -x; pipx install wumpus\"\nuninstall.shell = \"set -x; pipx uninstall wumpus\"\nreinstall.shell = \"set -x; pdm run uninstall; pdm run xxinstall\"\n```\n\n## ~/.vimrc\n\n```vim\nif filereadable('pyproject.toml')\n    set makeprg=pdm\\ build\nendif\n```\n\n## vim\nRun `:make`, then use `:cnext` and `:cprevious` to move through errors.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frussellane%2Fpdm-make","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frussellane%2Fpdm-make","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frussellane%2Fpdm-make/lists"}