-
Notifications
You must be signed in to change notification settings - Fork 48
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
python setup.py install
doesn't copy over central metadata
#6
Comments
Ah, thanks loads for digging into this. This is a bug. I think the problem is that I did all my developing by installing NILM Metadata using
|
Great. I've just updated https://github.com/nilmtk/nilm_metadata/blob/master/README.md to include this line in the installation instructions rather than a duplicate of sudo python setup.py install |
Ah, cool, I think we both did pretty much exactly the same thing at the same time! I think I've merged both our changes! |
Hey @JackKelly. For making a working conda recipe for nilm_metadata, For now, the |
Thanks loads for looking at this. sorry, I won't have time to look into this today. What would you suggest? Moving the |
Yes. The setuptools directory structure demands that all files required by the package have to reside in the inner folder named after the package taken into account. We could move PS: The way in which |
cool. Yes, if you make the changes you feel necessary in your fork then On 9 January 2015 at 09:46, Mridul Malpotra notifications@github.com
|
Oli emailed this bug report:
Hi Jack,
I'm trying to write the metadata for wikienergy at the moment, but have hit a problem when I try to read in the building1.yaml metadata for my dataset. When I don't include building1.yaml in the metadata, things seem to work just fine. However, when I do include it, it generates this stacktrace:
so it seems like nilm-metadata is breaking while asserting that the provided path is in fact a directory. Debugging a little further:
and it turns out that the central_metadata directory doesn't exist beside the nilm_metadata directory. I downloaded the central_metadata from github which seems to have solved the problem. Is this something that should have copied over automatically when I did 'sudo python setup.py install' for nilm-metadata?
Sorry for the long email. Feel free to call me if it's easier!
Oli
The text was updated successfully, but these errors were encountered: