Skip to content

Conversation

@BenCretois
Copy link
Contributor

Add a LICENCE file with the MIT licence

@BenCretois BenCretois mentioned this pull request Dec 17, 2025
@frafra frafra self-assigned this Dec 17, 2025
Copy link
Collaborator

@frafra frafra left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would not change the licence to the python template right away, since that would automatically change the licence of all the projects that have been generated with this template, which is a major change.

@nicokant
Copy link
Collaborator

What about adding a question about license, so that it's compatible for older projects and opt in for new/updating ones?

Could be boolean (do you want to include a default FOSS license?)

@frafra
Copy link
Collaborator

frafra commented Dec 18, 2025

I think we should have the GPLv3+ as file for all projects. That is what the issue is about.
I suggest having a different issue to extend support to other licences and have a discussion internally.

@BenCretois
Copy link
Contributor Author

Okay, I added the LICENCE file in the python folder and licence-file in the pyproject.toml.jinja. The LICENCE is now also GPL-3.0+

Copy link
Collaborator

@frafra frafra left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Avoid changing the main pyproject.toml, or add a LICENSE file there as well :)

# See https://www.python.org/dev/peps/pep-0621/
dependencies = []
description = ""
licence-files = ["LICENSE"]
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No license file in the root folder of the repository. You can drop this line.

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

Successfully merging this pull request may close these issues.

4 participants