Skip to content

Commit 9e32c4a

Browse files
author
Anthony Baxter
committed
first cut at setup.py - installs the package, but not the bin/cgi-bin yet
1 parent e833bd4 commit 9e32c4a

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

setup.py

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
from distutils.core import setup, Extension
2+
from distutils.util import get_platform
3+
4+
from glob import glob
5+
import os
6+
7+
templates = 'classic', 'extended'
8+
packagelist = [ 'roundup', 'roundup.backends', 'roundup.templates' ]
9+
installdatafiles = []
10+
11+
for t in templates:
12+
packagelist.append('roundup.templates.%s'%t)
13+
packagelist.append('roundup.templates.%s.detectors'%t)
14+
tfiles = glob(os.path.join('roundup','templates', t, 'html', '*'))
15+
tfiles = filter(os.path.isfile, tfiles)
16+
17+
18+
setup ( name = "roundup",
19+
version = "0.1.4",
20+
description = "roundup tracking system",
21+
author = "Richard Jones",
22+
url = 'http://sourceforge.net/projects/roundup/',
23+
packages = packagelist,
24+
)
25+
26+
# now install the bin programs, and the cgi-bin programs
27+
# not sure how, yet.

0 commit comments

Comments
 (0)