From 504e491ed654f533eae54d794371b629445c72a2 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Thu, 21 Apr 2011 17:03:04 -0400 Subject: [PATCH] List analyze and plot_calibration scripts in setup.py. --- setup.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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)'], ) -- 2.26.2