Mercurial > p > roundup > code
annotate setup.py @ 4950:16cb37d93ec6
Put back accidentally removed line from setup.py header
| author | anatoly techtonik <techtonik@gmail.com> |
|---|---|
| date | Sat, 13 Dec 2014 14:50:24 +0300 |
| parents | 9369ade6c24b |
| children | cdfb1a3fb56f |
| 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 |
|
4717
9dc50be521ee
Make roundup play nice with setup tools (for using with virtualenv)
Pradip Caulagi <caulagi@gmail.com>
parents:
4693
diff
changeset
|
2 # -*- coding: utf-8 -*- |
|
213
d45384bc6420
Added the copyright/license notice to (nearly) all files...
Richard Jones <richard@users.sourceforge.net>
parents:
210
diff
changeset
|
3 # |
|
d45384bc6420
Added the copyright/license notice to (nearly) all files...
Richard Jones <richard@users.sourceforge.net>
parents:
210
diff
changeset
|
4 # Copyright (c) 2001 Bizar Software Pty Ltd (http://www.bizarsoftware.com.au/) |
|
d45384bc6420
Added the copyright/license notice to (nearly) all files...
Richard Jones <richard@users.sourceforge.net>
parents:
210
diff
changeset
|
5 # This module is free software, and you may redistribute it and/or modify |
|
d45384bc6420
Added the copyright/license notice to (nearly) all files...
Richard Jones <richard@users.sourceforge.net>
parents:
210
diff
changeset
|
6 # under the same terms as Python, so long as this copyright message and |
|
d45384bc6420
Added the copyright/license notice to (nearly) all files...
Richard Jones <richard@users.sourceforge.net>
parents:
210
diff
changeset
|
7 # disclaimer are retained in their original form. |
|
d45384bc6420
Added the copyright/license notice to (nearly) all files...
Richard Jones <richard@users.sourceforge.net>
parents:
210
diff
changeset
|
8 # |
| 214 | 9 # IN NO EVENT SHALL BIZAR SOFTWARE PTY LTD BE LIABLE TO ANY PARTY FOR |
|
213
d45384bc6420
Added the copyright/license notice to (nearly) all files...
Richard Jones <richard@users.sourceforge.net>
parents:
210
diff
changeset
|
10 # DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING |
|
d45384bc6420
Added the copyright/license notice to (nearly) all files...
Richard Jones <richard@users.sourceforge.net>
parents:
210
diff
changeset
|
11 # OUT OF THE USE OF THIS CODE, EVEN IF THE AUTHOR HAS BEEN ADVISED OF THE |
|
d45384bc6420
Added the copyright/license notice to (nearly) all files...
Richard Jones <richard@users.sourceforge.net>
parents:
210
diff
changeset
|
12 # POSSIBILITY OF SUCH DAMAGE. |
|
d45384bc6420
Added the copyright/license notice to (nearly) all files...
Richard Jones <richard@users.sourceforge.net>
parents:
210
diff
changeset
|
13 # |
|
4950
16cb37d93ec6
Put back accidentally removed line from setup.py header
anatoly techtonik <techtonik@gmail.com>
parents:
4937
diff
changeset
|
14 # BIZAR SOFTWARE PTY LTD SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, |
|
213
d45384bc6420
Added the copyright/license notice to (nearly) all files...
Richard Jones <richard@users.sourceforge.net>
parents:
210
diff
changeset
|
15 # BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS |
|
d45384bc6420
Added the copyright/license notice to (nearly) all files...
Richard Jones <richard@users.sourceforge.net>
parents:
210
diff
changeset
|
16 # FOR A PARTICULAR PURPOSE. THE CODE PROVIDED HEREUNDER IS ON AN "AS IS" |
|
d45384bc6420
Added the copyright/license notice to (nearly) all files...
Richard Jones <richard@users.sourceforge.net>
parents:
210
diff
changeset
|
17 # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE, |
|
d45384bc6420
Added the copyright/license notice to (nearly) all files...
Richard Jones <richard@users.sourceforge.net>
parents:
210
diff
changeset
|
18 # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. |
|
2300
e98bb674cb7d
binary distribution includes compiled message catalogs
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
2253
diff
changeset
|
19 # |
|
85
fe0b33370244
Made setup.py executable, added id and log.
Richard Jones <richard@users.sourceforge.net>
parents:
78
diff
changeset
|
20 |
|
4033
bca7c59ac400
Enhance documentation generation.
Stefan Seefeld <stefan@seefeld.name>
parents:
4012
diff
changeset
|
21 |
|
bca7c59ac400
Enhance documentation generation.
Stefan Seefeld <stefan@seefeld.name>
parents:
4012
diff
changeset
|
22 from roundup.dist.command.build_doc import build_doc |
| 4068 | 23 from roundup.dist.command.build_scripts import build_scripts |
| 24 from roundup.dist.command.build import build, list_message_files | |
| 25 from roundup.dist.command.bdist_rpm import bdist_rpm | |
|
4516
85dfe17c182e
Installation:
Bernhard Reiter <Bernhard.Reiter@intevation.de>
parents:
4495
diff
changeset
|
26 from roundup.dist.command.install_lib import install_lib |
|
4717
9dc50be521ee
Make roundup play nice with setup tools (for using with virtualenv)
Pradip Caulagi <caulagi@gmail.com>
parents:
4693
diff
changeset
|
27 |
| 4796 | 28 # FIXME: setuptools breaks the --manifest-only option to setup.py and |
| 29 # doesn't seem to generate a MANIFEST file. Since I'm not familiar with | |
| 30 # the way setuptools handles the files to include I'm commenting this | |
| 31 # for now -- Ralf Schlatterbeck | |
| 32 #try: | |
| 33 # from setuptools import setup | |
| 34 #except ImportError: | |
| 35 from distutils.core import setup | |
|
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
|
36 |
| 4068 | 37 import sys, os |
|
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
|
38 from glob import glob |
|
593
2256f81293c1
Conversion to generated script stubs
Jürgen Hermann <jhermann@users.sourceforge.net>
parents:
580
diff
changeset
|
39 |
|
1320
3758a5af985f
Lots of little fixes in this update:
Richard Jones <richard@users.sourceforge.net>
parents:
1287
diff
changeset
|
40 # patch distutils if it can't cope with the "classifiers" keyword |
|
1673
85cb3f524bba
make distutils less whiney
Richard Jones <richard@users.sourceforge.net>
parents:
1662
diff
changeset
|
41 from distutils.dist import DistributionMetadata |
|
85cb3f524bba
make distutils less whiney
Richard Jones <richard@users.sourceforge.net>
parents:
1662
diff
changeset
|
42 if not hasattr(DistributionMetadata, 'classifiers'): |
|
1320
3758a5af985f
Lots of little fixes in this update:
Richard Jones <richard@users.sourceforge.net>
parents:
1287
diff
changeset
|
43 DistributionMetadata.classifiers = None |
|
1461
c0673f1739c3
oops, handle older pythons w.r.t. download_url
Richard Jones <richard@users.sourceforge.net>
parents:
1458
diff
changeset
|
44 DistributionMetadata.download_url = None |
|
1320
3758a5af985f
Lots of little fixes in this update:
Richard Jones <richard@users.sourceforge.net>
parents:
1287
diff
changeset
|
45 |
|
4033
bca7c59ac400
Enhance documentation generation.
Stefan Seefeld <stefan@seefeld.name>
parents:
4012
diff
changeset
|
46 def include(d, e): |
|
bca7c59ac400
Enhance documentation generation.
Stefan Seefeld <stefan@seefeld.name>
parents:
4012
diff
changeset
|
47 """Generate a pair of (directory, file-list) for installation. |
|
bca7c59ac400
Enhance documentation generation.
Stefan Seefeld <stefan@seefeld.name>
parents:
4012
diff
changeset
|
48 |
|
bca7c59ac400
Enhance documentation generation.
Stefan Seefeld <stefan@seefeld.name>
parents:
4012
diff
changeset
|
49 'd' -- A directory |
|
bca7c59ac400
Enhance documentation generation.
Stefan Seefeld <stefan@seefeld.name>
parents:
4012
diff
changeset
|
50 |
|
bca7c59ac400
Enhance documentation generation.
Stefan Seefeld <stefan@seefeld.name>
parents:
4012
diff
changeset
|
51 'e' -- A glob pattern""" |
|
4110
435cce827b40
additional fix to handle Unauthorised in file serving
Richard Jones <richard@users.sourceforge.net>
parents:
4105
diff
changeset
|
52 |
|
4033
bca7c59ac400
Enhance documentation generation.
Stefan Seefeld <stefan@seefeld.name>
parents:
4012
diff
changeset
|
53 return (d, [f for f in glob('%s/%s'%(d, e)) if os.path.isfile(f)]) |
|
bca7c59ac400
Enhance documentation generation.
Stefan Seefeld <stefan@seefeld.name>
parents:
4012
diff
changeset
|
54 |
|
593
2256f81293c1
Conversion to generated script stubs
Jürgen Hermann <jhermann@users.sourceforge.net>
parents:
580
diff
changeset
|
55 def scriptname(path): |
|
2256f81293c1
Conversion to generated script stubs
Jürgen Hermann <jhermann@users.sourceforge.net>
parents:
580
diff
changeset
|
56 """ Helper for building a list of script names from a list of |
|
2256f81293c1
Conversion to generated script stubs
Jürgen Hermann <jhermann@users.sourceforge.net>
parents:
580
diff
changeset
|
57 module files. |
|
2256f81293c1
Conversion to generated script stubs
Jürgen Hermann <jhermann@users.sourceforge.net>
parents:
580
diff
changeset
|
58 """ |
|
2256f81293c1
Conversion to generated script stubs
Jürgen Hermann <jhermann@users.sourceforge.net>
parents:
580
diff
changeset
|
59 script = os.path.splitext(os.path.basename(path))[0] |
| 4068 | 60 script = script.replace('_', '-') |
|
593
2256f81293c1
Conversion to generated script stubs
Jürgen Hermann <jhermann@users.sourceforge.net>
parents:
580
diff
changeset
|
61 return script |
|
2256f81293c1
Conversion to generated script stubs
Jürgen Hermann <jhermann@users.sourceforge.net>
parents:
580
diff
changeset
|
62 |
|
1576
80519db85eac
More tweaks to the licensing to make the Debian folks happy :)
Richard Jones <richard@users.sourceforge.net>
parents:
1461
diff
changeset
|
63 def main(): |
|
753
938edfdeac6e
Sorry about this huge checkin!
Richard Jones <richard@users.sourceforge.net>
parents:
675
diff
changeset
|
64 # template munching |
|
4096
ab542607f2fb
Move man pages into 'share/man/man1' and simplify setup.py
Stefan Seefeld <stefan@seefeld.name>
parents:
4089
diff
changeset
|
65 packages = [ |
|
753
938edfdeac6e
Sorry about this huge checkin!
Richard Jones <richard@users.sourceforge.net>
parents:
675
diff
changeset
|
66 'roundup', |
|
4089
eddb82d0964c
Add compatibility package to allow us to deal with Python versions 2.3..2.6.
Richard Jones <richard@users.sourceforge.net>
parents:
4069
diff
changeset
|
67 'roundup.anypy', |
|
1059
3f20880c2a7e
additional packages
Richard Jones <richard@users.sourceforge.net>
parents:
937
diff
changeset
|
68 'roundup.cgi', |
|
3f20880c2a7e
additional packages
Richard Jones <richard@users.sourceforge.net>
parents:
937
diff
changeset
|
69 'roundup.cgi.PageTemplates', |
|
3f20880c2a7e
additional packages
Richard Jones <richard@users.sourceforge.net>
parents:
937
diff
changeset
|
70 'roundup.cgi.TAL', |
|
3f20880c2a7e
additional packages
Richard Jones <richard@users.sourceforge.net>
parents:
937
diff
changeset
|
71 'roundup.cgi.ZTUtils', |
|
753
938edfdeac6e
Sorry about this huge checkin!
Richard Jones <richard@users.sourceforge.net>
parents:
675
diff
changeset
|
72 'roundup.backends', |
|
2776
10e96f3ee658
install demo.py as a module in roundup package.
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
2684
diff
changeset
|
73 'roundup.scripts', |
|
753
938edfdeac6e
Sorry about this huge checkin!
Richard Jones <richard@users.sourceforge.net>
parents:
675
diff
changeset
|
74 ] |
|
437
a1e778940f92
Install html template files to share/roundup/templates
Jürgen Hermann <jhermann@users.sourceforge.net>
parents:
402
diff
changeset
|
75 |
|
4096
ab542607f2fb
Move man pages into 'share/man/man1' and simplify setup.py
Stefan Seefeld <stefan@seefeld.name>
parents:
4089
diff
changeset
|
76 # build list of scripts from their implementation modules |
|
ab542607f2fb
Move man pages into 'share/man/man1' and simplify setup.py
Stefan Seefeld <stefan@seefeld.name>
parents:
4089
diff
changeset
|
77 scripts = [scriptname(f) for f in glob('roundup/scripts/[!_]*.py')] |
|
ab542607f2fb
Move man pages into 'share/man/man1' and simplify setup.py
Stefan Seefeld <stefan@seefeld.name>
parents:
4089
diff
changeset
|
78 |
|
ab542607f2fb
Move man pages into 'share/man/man1' and simplify setup.py
Stefan Seefeld <stefan@seefeld.name>
parents:
4089
diff
changeset
|
79 data_files = [ |
|
ab542607f2fb
Move man pages into 'share/man/man1' and simplify setup.py
Stefan Seefeld <stefan@seefeld.name>
parents:
4089
diff
changeset
|
80 ('share/roundup/cgi-bin', ['frontends/roundup.cgi']), |
|
ab542607f2fb
Move man pages into 'share/man/man1' and simplify setup.py
Stefan Seefeld <stefan@seefeld.name>
parents:
4089
diff
changeset
|
81 ] |
|
1419
c717b8d63a7e
included UN*X manual pages from Bastian Kleineidam
Richard Jones <richard@users.sourceforge.net>
parents:
1320
diff
changeset
|
82 # install man pages on POSIX platforms |
|
c717b8d63a7e
included UN*X manual pages from Bastian Kleineidam
Richard Jones <richard@users.sourceforge.net>
parents:
1320
diff
changeset
|
83 if os.name == 'posix': |
|
4096
ab542607f2fb
Move man pages into 'share/man/man1' and simplify setup.py
Stefan Seefeld <stefan@seefeld.name>
parents:
4089
diff
changeset
|
84 data_files.append(include('share/man/man1', '*')) |
|
1419
c717b8d63a7e
included UN*X manual pages from Bastian Kleineidam
Richard Jones <richard@users.sourceforge.net>
parents:
1320
diff
changeset
|
85 |
|
1591
21312a7564fd
moving templates around
Richard Jones <richard@users.sourceforge.net>
parents:
1587
diff
changeset
|
86 # add the templates to the data files lists |
| 1918 | 87 from roundup.init import listTemplates |
|
4099
3c0852dbcf39
Reformat to reduce line-length.
Stefan Seefeld <stefan@seefeld.name>
parents:
4096
diff
changeset
|
88 templates = [t['path'] |
|
3c0852dbcf39
Reformat to reduce line-length.
Stefan Seefeld <stefan@seefeld.name>
parents:
4096
diff
changeset
|
89 for t in listTemplates('share/roundup/templates').values()] |
|
1591
21312a7564fd
moving templates around
Richard Jones <richard@users.sourceforge.net>
parents:
1587
diff
changeset
|
90 for tdir in templates: |
|
4755
d2f58accb405
- Copy layout to the html directory
Pradip Caulagi <caulagi@gmail.com>
parents:
4717
diff
changeset
|
91 for idir in '. detectors extensions html html/layout static'.split(): |
|
4096
ab542607f2fb
Move man pages into 'share/man/man1' and simplify setup.py
Stefan Seefeld <stefan@seefeld.name>
parents:
4089
diff
changeset
|
92 data_files.append(include(os.path.join(tdir, idir), '*')) |
|
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
|
93 |
|
2300
e98bb674cb7d
binary distribution includes compiled message catalogs
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
2253
diff
changeset
|
94 # add message files |
|
2332
804c5c735bf1
don't compile message catalogs...
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
2316
diff
changeset
|
95 for (_dist_file, _mo_file) in list_message_files(): |
|
4099
3c0852dbcf39
Reformat to reduce line-length.
Stefan Seefeld <stefan@seefeld.name>
parents:
4096
diff
changeset
|
96 data_files.append((os.path.dirname(_mo_file), |
|
3c0852dbcf39
Reformat to reduce line-length.
Stefan Seefeld <stefan@seefeld.name>
parents:
4096
diff
changeset
|
97 [os.path.join("build", _mo_file)])) |
|
2300
e98bb674cb7d
binary distribution includes compiled message catalogs
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
2253
diff
changeset
|
98 |
|
4033
bca7c59ac400
Enhance documentation generation.
Stefan Seefeld <stefan@seefeld.name>
parents:
4012
diff
changeset
|
99 # add docs |
| 4100 | 100 data_files.append(include('share/doc/roundup/html', '*')) |
|
4844
6ba2d471d76b
setup.py now installs static files of the HTML documentation
Thomas Arendsen Hein <thomas@intevation.de>
parents:
4796
diff
changeset
|
101 data_files.append(include('share/doc/roundup/html/_images', '*')) |
|
6ba2d471d76b
setup.py now installs static files of the HTML documentation
Thomas Arendsen Hein <thomas@intevation.de>
parents:
4796
diff
changeset
|
102 data_files.append(include('share/doc/roundup/html/_sources', '*')) |
|
6ba2d471d76b
setup.py now installs static files of the HTML documentation
Thomas Arendsen Hein <thomas@intevation.de>
parents:
4796
diff
changeset
|
103 data_files.append(include('share/doc/roundup/html/_static', '*')) |
|
4033
bca7c59ac400
Enhance documentation generation.
Stefan Seefeld <stefan@seefeld.name>
parents:
4012
diff
changeset
|
104 |
|
753
938edfdeac6e
Sorry about this huge checkin!
Richard Jones <richard@users.sourceforge.net>
parents:
675
diff
changeset
|
105 # perform the setup action |
|
773
6e6c63a57df9
[SF#569415] {version]]
Richard Jones <richard@users.sourceforge.net>
parents:
753
diff
changeset
|
106 from roundup import __version__ |
|
4110
435cce827b40
additional fix to handle Unauthorised in file serving
Richard Jones <richard@users.sourceforge.net>
parents:
4105
diff
changeset
|
107 |
|
4495
53e438d1ca19
fix long_description again:
Ralf Schlatterbeck <schlatterbeck@users.sourceforge.net>
parents:
4492
diff
changeset
|
108 # long_description may not contain non-ascii characters. Distutils |
|
53e438d1ca19
fix long_description again:
Ralf Schlatterbeck <schlatterbeck@users.sourceforge.net>
parents:
4492
diff
changeset
|
109 # will produce an non-installable installer on linux *and* we can't |
|
53e438d1ca19
fix long_description again:
Ralf Schlatterbeck <schlatterbeck@users.sourceforge.net>
parents:
4492
diff
changeset
|
110 # run the bdist_wininst on Linux if there are non-ascii characters |
|
53e438d1ca19
fix long_description again:
Ralf Schlatterbeck <schlatterbeck@users.sourceforge.net>
parents:
4492
diff
changeset
|
111 # because the distutils installer will try to use the mbcs codec |
|
53e438d1ca19
fix long_description again:
Ralf Schlatterbeck <schlatterbeck@users.sourceforge.net>
parents:
4492
diff
changeset
|
112 # which isn't available on non-windows platforms. See also |
|
53e438d1ca19
fix long_description again:
Ralf Schlatterbeck <schlatterbeck@users.sourceforge.net>
parents:
4492
diff
changeset
|
113 # http://bugs.python.org/issue10945 |
|
4492
5d43b2a5eb69
test that announcement.txt is pure ASCII...
Ralf Schlatterbeck <schlatterbeck@users.sourceforge.net>
parents:
4436
diff
changeset
|
114 long_description=open('doc/announcement.txt').read().decode('utf8') |
|
5d43b2a5eb69
test that announcement.txt is pure ASCII...
Ralf Schlatterbeck <schlatterbeck@users.sourceforge.net>
parents:
4436
diff
changeset
|
115 try: |
|
4495
53e438d1ca19
fix long_description again:
Ralf Schlatterbeck <schlatterbeck@users.sourceforge.net>
parents:
4492
diff
changeset
|
116 long_description = long_description.encode('ascii') |
|
4492
5d43b2a5eb69
test that announcement.txt is pure ASCII...
Ralf Schlatterbeck <schlatterbeck@users.sourceforge.net>
parents:
4436
diff
changeset
|
117 except UnicodeEncodeError, cause: |
|
5d43b2a5eb69
test that announcement.txt is pure ASCII...
Ralf Schlatterbeck <schlatterbeck@users.sourceforge.net>
parents:
4436
diff
changeset
|
118 print >> sys.stderr, "doc/announcement.txt contains non-ascii: %s" \ |
|
5d43b2a5eb69
test that announcement.txt is pure ASCII...
Ralf Schlatterbeck <schlatterbeck@users.sourceforge.net>
parents:
4436
diff
changeset
|
119 % cause |
|
5d43b2a5eb69
test that announcement.txt is pure ASCII...
Ralf Schlatterbeck <schlatterbeck@users.sourceforge.net>
parents:
4436
diff
changeset
|
120 sys.exit(42) |
|
5d43b2a5eb69
test that announcement.txt is pure ASCII...
Ralf Schlatterbeck <schlatterbeck@users.sourceforge.net>
parents:
4436
diff
changeset
|
121 |
| 4068 | 122 setup(name='roundup', |
| 123 version=__version__, | |
| 124 author="Richard Jones", | |
| 125 author_email="richard@users.sourceforge.net", | |
| 4796 | 126 maintainer="Ralf Schlatterbeck", |
| 127 maintainer_email="rsc@runtux.com", | |
| 4111 | 128 description="A simple-to-use and -install issue-tracking system" |
|
4105
ed9dd44b470b
reinstate description/long_description in setup.py
Richard Jones <richard@users.sourceforge.net>
parents:
4100
diff
changeset
|
129 " with command-line, web and e-mail interfaces. Highly" |
|
ed9dd44b470b
reinstate description/long_description in setup.py
Richard Jones <richard@users.sourceforge.net>
parents:
4100
diff
changeset
|
130 " customisable.", |
|
4492
5d43b2a5eb69
test that announcement.txt is pure ASCII...
Ralf Schlatterbeck <schlatterbeck@users.sourceforge.net>
parents:
4436
diff
changeset
|
131 long_description=long_description, |
| 4068 | 132 url='http://www.roundup-tracker.org', |
| 133 download_url='http://pypi.python.org/pypi/roundup', | |
| 134 classifiers=['Development Status :: 5 - Production/Stable', | |
| 135 'Environment :: Console', | |
| 136 'Environment :: Web Environment', | |
| 137 'Intended Audience :: End Users/Desktop', | |
| 138 'Intended Audience :: Developers', | |
| 139 'Intended Audience :: System Administrators', | |
|
4690
9ead86b4fe71
setup.py: Fix trove classifier. Roundup uses MIT license, not PSF.
anatoly techtonik <techtonik@gmail.com>
parents:
4516
diff
changeset
|
140 'License :: OSI Approved :: MIT License', |
| 4068 | 141 'Operating System :: MacOS :: MacOS X', |
| 142 'Operating System :: Microsoft :: Windows', | |
| 143 'Operating System :: POSIX', | |
| 144 'Programming Language :: Python', | |
| 145 'Topic :: Communications :: Email', | |
| 146 'Topic :: Office/Business', | |
| 147 'Topic :: Software Development :: Bug Tracking', | |
| 148 ], | |
|
3719
a8835786ecf7
*** empty log message ***
Richard Jones <richard@users.sourceforge.net>
parents:
3588
diff
changeset
|
149 |
| 4068 | 150 # Override certain command classes with our own ones |
| 151 cmdclass= {'build_doc': build_doc, | |
| 152 'build_scripts': build_scripts, | |
| 153 'build': build, | |
| 154 'bdist_rpm': bdist_rpm, | |
|
4516
85dfe17c182e
Installation:
Bernhard Reiter <Bernhard.Reiter@intevation.de>
parents:
4495
diff
changeset
|
155 'install_lib': install_lib, |
| 4068 | 156 }, |
|
4096
ab542607f2fb
Move man pages into 'share/man/man1' and simplify setup.py
Stefan Seefeld <stefan@seefeld.name>
parents:
4089
diff
changeset
|
157 packages=packages, |
|
ab542607f2fb
Move man pages into 'share/man/man1' and simplify setup.py
Stefan Seefeld <stefan@seefeld.name>
parents:
4089
diff
changeset
|
158 scripts=scripts, |
|
ab542607f2fb
Move man pages into 'share/man/man1' and simplify setup.py
Stefan Seefeld <stefan@seefeld.name>
parents:
4089
diff
changeset
|
159 data_files=data_files) |
|
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
|
160 |
|
1576
80519db85eac
More tweaks to the licensing to make the Debian folks happy :)
Richard Jones <richard@users.sourceforge.net>
parents:
1461
diff
changeset
|
161 if __name__ == '__main__': |
|
4896
756ff1c2ee41
Fix setting the working directory in setup.py
John Kristensen <john@jerrykan.com>
parents:
4894
diff
changeset
|
162 os.chdir(os.path.dirname(__file__) or '.') |
|
1640
d0b29215aa44
pre-release stuff
Richard Jones <richard@users.sourceforge.net>
parents:
1619
diff
changeset
|
163 main() |
|
1576
80519db85eac
More tweaks to the licensing to make the Debian folks happy :)
Richard Jones <richard@users.sourceforge.net>
parents:
1461
diff
changeset
|
164 |
|
2684
94229a0832bd
install extensions directories in tracker templates.
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
2448
diff
changeset
|
165 # vim: set filetype=python sts=4 sw=4 et si : |
