How to include GPL texts?

This is the place for queries that don't fit in any of the other categories.

How to include GPL texts?

Postby Kebap » Mon Dec 23, 2013 10:09 pm

Hi all, I wonder if you have any tips on how to do this best in python?

It seems, the "GNU public license" requires us to put a short info in every file of our projects. See How to use GPL for additional info.

Should this be put in the docstring, or regular comment, or both? Also we have this information to put somewhere:

Code: Select all
__author__ = "Developer ("
__version__ = "$Revision: 1.1 $"
__date__ = "$Date: 2013/12/05 21:57:19 $"
__copyright__ = "Copyright (c) 2013  <author>"
__license__ = "AGPL3"

Also, what about projects with hundreds of files? Should all these blobs of info also be added to modules which are not self-standing applications, and cannot run alone, or even be imported outside of the core application?

We searched for tools to help with adding all this text to all these files. Found two (headache, licenseutils), but not sure how good they will work with python. Any tips are welcome! :)
Due to the reasons discussed here we are moving to on October 1, 2016.

This forum will be closed. Please create an account at the new site to continue discussion.

Posts: 689
Joined: Thu Apr 04, 2013 1:17 pm
Location: Germany, Europe

Return to General Coding Help

Who is online

Users browsing this forum: Bing [Bot] and 6 guests