python-license-check icon indicating copy to clipboard operation
python-license-check copied to clipboard

Custom proprietary license support

Open Ivashkaization opened this issue 3 years ago • 1 comments

Library has following license metadata:

License: X Proprietary
Classifier: License :: Other/Proprietary License

And liccheck.ini file has following authorized license in it:

[Licenses]
authorized_licenses:
        x proprietary

But liccheck fails, because it needs Other/Proprietary License (as classifier license) to be in liccheck.ini file

However, this doesn't reproduce on versions below 0.5.2

I suppose changing: https://github.com/dhatim/python-license-check/blob/668ea7b4aa471023a28fe2b1c5fac5c83a77f901/liccheck/command_line.py#L119 to: https://github.com/dhatim/python-license-check/blob/3cbce20de685c944c8c2e6e7387be18f8cb5d5f2/liccheck/command_line.py#L119

caused it.

Maybe liccheck should handle proprietary licenses differently to avoid allowing all Other/Proprietary License instead of custom proprietary licenses?

Ivashkaization avatar Apr 08 '21 15:04 Ivashkaization

What about progress? Still waiting?

Niccolum avatar Aug 06 '21 23:08 Niccolum