Skip to content
This repository was archived by the owner on Mar 31, 2025. It is now read-only.

nc7s/pewee

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pewee: Pack required DLLs into wheels

When building packages with native extensions, native libraries are not included in the wheel. To fix this problem, we need to put them in ourselves.

There’s auditwheel for Linux and delocate for macOS, so here’s one for Windows.

How pewee works: it unpacks a Windows wheel, goes over those, find DLLs they require, copy them into the wheel, and repack it.

Install

pip install pewee
pip install pewee[cli] # CLI usage

Usage

CLI usage
pewee patch some-1.2.3-py3-none-any.whl
API usage
from pewee import patch_wheel

patch_wheel('./dist/some-1.2.3-py3-none-any.whl')

Testing

Run python -m pytest.

License

BSD 3-clause.

About

[MOVED] Pack required DLLs into wheels

Resources

License

Stars

1 star

Watchers

2 watching

Forks

Contributors

Languages