standard-distutils
Standard library distutils redistribution. "dead battery".
What it is and what it does
This package redistributes the distutils module, which Python removed from its standard library as part of PEP 594 ("Removing dead batteries from the standard library"). It allows projects that still depend on distutils to install it as a third-party package rather than being forced to migrate to setuptools or other build tools.
The package contains a minimal, archive-focused implementation with no active feature development. It is intended as a compatibility shim for legacy codebases, not as a long-term replacement for modern Python packaging tools. The maintainer explicitly discourages feature requests and recommends that users seek actively maintained alternatives if they need more than basic compatibility.
Use it for:
- Maintain legacy projects that import distutils without immediately migrating to setuptools or modern packaging tools
- Provide temporary compatibility for older codebases during a gradual transition away from distutils
- Support continuous integration pipelines that run on Python versions before distutils was removed
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Provides the distutils module from Python's standard library as an installable package for projects that still depend on it after its removal from the standard library.
Yes, but only as a temporary bridge for legacy code. Install it if you have a project that still imports distutils and you cannot immediately migrate to setuptools or another build tool. Do not rely on it for new projects or expect it to receive updates—the package is dormant and explicitly does not work on Python 3.13. Plan a migration away from distutils as part of your upgrade path.
Install
standard-distutils on PyPI
pip
pip install standard-distutilsuv
uv add standard-distutilspoetry
poetry add standard-distutilsInstalling standard-distutils
Before you install
Low install friction with a pure-Python wheel. However, the package is dormant (last release 653 days ago) and explicitly marked as not working on Python 3.13, which limits its forward compatibility.
License in practice
Licensed under PSF-2.0 (permissive), the same license as Python itself, so there are no licensing barriers to use.
Quickstart
pip install standard-distutils
import distutils.core
setup = distutils.core.setup
Does not work on Python 3.13; intended for Python 3.11–3.12 only.
Verify before relying
- Whether this package works reliably on Python versions between 3.11 and 3.12, or only on specific minor versions
- What specific compatibility issues exist on Python 3.13 and whether they are fixable
Package facts
| License | PSF-2.0 (permissive) |
| Python support | not specified |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | none |
| Maintenance | dormant — 653 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 188,504/month — #9,943 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: standard_distutils-3.11.9-py3-none-any.whl
Keywords: stdlib
Tags
More Libraries packages
urllib3 is an HTTP client library that provides…
permissive · top 100 on PyPI
requestsRequests is a Python HTTP library that…
permissive · top 100 on PyPI
pluggyPluggy provides a plugin system that lets you…
permissive · top 100 on PyPI
python-dateutilProvides parsing, arithmetic, and recurrence…
permissive · top 100 on PyPI
sixSix provides utility functions to write Python…
permissive · top 100 on PyPI
pytestpytest is a testing framework that lets you…
permissive · top 100 on PyPI
standard-imghdrProvides the `imghdr` module, a Python standard…
permissive · top 5,000 on PyPI
standard-sunauProvides the sunau module, a standard library…
permissive · top 5,000 on PyPI
standard-telnetlibProvides the telnetlib module removed from…
permissive · top 15,000 on PyPI
standard-aifcProvides the aifc module, a pure-Python…
permissive · top 5,000 on PyPI
standard-chunkProvides the chunk module, a removed Python…
permissive · top 5,000 on PyPI
legacy-cgiProvides the cgi and cgitb modules removed from…
permissive · top 5,000 on PyPI
distributeDistribute is a legacy compatibility wrapper…
permissive · top 15,000 on PyPI
verlib2Provides standalone version comparison and…
unclear · top 15,000 on PyPI
setuptoolsSetuptools is a Python build backend and…
permissive · top 100 on PyPI
stdebConverts Python packages into Debian source and…
permissive · top 15,000 on PyPI