Closed MicahGale closed 3 weeks ago
Can we implement this on the files in #1 (and thus merge that ASAP if ready) including moving those files as appropriate?
Yes, I was thinking this should be based on #1, but I didn't want to deal with a second remote. So I'll make this a draft again until that is merged.
Can we implement this on the files in https://github.com/cnerg/py-template/pull/1 (and thus merge that ASAP if ready) including moving those files as appropriate?
By this do you mean moving the current files in #1 into the package or not? I was thinking of including some top level files that show good practices for scripting, and then this being an independent-ish folder and showing packaging.
Can we implement this on the files in #1 (and thus merge that ASAP if ready) including moving those files as appropriate?
By this do you mean moving the current files in #1 into the package or not? I was thinking of including some top level files that show good practices for scripting, and then this being an independent-ish folder and showing packaging.
I guess I don't need to get too complicated. It's meant for people starting new projects from scratch without a lot of prior experience. Happy to debate what that minimal case looks like, so I'll see how it all fits. Don't want you to go too far down a rabbit hole though.
Add example of pyproject scripts/entry points?
Todo: move do_task.py
and test_do_task.py
into acme_corp
. Harmonize doc strings.
Added an example package with a
pyproject.toml
file.This a variety of levels of concepts that may or not be appropriate for this scope.
pyproject.toml
file that covers:python -m build
andpip install .
should work on it.pytest
).__init__.py
__main__.py
_private
@property
getterspytest.fixture
pytest.approx
for float comparisonsFixes #3.