respec / HSPsquared

Hydrologic Simulation Program Python (HSPsquared)
GNU Affero General Public License v3.0
43 stars 17 forks source link

(feat) change to a pyproject.toml to publish to pypi #152

Closed timcera closed 2 months ago

timcera commented 2 months ago
PaulDudaRESPEC commented 2 months ago

Thanks @timcera !

aufdenkampe commented 2 months ago

@timcera, thanks for these updates! Moving to use of a pygroject.toml will really facilitate adoption through much better packaging!

I noticed that you replaced READMD.md with README.rst, which has me thinking that you're getting us setup for automated code documentation with Sphinx, which is awesome. For a lot of our projects, we've been using Sphinx's Markdown support, because of the higher level of familiarity with Markdown and GithHub's excellent Markdown editors. Just an idea to consider.

timcera commented 2 months ago

I tried to stick with markdown, but there was something that wasn't passing the check that would correctly render on PyPI. The command 'twine check dist/hsp2*tar.gz' validates the README.rst (or README.md). There was an error with README.md that pointed to a line that didn't have an error that I could see. So went with what I know works, and once I was finished with the new README.rst it did pass the 'twine check ...'.

timcera commented 2 months ago

Noticed that the latest README.rst doesn't render the indented blocks the way I intended. Will fix soon.