Closed elbeejay closed 5 months ago
@elbeejay Thank you for opening this PR. While this testing workflow can go in parallel, I'd recommend migrating to
pyproject.toml
first (#40 and #41), including the dependencies and optional dependencies. For example, in the new setup, the dependencies can be added and pinned and the installation could be simplified topip install gostnets
orpip install "gostnets[optimization]"
(or even include all dependencies by default because they are not large). Then this PR can be updated and merged. What are your thoughts?
Sure, I'd just started here because the PEP stuff wasn't clear to me (from here) but now that we've cleared that up I can set up the pyproject.toml
.
@elbeejay #40 is now closed.
Added a "publish" workflow for automatic publishing to pypi. May requre configuration on the pypi side per this document
Added a "publish" workflow for automatic publishing to pypi. May requre configuration on the pypi side per this document
@elbeejay Thanks! Merging (we can open other PRs to complement this basic setip). FYI I have requested a worldbank
organization on PyPI, but I'll add it manually in the meantime in the next release.
Set up some GitHub actions starting with a simple continuous integration workflow to try installing the
GOSTnets
package on the 3 major operating systems (Linux, Windows, MacOS) for Python 3.8 and then runningPython -c import GOSTnets
as a very basic test of the package having installed and existing.Right now we are limited to Python 3.8 because of the hard-pinned dependency
rtree-0.9.3
per the project's readme.