I do the same. The exception is test data, which sometimes is too large to not dominate the sdist size, so I choose to not include it.
Python
Welcome to the Python community on the programming.dev Lemmy instance!
π Events
Past
November 2023
- PyCon Ireland 2023, 11-12th
- PyData Tel Aviv 2023 14th
October 2023
- PyConES Canarias 2023, 6-8th
- DjangoCon US 2023, 16-20th (!django π¬)
July 2023
- PyDelhi Meetup, 2nd
- PyCon Israel, 4-5th
- DFW Pythoneers, 6th
- Django Girls Abraka, 6-7th
- SciPy 2023 10-16th, Austin
- IndyPy, 11th
- Leipzig Python User Group, 11th
- Austin Python, 12th
- EuroPython 2023, 17-23rd
- Austin Python: Evening of Coding, 18th
- PyHEP.dev 2023 - "Python in HEP" Developer's Workshop, 25th
August 2023
- PyLadies Dublin, 15th
- EuroSciPy 2023, 14-18th
September 2023
- PyData Amsterdam, 14-16th
- PyCon UK, 22nd - 25th
π Python project:
- Python
- Documentation
- News & Blog
- Python Planet blog aggregator
π Python Community:
- #python IRC for general questions
- #python-dev IRC for CPython developers
- PySlackers Slack channel
- Python Discord server
- Python Weekly newsletters
- Mailing lists
- Forum
β¨ Python Ecosystem:
π Fediverse
Communities
- #python on Mastodon
- c/django on programming.dev
- c/pythorhead on lemmy.dbzer0.com
Projects
- PythΓΆrhead: a Python library for interacting with Lemmy
- Plemmy: a Python package for accessing the Lemmy API
- pylemmy pylemmy enables simple access to Lemmy's API with Python
- mastodon.py, a Python wrapper for the Mastodon API
Feeds
If your talking about a source distribution archive, generally it is the project in the 'distclean' state. This is decribed in GNU documentation. I think for GNU Make. Not sure if the git specific files should technically be included but maybe these days they should. The 'distclean' state is generally the same code as from the VCS tree but with hard to build files pre-built but probably not platform specific files. The 'maintainerclean' state is basically the clean VCS snapshot nothing pre-built.
Edit: The reason to prebuild some not platform specific files is to minimize the tools needed for installing from source.
Thank you. Took me awhile to internalize your very generous and detailed advice
target spelling correction: maintainerclean --> maintainer-clean
Here is the docs covering the topic
Actions taken
-
In Makefile, separate GNU Make standard targets from other target categories
-
Rename
make coverage
-->make check
. This would require includingtests/
in tarball -
Consider creating targets distclean and maintainer-clean
-
In
MANIFEST.in
, remove git related files: .gitignore, .github/**/* -
Removed config files: codecov.yml, .readthedocs.yml
By the way. The only files you mentioned I am less sure about are configs. Specifically if these configs are system specific, probaby only examples or templates should be included but the configs should be built by the build process on the target system.
Edit: It should contain tests. Running some equivalent to 'make check' on the target system is pretty standard.
Edit: Not sure what .github folder tree file contains so cannot say.
Thank you everyone who has contributed to this discussion.
My question has been answered. Unless there are additional questions, along the same topic, consider this thread closed.