Skip to content

Move single file package to a directory#136

Merged
sgillies merged 2 commits into
mainfrom
package-dir
Jan 28, 2026
Merged

Move single file package to a directory#136
sgillies merged 2 commits into
mainfrom
package-dir

Conversation

@sgillies

Copy link
Copy Markdown
Member

To accomodate py.typed.

Resolves #135.

@sgillies sgillies self-assigned this Jan 28, 2026

@kylebarron kylebarron left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

@sgillies sgillies merged commit 168842b into main Jan 28, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

py.typed not included in distribution

2 participants