Skip to content
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

JOSS Review: Installation feedback #37

Open
kjappelbaum opened this issue Jun 5, 2022 · 3 comments
Open

JOSS Review: Installation feedback #37

kjappelbaum opened this issue Jun 5, 2022 · 3 comments

Comments

@kjappelbaum
Copy link
Contributor

kjappelbaum commented Jun 5, 2022

Recommended

  • It is not really clear why one needs the GitHub CLI to be installed

Highly optional

  • In the metadata, you indicate support for down to Python 3.4. You just want to note that even Python 3.6 is already end-of-life https://endoflife.date/python
  • Alternatively (version 2) you recommend running python setup.py install. Note that there might be several alternatives:
@khinsen
Copy link

khinsen commented Jun 7, 2022

The instructions refer to the Git CLI, not GitHub. Git is indeed required for method 2, although it is listed for method 1. That looks like a mistake.

As for the variants listed by @kjappelbaum, I think it's a good idea to think first about who the installation instructions are aimed at.

My understanding is that pygetpapers is both a CLI tool and a Python library. Anyone going for the Python library can be expected to be familiar with Python habits, so "install via pip install pygetpapers" should be sufficient. That leaves people who want just the CLI tool, and may well know nothing about Python. They would probably appreciate being told just one way to install the package, but a way that works everywhere. I am not sure that this is still possible with Python. Maybe a reference to https://packaging.python.org/en/latest/tutorials/installing-packages/ would be appropriate, although its length and detail can be scary.

@kjappelbaum
Copy link
Contributor Author

Thanks for catching my typo about the git CLI. Typically, I see two use cases:

  • default: install the latest stable release from pip pip install pygetpaper
  • developers/... install from the head pip install git+...

@ayush4921
Copy link
Collaborator

Thanks a lot for pointing this out. I have added two ways, with one directly downloading from the Head. I have also corrected requiring Git CLI for method 1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants