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
idc-index CSV is not packaged with the refactored organization of the repo #41
Comments
Thanks for pointing this out. Packaging the csv file as part of the wheel would allow to streamline the implementation by avoiding runtime download (that would need to be updated by adding checksum verification as it currently only check1 for file existence) As you said, it would avoid an additional download upon the first instantiation of the IDCClient. To avoid uploading the cvs file (~45M) for each platform specific wheels, we could also create a wheel called Last, we could also look into having an other wheel responsible to only distribute the csv file, this wheel would be called In the short term, I suggest to create Footnotes |
In my initial reply, I suggested Footnotes |
@fedorov I am happy to help by posting an issue at |
👌 I will take care of this either this evening or tomorrow. |
Corresponding issue has been created: |
@jcfr it is my fault that I missed it during my testing, but we realized it only today that the CSV file that serves as the content of the index is not packaged in the wheel.
This is how we did it before:
idc-index/setup.py
Line 29 in a39d961
Currently, since this file is not packaged, the fallback is activated and it is downloaded when the user instantiates the index:
idc-index/idc_index/index.py
Line 35 in 597aef6
Before declaring this to be a bug and working on a solution, I would like to understand what is the recommendation/best practice on how this should be done? We discussed this initially, and thought that it is better to install this file at the time the package is installed, and to avoid surprising user by downloading it at runtime, but maybe that is not the best practice? Do you have a perspective on this?
The text was updated successfully, but these errors were encountered: