If you want to manage the copyright and licensing information of your source code files automatically, you may use headache
tool.
Install headache. If you are on Ubuntu or Debian GNU/Linux, simply issue the command:
apt-get install headache
- Create a copyright notice template. You can use the attached sample which is an Apache License, Version 2.0.
- Create a configuration file. You can use the attached sample which extends the default configuration for python files.
Run:
headache -c config.cfg -h template.txt [source_file(s)]