-
Notifications
You must be signed in to change notification settings - Fork 426
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
reduce pypi package file size #629
Comments
Yes, I noticed the size too, but never took the time to look into it. Excluding docs from the package sounds good to me, PR welcome! |
why not publish it as wheel? There is nothing to change in code repository to publish this package as wheel It's too easy as executing following command:
or more control on upload via twine:
NOTE:
|
also you could remove https://github.com/jieter/django-tables2/blob/master/MANIFEST.in#L4 |
Because I do not fully understand the difference between a source package and a wheel, I do not want to rush changing it. |
ok I am doing it right now. and will submit a pull request. |
Hi, thank you for your great django-table2 package. it helps us very much.
I recently re-install my environment and noticed django-tables2 pypi package size is even bigger than django itself!
digging more about that, I found that you only distribute source code to pypi. But if you
bdist_wheel
it, it will reduce to ~90Kb.However if you don't like wheels (why?) you could exclude
/docs/_build/
directory form source distributed version of your package, or at least remove those huge web fonts from there. I don't think anyone install your package via pip to read documents, when you offer docs in readthedocs.thanks.
The text was updated successfully, but these errors were encountered: