Skip to content

Commit a07a240

Browse files
author
daniel
committed
Made a custom bdist_wininst with good default values. Added installer banner
for installer. Fixes #165. git-svn-id: http://trac.edgewall.org/intertrac/log:/trunk@364 af82e41b-90c4-0310-8c96-b1721e28e2e2
1 parent 3a8ffc2 commit a07a240

File tree

3 files changed

+21
-1
lines changed

3 files changed

+21
-1
lines changed

setup.cfg

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
[bdist_rpm]
2+
packager = Edgewall Software <[email protected]>
23
requires = python >= 2.1
34
subversion-python >= 1.0.0
45
pysqlite >= 0.4.3

setup.py

+20-1
Original file line numberDiff line numberDiff line change
@@ -97,8 +97,27 @@ def run (self):
9797
os.chmod(file, mode)
9898

9999

100+
101+
# Our custom bdist_wininst
102+
import distutils.command.bdist_wininst
103+
from distutils.command.bdist_wininst import bdist_wininst
104+
class my_bdist_wininst(bdist_wininst):
105+
def initialize_options(self):
106+
bdist_wininst.initialize_options(self)
107+
self.title = "Trac %s" % VERSION
108+
self.bitmap = "setup_wininst.bmp"
109+
distutils.command.bdist_wininst.bdist_wininst = my_bdist_wininst
110+
111+
100112
setup(name="trac",
101-
description="Trac - Wiki-based issue tracker and project environment",
113+
description="Integrated scm, wiki, issue tracker and project environment",
114+
long_description=\
115+
"""
116+
Trac is a minimalistic web-based software project management and bug/issue
117+
tracking system. It provides an interface to the Subversion revision control
118+
systems, an integrated wiki, flexible issue tracking and convenient report
119+
facilities.
120+
""",
102121
version=VERSION,
103122
author="Edgewall Software",
104123
author_email="[email protected]",

setup_wininst.bmp

39 KB
Binary file not shown.

0 commit comments

Comments
 (0)