-
Notifications
You must be signed in to change notification settings - Fork 95
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
Move long description logic from info.py to setup.py #670
Conversation
@notZaki looks like CircleCI is having dockerhub issues; you'll probably need to wait until those issues resolve and then push an empty commit in order to correctly trigger tests on Circle. |
Codecov Report
@@ Coverage Diff @@
## main #670 +/- ##
=======================================
Coverage 93.64% 93.64%
=======================================
Files 26 26
Lines 2030 2030
=======================================
Hits 1901 1901
Misses 129 129
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks @notZaki !
@notZaki do you want to add yourself to the Zenodo file in this PR? |
@tsalo I'll open another PR later today with a minor change for getting tests to work on windows, and I can add myself then. |
References #668
The
README.md
file is used as the module's long description. The relevant code is defined intedana/info.py
. This causes an error when importing the module because it tries to load the readme file, but the readme file does not get copied over once the module is installedThis PR moves the relevant code to
setup.py
so that the readme file is only read when the module is first being installed. This should get rid of the error. Remains to be seen if the long description will correctly show up on pypi.