-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
cmec and tests directories are being included in python package #858
Comments
#858. (2) Remove not-in-use files (old demo, png, vcs-related). (3) Clean up
Hi @xylar, thank you for pointing this out. In PR #881, I am excluding @acordonez I don't think there is any function that needs to be imported from under the @tomvothecoder I am excluding |
@lee1043 nothing in the cmec folder needs to be included in the pcmdi_metrics package. |
@lee1043, great, thank you! |
Hey Jiwoo, yes this should be okay. As far as I'm aware, it is standard Python practice to not include the |
@acordonez @tomvothecoder thank you for your comments! |
Because of this call to
find_packages()
without any arguments, I think you are picking up thecmec
andtests
directories within the python package.pcmdi_metrics/setup.py
Line 65 in 2fd4d66
Changing this call to:
would likely avoid this, though I haven't tested it myself. (The lines immediately above this do nothing because
packages
is replaced on this line.)Here is a screenshot from the latest tar file from conda-forge:
This is not a good situation because it is unclear if
cmec
is coming from its own conda-forge package (as it should be) or from this package (not desired).The text was updated successfully, but these errors were encountered: