Mercurial > p > roundup > code
view roundup/dist/command/build_py.py @ 4547:d9d7319afffa
Add config-option "nosy" to messages_to_author setting in [nosy] section...
...of config: This will send a message to the author only in the case where
the author is on the nosy-list (either added earlier or via the
add_author setting). Current config-options for this setting will send /
not send to author without considering the nosy list.
[[Posted on behalf of Dr. Schlatterbeck during the git conversion.]]
committer: Eric S. Raymond <esr@thyrsus.com>
| author | Ralf Schlatterbeck <schlatterbeck@users.sourceforge.net> |
|---|---|
| date | Wed, 19 Oct 2011 11:32:20 -0400 |
| parents | e233d7a66343 |
| children |
line wrap: on
line source
# # Copyright (C) 2009 Stefan Seefeld # All rights reserved. # For license terms see the file COPYING.txt. # from distutils.command.build_py import build_py class build_py(build_py): def find_modules(self): # Files listed in py_modules are in the toplevel directory # of the source distribution. modules = [] for module in self.py_modules: path = module.split('.') package = '.'.join(path[0:-1]) module_base = path[-1] module_file = module_base + '.py' if self.check_module(module, module_file): modules.append((package, module_base, module_file)) return modules
