Mercurial > p > roundup > code
annotate setup.py @ 112:e4170b2b2561
todo refinement ;)
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Sat, 28 Jul 2001 07:35:27 +0000 |
| parents | 3bed67f2394c |
| children | 0791d13baea7 |
| rev | line source |
|---|---|
|
85
fe0b33370244
Made setup.py executable, added id and log.
Richard Jones <richard@users.sourceforge.net>
parents:
78
diff
changeset
|
1 #! /usr/bin/env python |
|
fe0b33370244
Made setup.py executable, added id and log.
Richard Jones <richard@users.sourceforge.net>
parents:
78
diff
changeset
|
2 |
|
105
3bed67f2394c
changes for the 0.2.1 distribution build.
Richard Jones <richard@users.sourceforge.net>
parents:
97
diff
changeset
|
3 # $Id: setup.py,v 1.5 2001-07-28 00:39:18 richard Exp $ |
|
85
fe0b33370244
Made setup.py executable, added id and log.
Richard Jones <richard@users.sourceforge.net>
parents:
78
diff
changeset
|
4 |
|
78
edcca72de643
first cut at setup.py - installs the package, but not the bin/cgi-bin yet
Anthony Baxter <anthonybaxter@users.sourceforge.net>
parents:
diff
changeset
|
5 from distutils.core import setup, Extension |
|
edcca72de643
first cut at setup.py - installs the package, but not the bin/cgi-bin yet
Anthony Baxter <anthonybaxter@users.sourceforge.net>
parents:
diff
changeset
|
6 from distutils.util import get_platform |
|
edcca72de643
first cut at setup.py - installs the package, but not the bin/cgi-bin yet
Anthony Baxter <anthonybaxter@users.sourceforge.net>
parents:
diff
changeset
|
7 |
|
edcca72de643
first cut at setup.py - installs the package, but not the bin/cgi-bin yet
Anthony Baxter <anthonybaxter@users.sourceforge.net>
parents:
diff
changeset
|
8 from glob import glob |
|
edcca72de643
first cut at setup.py - installs the package, but not the bin/cgi-bin yet
Anthony Baxter <anthonybaxter@users.sourceforge.net>
parents:
diff
changeset
|
9 import os |
|
edcca72de643
first cut at setup.py - installs the package, but not the bin/cgi-bin yet
Anthony Baxter <anthonybaxter@users.sourceforge.net>
parents:
diff
changeset
|
10 |
|
edcca72de643
first cut at setup.py - installs the package, but not the bin/cgi-bin yet
Anthony Baxter <anthonybaxter@users.sourceforge.net>
parents:
diff
changeset
|
11 templates = 'classic', 'extended' |
|
edcca72de643
first cut at setup.py - installs the package, but not the bin/cgi-bin yet
Anthony Baxter <anthonybaxter@users.sourceforge.net>
parents:
diff
changeset
|
12 packagelist = [ 'roundup', 'roundup.backends', 'roundup.templates' ] |
|
edcca72de643
first cut at setup.py - installs the package, but not the bin/cgi-bin yet
Anthony Baxter <anthonybaxter@users.sourceforge.net>
parents:
diff
changeset
|
13 installdatafiles = [] |
|
edcca72de643
first cut at setup.py - installs the package, but not the bin/cgi-bin yet
Anthony Baxter <anthonybaxter@users.sourceforge.net>
parents:
diff
changeset
|
14 |
|
edcca72de643
first cut at setup.py - installs the package, but not the bin/cgi-bin yet
Anthony Baxter <anthonybaxter@users.sourceforge.net>
parents:
diff
changeset
|
15 for t in templates: |
|
edcca72de643
first cut at setup.py - installs the package, but not the bin/cgi-bin yet
Anthony Baxter <anthonybaxter@users.sourceforge.net>
parents:
diff
changeset
|
16 packagelist.append('roundup.templates.%s'%t) |
|
edcca72de643
first cut at setup.py - installs the package, but not the bin/cgi-bin yet
Anthony Baxter <anthonybaxter@users.sourceforge.net>
parents:
diff
changeset
|
17 packagelist.append('roundup.templates.%s.detectors'%t) |
|
edcca72de643
first cut at setup.py - installs the package, but not the bin/cgi-bin yet
Anthony Baxter <anthonybaxter@users.sourceforge.net>
parents:
diff
changeset
|
18 tfiles = glob(os.path.join('roundup','templates', t, 'html', '*')) |
|
edcca72de643
first cut at setup.py - installs the package, but not the bin/cgi-bin yet
Anthony Baxter <anthonybaxter@users.sourceforge.net>
parents:
diff
changeset
|
19 tfiles = filter(os.path.isfile, tfiles) |
|
edcca72de643
first cut at setup.py - installs the package, but not the bin/cgi-bin yet
Anthony Baxter <anthonybaxter@users.sourceforge.net>
parents:
diff
changeset
|
20 |
|
edcca72de643
first cut at setup.py - installs the package, but not the bin/cgi-bin yet
Anthony Baxter <anthonybaxter@users.sourceforge.net>
parents:
diff
changeset
|
21 |
|
edcca72de643
first cut at setup.py - installs the package, but not the bin/cgi-bin yet
Anthony Baxter <anthonybaxter@users.sourceforge.net>
parents:
diff
changeset
|
22 setup ( name = "roundup", |
|
105
3bed67f2394c
changes for the 0.2.1 distribution build.
Richard Jones <richard@users.sourceforge.net>
parents:
97
diff
changeset
|
23 version = "0.2.1", |
|
3bed67f2394c
changes for the 0.2.1 distribution build.
Richard Jones <richard@users.sourceforge.net>
parents:
97
diff
changeset
|
24 description = "Roundup issue tracking system.", |
|
78
edcca72de643
first cut at setup.py - installs the package, but not the bin/cgi-bin yet
Anthony Baxter <anthonybaxter@users.sourceforge.net>
parents:
diff
changeset
|
25 author = "Richard Jones", |
|
97
ea5d6029a4bd
Makefile is now obsolete - setup does what it used to do.
Richard Jones <richard@users.sourceforge.net>
parents:
93
diff
changeset
|
26 author_email = "richard@sourceforge.net", |
|
78
edcca72de643
first cut at setup.py - installs the package, but not the bin/cgi-bin yet
Anthony Baxter <anthonybaxter@users.sourceforge.net>
parents:
diff
changeset
|
27 url = 'http://sourceforge.net/projects/roundup/', |
|
edcca72de643
first cut at setup.py - installs the package, but not the bin/cgi-bin yet
Anthony Baxter <anthonybaxter@users.sourceforge.net>
parents:
diff
changeset
|
28 packages = packagelist, |
|
93
b68df6a509c9
Added scripts to the setup and added the config...
Richard Jones <richard@users.sourceforge.net>
parents:
85
diff
changeset
|
29 scripts = ['roundup-admin', 'roundup-mailgw', 'roundup-server'] |
|
78
edcca72de643
first cut at setup.py - installs the package, but not the bin/cgi-bin yet
Anthony Baxter <anthonybaxter@users.sourceforge.net>
parents:
diff
changeset
|
30 ) |
|
edcca72de643
first cut at setup.py - installs the package, but not the bin/cgi-bin yet
Anthony Baxter <anthonybaxter@users.sourceforge.net>
parents:
diff
changeset
|
31 |
|
85
fe0b33370244
Made setup.py executable, added id and log.
Richard Jones <richard@users.sourceforge.net>
parents:
78
diff
changeset
|
32 # |
|
fe0b33370244
Made setup.py executable, added id and log.
Richard Jones <richard@users.sourceforge.net>
parents:
78
diff
changeset
|
33 # $Log: not supported by cvs2svn $ |
|
105
3bed67f2394c
changes for the 0.2.1 distribution build.
Richard Jones <richard@users.sourceforge.net>
parents:
97
diff
changeset
|
34 # Revision 1.4 2001/07/27 07:20:17 richard |
|
3bed67f2394c
changes for the 0.2.1 distribution build.
Richard Jones <richard@users.sourceforge.net>
parents:
97
diff
changeset
|
35 # Makefile is now obsolete - setup does what it used to do. |
|
3bed67f2394c
changes for the 0.2.1 distribution build.
Richard Jones <richard@users.sourceforge.net>
parents:
97
diff
changeset
|
36 # |
|
97
ea5d6029a4bd
Makefile is now obsolete - setup does what it used to do.
Richard Jones <richard@users.sourceforge.net>
parents:
93
diff
changeset
|
37 # Revision 1.3 2001/07/27 06:56:25 richard |
|
ea5d6029a4bd
Makefile is now obsolete - setup does what it used to do.
Richard Jones <richard@users.sourceforge.net>
parents:
93
diff
changeset
|
38 # Added scripts to the setup and added the config so the default script |
|
ea5d6029a4bd
Makefile is now obsolete - setup does what it used to do.
Richard Jones <richard@users.sourceforge.net>
parents:
93
diff
changeset
|
39 # install dir is /usr/local/bin. |
|
ea5d6029a4bd
Makefile is now obsolete - setup does what it used to do.
Richard Jones <richard@users.sourceforge.net>
parents:
93
diff
changeset
|
40 # |
|
93
b68df6a509c9
Added scripts to the setup and added the config...
Richard Jones <richard@users.sourceforge.net>
parents:
85
diff
changeset
|
41 # Revision 1.2 2001/07/26 07:14:27 richard |
|
b68df6a509c9
Added scripts to the setup and added the config...
Richard Jones <richard@users.sourceforge.net>
parents:
85
diff
changeset
|
42 # Made setup.py executable, added id and log. |
|
85
fe0b33370244
Made setup.py executable, added id and log.
Richard Jones <richard@users.sourceforge.net>
parents:
78
diff
changeset
|
43 # |
|
93
b68df6a509c9
Added scripts to the setup and added the config...
Richard Jones <richard@users.sourceforge.net>
parents:
85
diff
changeset
|
44 # |
