Code

first cut at setup.py - installs the package, but not the bin/cgi-bin yet
authoranthonybaxter <anthonybaxter@57a73879-2fb5-44c3-a270-3262357dd7e2>
Wed, 25 Jul 2001 04:19:55 +0000 (04:19 +0000)
committeranthonybaxter <anthonybaxter@57a73879-2fb5-44c3-a270-3262357dd7e2>
Wed, 25 Jul 2001 04:19:55 +0000 (04:19 +0000)
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@83 57a73879-2fb5-44c3-a270-3262357dd7e2

setup.py [new file with mode: 0644]

diff --git a/setup.py b/setup.py
new file mode 100644 (file)
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.