Move single file package to a directory#136
Merged
Merged
Conversation
To accomodate py.typed.
kylebarron
approved these changes
Jan 28, 2026
kylebarron
left a comment
Contributor
There was a problem hiding this comment.
Was just about to make this PR myself 🙂
This does look like it solves the issue:
> python -m build .
* Creating isolated environment: venv+pip...
* Installing packages in isolated environment:
- flit_core >=3.2,<4
* Getting build dependencies for sdist...
* Building sdist...
* Building wheel from sdist
* Creating isolated environment: venv+pip...
* Installing packages in isolated environment:
- flit_core >=3.2,<4
* Getting build dependencies for wheel...
* Building wheel...
Successfully built affine-3.0rc2.tar.gz and affine-3.0rc2-py3-none-any.whl
> unzip -l dist/affine-3.0rc2-py3-none-any.whl
Archive: dist/affine-3.0rc2-py3-none-any.whl
Length Date Time Name
--------- ---------- ----- ----
23639 01-27-2026 22:55 affine/__init__.py
0 01-27-2026 22:55 affine/py.typed
1517 01-27-2026 22:50 affine-3.0rc2.dist-info/licenses/LICENSE.txt
82 01-01-2016 00:00 affine-3.0rc2.dist-info/WHEEL
4254 01-01-2016 00:00 affine-3.0rc2.dist-info/METADATA
452 01-01-2016 00:00 affine-3.0rc2.dist-info/RECORD
--------- -------
29944 6 files
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
To accomodate py.typed.
Resolves #135.