Conversation
|
More could be done here, e.g., the README and INSTALL file duplicate content. Instead of being fancy and generating them somehow, perhaps we just reduce them to the minimum necessary and make sure that they contain helpful links? Please contribute to the PR, not sure if I have much more time to work on it. |
Codecov Report
@@ Coverage Diff @@
## develop #2808 +/- ##
===========================================
+ Coverage 92.20% 92.22% +0.02%
===========================================
Files 184 184
Lines 24103 24170 +67
Branches 3134 3134
===========================================
+ Hits 22224 22291 +67
Misses 1814 1814
Partials 65 65
Continue to review full report at Codecov.
|
93ef8cf to
cf27760
Compare
IAlibay
left a comment
There was a problem hiding this comment.
Just a couple of questions, main one being that the logo doesn't seem to be centered in: https://github.com/MDAnalysis/mdanalysis/tree/update-pypi-SUMMARY
|
Btw, thanks for reviewing @IAlibay ... I had removed you from the initial list as I didn't want to pile even more on you. So thank you for doing it nevertheless. |
|
@IAlibay do you think that anything else needs changing here? |
IAlibay
left a comment
There was a problem hiding this comment.
lgtm, just a few minor comments to possibly consider.
README.rst
Outdated
| .. _`MDAnalysis.analysis`: https://docs.mdanalysis.org/documentation_pages/analysis_modules.html | ||
| .. _`tutorials`: https://www.mdanalysis.org/pages/learning_MDAnalysis/ | ||
| .. _`guide`: https://github.com/MDAnalysis/mdanalysis/wiki/Guide-for-Developers | ||
| .. _`tutorials`: https://www.mdanalysis.org/UserGuide/examples/README.html |
There was a problem hiding this comment.
I realise it points in the same place, but for consistency should this be: https://userguide.mdanalysis.org/1.0.0/examples/README.html instead?
There was a problem hiding this comment.
Yes, thanks, or rather https://userguide.mdanalysis.org/examples/README.html (so that we don't have to update the version info)
| flags=re.DOTALL) | ||
| assert m, "README.rst does not contain a level-1 heading" | ||
| return buffer[m.end():] | ||
|
|
There was a problem hiding this comment.
Shouldn't there be two blank lines here? I would have expected pep8speaks to pick this one up, so maybe there's a PEP8 special case for empty lines between functions and if __name__ == '__main__' that I'm not aware of.
There was a problem hiding this comment.
fixed (together with other PEP8 complaints)
- generate LONG_DESCRIPTION from README.rst
- remove SUMMARY.txt (out of date)
- read top-level repository README.rst for LONG_DESCRIPTION
- changed README.rst
- add installation instruction (link)
- add links to Quickstart Guide, User Guide, and API docs
- add links to issue tracker and mailing list in text (Contributing)
- replaced links to wiki with links to User Guide
- remove raw html from README (raw html not allowed on PyPi)
- replace NumFOCUS logo image with reduced size version (200 x 61 px) and standard reST
image syntax (logo added to web site in commit
MDAnalysis/MDAnalysis.github.io@ec4fe2c )
- fix broken link
- tutorials direct to Examples in User Guide
- add link to video section of "Learning MDAnalysis"
- passes `twine check`
- cleaned up MANIFEST.in (for pypi packages)
- fixed links in Py files
- Make sure that we always use the SSL url of the home page
git grep -l 'http://www\.mdanalysis\.org' | xargs perl -wpi~ -e 's(https://www\.mdanalysis\.org)(https://www.mdanalysis.org)'
- fixed link to issue tracker in files
git grep -l 'issues.mdanalysis.org' | xargs perl -wpi~ -e 's(https?://issues\.mdanalysis\.org)(https://github.com/MDAnalysis/mdanalysis/issues)
- fixed PEP8 issues in files
- various updates in testsuite/README (link to userguide, update badges)
- use User Guide as style reference
Co-authored-by: Lily Wang <31115101+lilyminium@users.noreply.github.com>
- explicit PYPI_CHECK in script section - switch travis to beta for config validation - https://docs.travis-ci.com/user/build-config-validation - get feedback on problems with the config yml file Note: Use ci-helper's algorithm for installing numpy and don't pin a numpy version, not even for the simple PYPI_CHECK section
0b0d4c2 to
bbc3dcb
Compare
|
I rewrote the history to cleanly separate the meta data updates and the addition of a the package build check in Travis CI. (EDIT) so that this can be merged. |
Fixes #2807
Changes made in this Pull Request:
add code to
setup.pyto extract reST suitable for PyPi)removed raw html by including a down-scaled version of the NF logo
PR Checklist