-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
conventional installation instructions, python packaging #128
Comments
Hi @brandondube, sorry for the long wait, I had a lot of stuff to prepare for because of a conference I had on Monday this week. We pushed a new version to the main branch, which should be properly installable using pip. Does this satisfy the JOSS requirements for installation and installation instructions? I have already reserved a name for PyPO on PyPi (PyPO-pkg), but as of now, it only contains the current sdist of PyPO-pkg_1.0.0. |
I created a scratch environment for python 3.10 on an M2 macbook air, Ventura 13.3.1(a). The installation instructions did not work:
This is just a case of cmake not being installed on my machine; please move the text in the installation instructions about cmake to a more central heading; it is present for windows and linux, but not mac After the cmake dependency is listed generally, I am satisfied with the installation instructions There is no problem waiting to generate wheels, or post the package to PyPI; these are not required at all, but are nice conveniences for users who may not wish to install directly from github |
Thank you for the comment! This afternoon, we will merge with the main branch again. When you resume the review, can you let us know if the installation instructions work? If it all works, I will close this issue. |
Everything works as-is; you may consider removing the "Irrespective of operating system" note, since it does not add new information thanks! |
This issue is part of my portion of the JOSS review, openjournals/joss-reviews#5478
Ordinarily, python packages contain an installation heading on their main documentation page. The PyPO docs require that I navigate from the index to "Related Pages" (a guess) and then the "General" page includes installation instructions.
Please place installation instructions on the index page of the documentation
--
The build instructions are highly non-normative for python, there is an ongoing multi-year period of confusion with python packaging, between poetry, pyproject.toml, setup.cfg/setup.py, and so on. Regardless of all of that, the software should be installable using a one of the usual methods:
pip install .
orpip install https://github.com/PyPO-dev/PyPO
poetry add PyPO
and so on. This will require that you make a setup.py file, and/or setup.cfg+setup.py, or pyproject.tml file.
The user should not need to edit environment variables, and you should especially not prescribe path editing methods. For example, I do not not even have
$PYTHONPATH
set; your instructions are incompatible with my ordinary, conda-based python environment--
As-is, the instructions provide no feedback as to whether they worked or not; I ran
./Build.py -f
and then-m
, which opened a new terminal for a brief moment with no feedback as to whether it worked or crashed. Same for-t
.The text was updated successfully, but these errors were encountered: