From: W. Trevor King Date: Tue, 2 Nov 2010 19:03:43 +0000 (-0400) Subject: Add simple setup.py for installing pysawsim. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=2a3905bf432fd589b3d8eaad7ea5c16a2d8a4cd1;p=sawsim.git Add simple setup.py for installing pysawsim. --- diff --git a/setup.py b/setup.py new file mode 100755 index 0000000..9fd03bb --- /dev/null +++ b/setup.py @@ -0,0 +1,22 @@ +#!/usr/bin/env python + +from distutils.core import setup +from os import listdir +import os.path + +from pysawsim import __version__ + + +SCRIPT_DIR = 'bin' +scripts = [os.path.join(SCRIPT_DIR, s) for s in listdir(SCRIPT_DIR) + if s.endswith('.py')] + +setup( + name='pysawsim', + version=__version__, + description='Python framework for the sawsim force spectroscopy simulator.', + url='http://www.physics.drexel.edu/~wking/unfolding-disasters/posts/sawsim/', + packages=['pysawsim', + 'pysawsim.manager'], + scripts=scripts, + )