From 294cecb1a7fd69dd6a6f8a5fef4e954daaa30670 Mon Sep 17 00:00:00 2001 From: anthonybaxter Date: Wed, 25 Jul 2001 04:19:55 +0000 Subject: [PATCH] first cut at setup.py - installs the package, but not the bin/cgi-bin yet git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@83 57a73879-2fb5-44c3-a270-3262357dd7e2 --- setup.py | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 setup.py diff --git a/setup.py b/setup.py new file mode 100644 index 0000000..7c5d3d6 --- /dev/null +++ b/setup.py @@ -0,0 +1,27 @@ +from distutils.core import setup, Extension +from distutils.util import get_platform + +from glob import glob +import os + +templates = 'classic', 'extended' +packagelist = [ 'roundup', 'roundup.backends', 'roundup.templates' ] +installdatafiles = [] + +for t in templates: + packagelist.append('roundup.templates.%s'%t) + packagelist.append('roundup.templates.%s.detectors'%t) + tfiles = glob(os.path.join('roundup','templates', t, 'html', '*')) + tfiles = filter(os.path.isfile, tfiles) + + +setup ( name = "roundup", + version = "0.1.4", + description = "roundup tracking system", + author = "Richard Jones", + url = 'http://sourceforge.net/projects/roundup/', + packages = packagelist, +) + +# now install the bin programs, and the cgi-bin programs +# not sure how, yet. -- 2.30.2