Install
-------
-Download and expand the source tree, change to the source
+Using pip::
+
+ $ pip install igor.py
+
+Using source, download and expand the source tree, change to the source
directory and type::
$ python setup.py install
+
+Maintenance
+-----------
+
+When a new version of the package is ready, increment __version__
+in igor.py and enter::
+
+ $ python setup.py sdist upload
+
+This will place a new version on pypi.
+
if len(sys.argv) == 1:
sys.argv.append('install')
+# README.rst is only needed to upload the package;
+# it isn't needed for download and install.
+try:
+ long_description = open('README.rst').read()
+except:
+ long_description = None
dist = setup(
name = 'igor.py',
version = igor.__version__,
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(),
+ long_description=long_description,
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Console',
'Programming Language :: Python',
],
py_modules = ['igor'],
+ #data_files = ['README.rst'],
)
# End of file