Mercurial > p > roundup > code
view setup.py @ 78:edcca72de643
first cut at setup.py - installs the package, but not the bin/cgi-bin yet
| author | Anthony Baxter <anthonybaxter@users.sourceforge.net> |
|---|---|
| date | Wed, 25 Jul 2001 04:19:55 +0000 |
| parents | |
| children | fe0b33370244 |
line wrap: on
line source
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.
