summaryrefslogtreecommitdiff
path: root/cxmanage_api/__init__.py
diff options
context:
space:
mode:
authorDaniel Silverstone <daniel.silverstone@codethink.co.uk>2013-11-19 17:06:33 +0000
committerDaniel Silverstone <daniel.silverstone@codethink.co.uk>2013-11-19 17:06:33 +0000
commit54116d3c486ed7aa49f284e4cad9e6e7c293bea6 (patch)
treefa32a75ebba262def85af97cc34a7db69bc69034 /cxmanage_api/__init__.py
parent7087e92d40310d9bb6c8b4a6bb1baf7c3b73bee7 (diff)
parent4da2f9c7eaa95ebf357eeca3a497b6a206675ef8 (diff)
downloadcxmanage-baserock/morph.tar.gz
Merge tag 'v0.10.2' into baserock/morphbaserock/morph
v0.10 post-release tag for pyinstaller support
Diffstat (limited to 'cxmanage_api/__init__.py')
-rw-r--r--cxmanage_api/__init__.py12
1 files changed, 9 insertions, 3 deletions
diff --git a/cxmanage_api/__init__.py b/cxmanage_api/__init__.py
index 2228b38..c676a78 100644
--- a/cxmanage_api/__init__.py
+++ b/cxmanage_api/__init__.py
@@ -1,4 +1,7 @@
-# Copyright (c) 2012, Calxeda Inc.
+"""Calxeda: __init__.py """
+
+
+# Copyright (c) 2012-2013, Calxeda Inc.
#
# All rights reserved.
#
@@ -35,6 +38,9 @@ import shutil
import tempfile
+__version__ = "0.10.2"
+
+
WORK_DIR = tempfile.mkdtemp(prefix="cxmanage_api-")
atexit.register(lambda: shutil.rmtree(WORK_DIR))
@@ -47,8 +53,8 @@ def temp_file():
:rtype: string
"""
- fd, filename = tempfile.mkstemp(dir=WORK_DIR)
- os.close(fd)
+ file_, filename = tempfile.mkstemp(dir=WORK_DIR)
+ os.close(file_)
return filename
def temp_dir():