Skip to content

Commit

Permalink
add package to pypi
Browse files Browse the repository at this point in the history
  • Loading branch information
Paul Kienzle committed Apr 27, 2011
1 parent c743391 commit 24817c6
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 2 deletions.
4 changes: 4 additions & 0 deletions .gitignore
@@ -0,0 +1,4 @@
MANIFEST
build
dist
*.pyc
17 changes: 16 additions & 1 deletion README.rst
Expand Up @@ -9,7 +9,22 @@ Read Igor Pro files from python.
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.

9 changes: 8 additions & 1 deletion setup.py
Expand Up @@ -6,14 +6,20 @@
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='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(),
long_description=long_description,
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Console',
Expand All @@ -23,6 +29,7 @@
'Programming Language :: Python',
],
py_modules = ['igor'],
#data_files = ['README.rst'],
)

# End of file
Expand Down

0 comments on commit 24817c6

Please sign in to comment.