From 3981cc576660e7faa59e689d00c90657a95244e7 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Thu, 8 Jan 2009 14:06:57 -0500 Subject: [PATCH] Prepared for distribution. Fixed lines in the Makefile that I hadn't changed when I copied it into this project in the beginning. Also added GPL blurbs to two py files. --- Makefile | 4 ++-- calibcant/calibrate.py | 23 +++++++++++++++++++++++ calibcant/config.py | 23 +++++++++++++++++++++++ 3 files changed, 48 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 39baac2..8514b79 100644 --- a/Makefile +++ b/Makefile @@ -11,9 +11,9 @@ check : all dist : python setup.py sdist - scp dist/data_logger*tar.gz einstein:public_html/code/python/ + scp dist/calibcant*tar.gz einstein:public_html/code/python/ clean : python setup.py clean - rm -rf build dist data_logger.egg-info + rm -rf build dist calibcant.egg-info rm -f dummy_py *.pyc diff --git a/calibcant/calibrate.py b/calibcant/calibrate.py index 2cfff35..10622f4 100755 --- a/calibcant/calibrate.py +++ b/calibcant/calibrate.py @@ -1,4 +1,27 @@ #!/usr/bin/python +# +# calibcant - tools for thermally calibrating AFM cantilevers +# +# Copyright (C) 2007,2008, William Trevor King +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License as +# published by the Free Software Foundation; either version 3 of the +# License, or (at your option) any later version. +# +# This program 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 General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA +# 02111-1307, USA. +# +# The author may be contacted at on the Internet, or +# write to Trevor King, Drexel University, Physics Dept., 3141 Chestnut St., +# Philadelphia PA 19104, USA. """ Aquire and analyze cantilever calibration data. diff --git a/calibcant/config.py b/calibcant/config.py index f86618e..8d7d511 100644 --- a/calibcant/config.py +++ b/calibcant/config.py @@ -1,3 +1,26 @@ +# calibcant - tools for thermally calibrating AFM cantilevers +# +# Copyright (C) 2007,2008, William Trevor King +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License as +# published by the Free Software Foundation; either version 3 of the +# License, or (at your option) any later version. +# +# This program 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 General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA +# 02111-1307, USA. +# +# The author may be contacted at on the Internet, or +# write to Trevor King, Drexel University, Physics Dept., 3141 Chestnut St., +# Philadelphia PA 19104, USA. + """Define some variables to configure the package for a particular lab and workflow.""" -- 2.26.2