{"id":22312720,"url":"https://github.com/msabramo/setuptools-version-command","last_synced_at":"2025-07-29T10:31:28.953Z","repository":{"id":25968999,"uuid":"29410959","full_name":"msabramo/setuptools-version-command","owner":"msabramo","description":"Extend setuptools to pull the distribution version from your SCM of choice","archived":false,"fork":false,"pushed_at":"2015-01-19T15:08:18.000Z","size":125,"stargazers_count":0,"open_issues_count":0,"forks_count":5,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-12-03T21:59:39.064Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"j0057/setuptools-version-command","license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/msabramo.png","metadata":{"files":{"readme":"README.txt","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}},"created_at":"2015-01-18T00:42:32.000Z","updated_at":"2015-01-18T00:42:33.000Z","dependencies_parsed_at":null,"dependency_job_id":"97975155-18ee-4488-988d-f22ac3f68fc4","html_url":"https://github.com/msabramo/setuptools-version-command","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/msabramo/setuptools-version-command","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/msabramo%2Fsetuptools-version-command","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/msabramo%2Fsetuptools-version-command/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/msabramo%2Fsetuptools-version-command/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/msabramo%2Fsetuptools-version-command/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/msabramo","download_url":"https://codeload.github.com/msabramo/setuptools-version-command/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/msabramo%2Fsetuptools-version-command/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267670135,"owners_count":24125089,"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","status":"online","status_checked_at":"2025-07-29T02:00:12.549Z","response_time":2574,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-12-03T21:59:42.552Z","updated_at":"2025-07-29T10:31:28.628Z","avatar_url":"https://github.com/msabramo.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"setuptools-version-command -- get version from VCS\n\nInstead of hardcoding the version in setup.py like this:\n\n    setup(\n        name='some-dist-name',\n        version='1.0',\n        ...)\n\nThis package allows specifying a VCS command like this:\n\n    setup(\n        name='some-dist-name',\n        version_command='git describe')\n\nWhich will then update the version into some-dist-name.egg-info/version.txt,\nso that the version can also be found if setup.py is being run from a sdist\nor something.\n\nWhen it can find the version from either some-dist-name.egg-info/version.txt\nor the output of the version_command, it will update the version key that is\nnormally used for the version, such as what's used in the sdist filename and\nso on.\n\nSETUP KEYWORDS\n\nversion_command: the command to execute to obtain a version.\n    example: 'git describe'\n\nversion_command_pep440: whether to make output compliant with PEP 440\n    (instead of the other way around...)\n    valid values:\n        'git' or \n        'git-local' : transform '1.2-3-abc1234' to '1.2+git-3-abc1234'\n        'git-dev'   : transform '1.2-3-abc1234' to '1.2.dev3'\n    default is None, which means do nothing.\n\nINSTALLATION\n\nTo use it, just do this:\n\n    pip install setuptools-version-command\n\nWith the pip of the global python.\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmsabramo%2Fsetuptools-version-command","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmsabramo%2Fsetuptools-version-command","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmsabramo%2Fsetuptools-version-command/lists"}