Skip to content
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

There is no template with the other Licence files that nbdev supports #17

Open
Martin15135215 opened this issue Dec 24, 2023 · 0 comments

Comments

@Martin15135215
Copy link

I found it while I tested it here. AnswerDotAI/nbdev#1380

TLDR:

https://github.com/fastai/nbdev/blob/96deb7a03bf2cf79a04e1878f67ce099e434e97f/setup.py#L19-L26

licenses = { 
     'apache2': ('Apache Software License 2.0','OSI Approved :: Apache Software License'), 
     'mit': ('MIT License', 'OSI Approved :: MIT License'), 
     'gpl2': ('GNU General Public License v2', 'OSI Approved :: GNU General Public License v2 (GPLv2)'), 
     'gpl3': ('GNU General Public License v3', 'OSI Approved :: GNU General Public License v3 (GPLv3)'), 
     'agpl3': ('GNU Affero General Public License v3', 'OSI Approved :: GNU Affero General Public License (AGPLv3)'), 
     'bsd3': ('BSD License', 'OSI Approved :: BSD License'), 
 } 

and then

nbdev_new --license gpl3

In the settings.ini, the value for licence was gpl3 however the licence file was still apache2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant