comparison setup.py @ 4099:3c0852dbcf39

Reformat to reduce line-length.
author Stefan Seefeld <stefan@seefeld.name>
date Thu, 12 Mar 2009 18:23:54 +0000
parents ab542607f2fb
children 26f840bce0c9
comparison
equal deleted inserted replaced
4098:3a4e006bbba0 4099:3c0852dbcf39
75 if os.name == 'posix': 75 if os.name == 'posix':
76 data_files.append(include('share/man/man1', '*')) 76 data_files.append(include('share/man/man1', '*'))
77 77
78 # add the templates to the data files lists 78 # add the templates to the data files lists
79 from roundup.init import listTemplates 79 from roundup.init import listTemplates
80 templates = [t['path'] for t in listTemplates(os.path.join('share','roundup','templates')).values()] 80 templates = [t['path']
81 for t in listTemplates('share/roundup/templates').values()]
81 for tdir in templates: 82 for tdir in templates:
82 for idir in '. detectors extensions html'.split(): 83 for idir in '. detectors extensions html'.split():
83 data_files.append(include(os.path.join(tdir, idir), '*')) 84 data_files.append(include(os.path.join(tdir, idir), '*'))
84 85
85 # add message files 86 # add message files
86 for (_dist_file, _mo_file) in list_message_files(): 87 for (_dist_file, _mo_file) in list_message_files():
87 data_files.append((os.path.dirname(_mo_file), [os.path.join("build", _mo_file)])) 88 data_files.append((os.path.dirname(_mo_file),
89 [os.path.join("build", _mo_file)]))
88 90
89 # add docs 91 # add docs
90 data_files.append(include(os.path.join('share', 'doc', 'roundup', 'html'), '*')) 92 data_files.append(include(os.path.join('share/doc/roundup/html'), '*'))
91 93
92 # perform the setup action 94 # perform the setup action
93 from roundup import __version__ 95 from roundup import __version__
94 96
95 setup(name='roundup', 97 setup(name='roundup',
96 version=__version__, 98 version=__version__,
97 author="Richard Jones", 99 author="Richard Jones",
98 author_email="richard@users.sourceforge.net", 100 author_email="richard@users.sourceforge.net",
99 description='Issue-tracking System.', 101 description='Issue-tracking System.',
100 long_description="""Roundup is a simple-to-use and -install issue-tracking system 102 long_description=
103 """Roundup is a simple-to-use and -install issue-tracking system
101 with command-line, web and e-mail interfaces. Highly customisable.""", 104 with command-line, web and e-mail interfaces. Highly customisable.""",
102 url='http://www.roundup-tracker.org', 105 url='http://www.roundup-tracker.org',
103 download_url='http://pypi.python.org/pypi/roundup', 106 download_url='http://pypi.python.org/pypi/roundup',
104 classifiers=['Development Status :: 5 - Production/Stable', 107 classifiers=['Development Status :: 5 - Production/Stable',
105 'Environment :: Console', 108 'Environment :: Console',

Roundup Issue Tracker: http://roundup-tracker.org/