LocalStack Distribution of Twisted
This package re-distributes the unmodified twisted code for use in LocalStack, excluding the tests and a few modules not needed by LocalStack in order to reduce the size.
Build project
Clone
Clone the repository with submodules
git clone --recurse-submodules git@github.com:localstack/twisted-distribution
Build
python -m build
Upgrade to latest tagged version
To check out the latest tag and update the submodule, you can run this:
cd ./twisted
git fetch --tags
git checkout "$(git describe --tags "$(git rev-list --tags --max-count=1)")"
cd ..
git add twisted
Then
git commit -am "upgrade to twisted <version>"
Publish to pypi
First, build the package
python -m venv .venv
source .venv/bin/activate
python -m pip install build twine
python -m build
python -m twine upload dist/*
Release files for localstack-twisted 26.4.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| localstack_twisted-26.4.0.tar.gz | 895.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| localstack_twisted-26.4.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 2.0 MB
Release files / localstack_twisted-26.4.0.tar.gz
| Download URL | localstack_twisted-26.4.0.tar.gz |
|---|---|
| Size | 895.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fd59be19d063991d2f1832efdc1d0d02f77e7d4d2c9ce740af5f676c4daa47f0
|
|
BLAKE2b-256 checksum How to use checksums |
8d46e005df60a5198fd87c027e4c191cf356dc6bd7beb2a8c50da0c8c3e5d76b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.11
|
Release files / localstack_twisted-26.4.0-py3-none-any.whl
| Download URL | localstack_twisted-26.4.0-py3-none-any.whl |
|---|---|
| Size | 1.1 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
47ae73c615adfae76e1def09ddb35a418f2d6bb9fd7dd03cb1e9169a07365782
|
|
BLAKE2b-256 checksum How to use checksums |
86403b990ce870e99d159330968b39147b707c7eeeac80c7f2da0d69e048fe72
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.11
|