sdist with --dist-dir on Windows produces incorrect archive
See original GitHub issueUsing a relative path works as expected (python setup.py sdist --dist-dir dist
)
however using an absolute path (python setup.py sdist --dist-dir C:\Users\Ofek\Desktop\mypkg\dist
) includes the entire path structure starting at the drive/root
Issue Analytics
- State:
- Created 6 years ago
- Comments:14 (10 by maintainers)
Top Results From Across the Web
setup.py sdist creates an archive without the package
everything looks fine, and from my understanding the package should now be archived in the dist folder. But when I open the dist...
Read more >Vzít ven sliz detekce python setup py sdist Nabídka dodávka ...
How to make the Package in Python | by Ankit Kumar Rajpoot | DataDrivenInvestor. sdist with --dist-dir on Windows produces incorrect archive ·...
Read more >Distributing Python Modules - MIT
python setup.py sdist which will create an archive file (e.g., tarball on UNIX, ZIP file on Windows) containing your setup script, ...
Read more >4. Creating a Source Distribution — Python 3.11.1 ...
As shown in section A Simple Example, you use the sdist command to create a ... sdist creates the archive of the default...
Read more >What Are Python Wheels and Why Should You Care?
The tar.gz tarball that pip retrieves is a source distribution, or sdist ... A Python .whl file is essentially a ZIP ( .zip...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Setuptools can still help by making sure that the fix is included in pypa/distutils and merged with this project. Indeed, that will be necessary to avoid a regression for users usingSETUPTOOLS_USE_DISTUTILS=local
or future versions that rely on adopted distutils exclusively.My fix for the tarfile module is included in Python 3.8.7 and 3.9.1. This issue can be closed.