add setup.py and version info
authorPaul Kienzle <pkienzle@nist.gov>
Wed, 27 Apr 2011 14:53:36 +0000 (10:53 -0400)
committerPaul Kienzle <pkienzle@nist.gov>
Wed, 27 Apr 2011 14:53:36 +0000 (10:53 -0400)
igor.py
setup.py [new file with mode: 0755]

diff --git a/igor.py b/igor.py
index f98a1a3f77096efc07dcb3092363723da286cc02..892738955da33bdc6d4a1c2c2df95b34c6789388 100644 (file)
--- a/igor.py
+++ b/igor.py
@@ -14,6 +14,7 @@ To see the whole tree, use: print folder.format()
 The usual igor folder types are given in the technical reports
 PTN003.ifn and TN003.ifn.
 """
+__version__="0.8"
 
 import struct
 import numpy
diff --git a/setup.py b/setup.py
new file mode 100755 (executable)
index 0000000..6019d50
--- /dev/null
+++ b/setup.py
@@ -0,0 +1,29 @@
+#!/usr/bin/env python
+import sys
+from distutils.core import setup
+import igor
+
+if len(sys.argv) == 1:
+    sys.argv.append('install')
+
+dist = setup(
+        name = 'igor.py',
+        version = igor.__version__,
+        author='Paul Kienzle',
+        author_email='paul.kienzle@nist.gov',
+        url='https://github.com/reflectometry/igor.py',
+        description='Read Igor Pro files from python',
+        long_description=open('README.rst').read(),
+        classifiers=[
+            'Development Status :: 4 - Beta',
+            'Environment :: Console',
+            'Intended Audience :: Science/Research',
+            'License :: Public Domain',
+            'Operating System :: OS Independent',
+            'Programming Language :: Python',
+            ],
+        py_modules = ['igor'],
+)
+
+# End of file
+