From 9da59ae73727500a47e40db7124545e7b6138e65 Mon Sep 17 00:00:00 2001 From: Paul Kienzle Date: Wed, 27 Apr 2011 10:53:36 -0400 Subject: [PATCH] add setup.py and version info --- igor.py | 1 + setup.py | 29 +++++++++++++++++++++++++++++ 2 files changed, 30 insertions(+) create mode 100755 setup.py diff --git a/igor.py b/igor.py index f98a1a3..8927389 100644 --- 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 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 + -- 2.26.2