-
-
Notifications
You must be signed in to change notification settings - Fork 560
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
Rework loading the NOTICE from a NOTICE file #468
Comments
Do not worry, this is a tricky part in wheels and rather easy to get past it. A file that not inside a package is not readily accessible in a wheel (even though you can get to it in development). This is also an area that is and has been the subject of a lot of discussions. See:
Now, I started pushing a wheel a while ago but only on Github releases for now: https://github.com/nexB/scancode-toolkit/releases ... The goal is to to make this a Pypi wheel with 2.0. This was not caught only because there is not a test for this! |
* this is a first step towards #381 * code and tests have been split from the scancode module * Also restore the ability to run ScanCode as a library by vendoring the NOTICE file. This was a regression introduced in #424 and tracked as #468 Signed-off-by: Philippe Ombredanne <[email protected]>
This is working again now and is fixed. |
This was introduced in #424
But this https://github.com/nexB/scancode-toolkit/pull/424/files#diff-1e37ecfb9a8c3fccd8ecdfb2ce51f591R104 is making an assumption about the location of the NOTICE file which does not hold in a built wheel (the NOTICE is not
package data
setup-wise)The text was updated successfully, but these errors were encountered: