From: W. Trevor King Date: Thu, 21 Apr 2011 21:03:04 +0000 (-0400) Subject: List analyze and plot_calibration scripts in setup.py. X-Git-Tag: 0.7~17 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=504e491ed654f533eae54d794371b629445c72a2;p=calibcant.git List analyze and plot_calibration scripts in setup.py. --- diff --git a/setup.py b/setup.py index 799f282..577a171 100644 --- a/setup.py +++ b/setup.py @@ -14,7 +14,7 @@ Topic :: Software Development :: Libraries :: Python Modules """ from distutils.core import setup -from os import walk +from os import walk, listdir import os.path from calibcant import __version__ @@ -31,6 +31,7 @@ def find_packages(root='calibcant'): return packages packages = find_packages() +scripts = [os.path.join(root, f) for f in sorted(os.listdir(root))] setup(name=package_name, version=__version__, @@ -44,6 +45,7 @@ setup(name=package_name, long_description=open('README', 'r').read(), classifiers=filter(None, classifiers.split('\n')), packages=packages, + scripts=scripts, provides=['calibcant (%s)' % __version__], requires=['pypiezo (>= 0.4)'], )