aboutsummaryrefslogtreecommitdiff
path: root/python_bindings_example.py
diff options
context:
space:
mode:
authorSzczepan Zalega <szczepan@nitrokey.com>2018-01-05 19:20:18 +0100
committerSzczepan Zalega <szczepan@nitrokey.com>2018-01-16 15:32:09 +0100
commit707f5f702839d739a30a36b91a660338a5fd95a4 (patch)
tree6d067fe6d62a84f6cd2bbe441a802ca4ab5ce0d7 /python_bindings_example.py
parent50e586eade957f93e9f6c63bafb835de3d9c3c04 (diff)
downloadlibnitrokey-707f5f702839d739a30a36b91a660338a5fd95a4.tar.gz
libnitrokey-707f5f702839d739a30a36b91a660338a5fd95a4.tar.bz2
Add license / copyright info to Python files with proper comment
Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
Diffstat (limited to 'python_bindings_example.py')
-rwxr-xr-xpython_bindings_example.py23
1 files changed, 22 insertions, 1 deletions
diff --git a/python_bindings_example.py b/python_bindings_example.py
index a8f0dbb..9d81dca 100755
--- a/python_bindings_example.py
+++ b/python_bindings_example.py
@@ -1,4 +1,25 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
+"""
+Copyright (c) 2015-2018 Nitrokey UG
+
+This file is part of libnitrokey.
+
+libnitrokey is free software: you can redistribute it and/or modify
+it under the terms of the GNU Lesser General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+any later version.
+
+libnitrokey is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU Lesser General Public License
+along with libnitrokey. If not, see <http://www.gnu.org/licenses/>.
+
+SPDX-License-Identifier: LGPL-3.0
+"""
+
import cffi
from enum import Enum