sampleproject
sampleproject copied to clipboard
A sample project that exists for PyPUG's "Tutorial on Packaging and Distributing Projects"
Fixes #208. Should I remove the GH Actions CI workflow? I think it would still be useful for pull request validation purposes. It could be limited to linting, though.
Since this project was originally (now, it also seems to be a general Python project template, I don't know if that has always been the case) designed for the sole...
The flake8 configuration in tox.ini uses the `select` option: https://github.com/pypa/sampleproject/blob/3fb1461c7c13b6832ed0f25625b19f2d321a74b7/tox.ini#L45 The problem is that this enables the W503 warning ("line break before binary operator") which is an incompatibility with the...
Hi, Thank you for providing very useful resource. NOTE: I am not raising issue of the license terms of this `sampleproject` like #17 since this is MIT licensed. ## ISSUE...
The `tox` [docs](https://tox.wiki/en/latest/user_guide.html) use `>=4` It is safe to update it here? Currently: ```.ini # Define the minimal tox version required to run; # if the host tox is less...
It's already pulled in by `setuptools` automatically, when building wheels is requested from the frontend. If only sdists are being build, `pyproject.toml` shouldn't forcefully inject this dependency into the ephemeral...
Both `python tests/test_simple.py` and `python -m unittest discover` throw errors because of the import ``` File "sampleproject/tests/test_simple.py", line 7, in from sample.simple import add_one ModuleNotFoundError: No module named 'sample' ```...
The documentation for packaging and distributing projects using setuptools, at [this link](https://packaging.python.org/en/latest/guides/distributing-packages-using-setuptools/) in the official documentation, seems to have an error in the section starting with **setup() args**. The error...
Some people may argue that development dependencies should be separated from optional dependencies e.g. in separate requirements.txt file. Poetry, or PDM, does it with a special section. What is an...
Cf. https://docs.python.org/3/library/__main__.html