From: W. Trevor King Date: Tue, 9 Nov 2010 20:01:11 +0000 (-0500) Subject: Update to piezo v0.3 (based on data_logger 0.4) and bump to v0.5. X-Git-Tag: 0.5 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=b7002b8037a00ced37c1cc0d23ceabaf49a465f9;p=calibcant.git Update to piezo v0.3 (based on data_logger 0.4) and bump to v0.5. --- diff --git a/calibcant/__init__.py b/calibcant/__init__.py index 516334b..c890f4f 100644 --- a/calibcant/__init__.py +++ b/calibcant/__init__.py @@ -18,4 +18,4 @@ # License along with CalibCant. If not, see # . -VERSION="0.4" +__version__ = '0.5' diff --git a/calibcant/bump.py b/calibcant/bump.py index 9a2b701..08c4c36 100644 --- a/calibcant/bump.py +++ b/calibcant/bump.py @@ -79,7 +79,7 @@ from .bump_analyze import bump_analyze LOG_DATA = True # quietly grab all real-world data and log to LOG_DIR -LOG_DIR = '$DEFAULT$/calibrate_cantilever' +LOG_DIR = '${DEFAULT}/calibrate_cantilever' TEXT_VERBOSE = True # for debugging diff --git a/calibcant/config.py b/calibcant/config.py index 8df49cb..aa2f0a2 100644 --- a/calibcant/config.py +++ b/calibcant/config.py @@ -26,7 +26,7 @@ import piezo.z_piezo as z_piezo DEFAULT_TEMP = 22 # assume 22 deg C LOG_DATA = True # quietly grab all real-world data and log to LOG_DIR -LOG_DIR = '$DEFAULT$/calibrate_cantilever' +LOG_DIR = '${DEFAULT}/calibrate_cantilever' GNUFIT_DATA_BASE='./calibrate_cantilever_fitdata' TEXT_VERBOSE = True # for debugging GNUPLOT_VERBOSE = True # turn on fit check plotting diff --git a/setup.py b/setup.py index 421b487..abfbe09 100644 --- a/setup.py +++ b/setup.py @@ -34,16 +34,16 @@ if version < '2.2.3': DistributionMetadata.download_url = None import calibcant -VERSION = calibcant.VERSION +__version__ = calibcant.__version__ doclines = __doc__.split("\n") setup(name="calibcant", - version=VERSION, + version=__version__, maintainer="W. Trevor King", maintainer_email="wking@drexel.edu", url = "http://www.physics.drexel.edu/~wking/code/python/", - download_url = "http://www.physics.drexel.edu/~wking/code/python/calibcant-%s.tar.gz" % VERSION, + download_url = "http://www.physics.drexel.edu/~wking/code/python/calibcant-%s.tar.gz" % __version__, license = "GNU General Public License (GPL)", platforms = ["all"], description = doclines[0], @@ -53,7 +53,7 @@ setup(name="calibcant", dependency_links = [ "http://www.physics.drexel.edu/~wking/code/python/" ], - install_requires = ['piezo >= 0.1'], + install_requires = ['piezo >= 0.3'], ) # use packages to include subdirectory packages