{"id":15472049,"url":"https://github.com/pganssle/pkg_resources_install_requires_demo","last_synced_at":"2025-03-18T11:14:10.422Z","repository":{"id":66144883,"uuid":"146319469","full_name":"pganssle/pkg_resources_install_requires_demo","owner":"pganssle","description":null,"archived":false,"fork":false,"pushed_at":"2018-08-27T15:47:10.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-24T17:34:39.145Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","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/pganssle.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":"2018-08-27T15:46:55.000Z","updated_at":"2018-08-27T15:47:11.000Z","dependencies_parsed_at":"2023-02-22T01:16:27.767Z","dependency_job_id":null,"html_url":"https://github.com/pganssle/pkg_resources_install_requires_demo","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/pganssle%2Fpkg_resources_install_requires_demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pganssle%2Fpkg_resources_install_requires_demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pganssle%2Fpkg_resources_install_requires_demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pganssle%2Fpkg_resources_install_requires_demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pganssle","download_url":"https://codeload.github.com/pganssle/pkg_resources_install_requires_demo/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244207746,"owners_count":20416109,"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":[],"created_at":"2024-10-02T02:24:55.162Z","updated_at":"2025-03-18T11:14:10.418Z","avatar_url":"https://github.com/pganssle.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# pkg_resources demo script\nThis is a script to demonstrate the somewhat aggressive dependency-checking behavior of `pkg_resources`.\n\nStart by installing `pkg2`, then `pkg1` and `pkg3` in a virtualenv. For convenience, you can use `source initial_install.sh` to do this part for you.\n\nDemonstrate the normal behavior:\n\n```bash\n$ pkg1script\nUsed from pkg2\n$ pkg3script\nUsed from pkg2\n```\n\nNow uninstall `pkg2` - `pkg1` declares this as an `install_requires` dependency but `pkg3` does not. Other than that `pkg1` and `pkg3` are identical:\n\n```bash\npip uninstall pkg2\n```\n\nNow if you try to run `pkg3script` it still works just fine:\n\n```bash\n$ pkg3script\nFell back to pkg1\n```\n\nBut if you try to run `pkg1script` it will fail:\n\n```bash\n$ pkg1script\nTraceback (most recent call last):\n...\npkg_resources.DistributionNotFound: The 'pkg2' distribution was not found and is required by pkg1\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpganssle%2Fpkg_resources_install_requires_demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpganssle%2Fpkg_resources_install_requires_demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpganssle%2Fpkg_resources_install_requires_demo/lists"}