Mercurial > p > roundup > code
comparison 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 |
comparison
equal
deleted
inserted
replaced
| 77:5dcc548e1bce | 78:edcca72de643 |
|---|---|
| 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. |
