From 2a3905bf432fd589b3d8eaad7ea5c16a2d8a4cd1 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Tue, 2 Nov 2010 15:03:43 -0400 Subject: [PATCH] Add simple setup.py for installing pysawsim. --- setup.py | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100755 setup.py 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, + ) -- 2.26.2