try: import py2exe except: py2exe = None from libbe import _version, version rev_id = _version.version_info["revision"] rev_date = _version.version_info["date"] data_files = [] man_path = os.path.join('doc', 'man', 'be.1') if os.path.exists(man_path): data_files.append(('share/man/man1', [man_path])) setup( name='Bugs Everywhere (BEurtle fork)', console=['be.py'], version=version.version() + " (" + rev_date + ")", description='Bugtracker supporting distributed revision control', url='http://bugseverywhere.org/', packages=[ 'libbe', 'libbe.command', 'libbe.storage', 'libbe.storage.util', 'libbe.storage.vcs', 'libbe.ui', 'libbe.ui.util', 'libbe.util' ], scripts=['be', 'be.bat'], data_files=data_files, install_requires=['pyyaml', 'jinja2', 'cherrypy'], )
import optparse parser = optparse.OptionParser(usage='%prog [options] [modules ...]', description= """When called without optional module names, run the test suites for *all* modules. This may raise lots of errors if you haven't installed one of the versioning control systems. When called with module name arguments, only run the test suites from those modules and their submodules. For example:: $ python test.py libbe.bugdir libbe.storage """) parser.add_option('-q', '--quiet', action='store_true', default=False, help='Run unittests in quiet mode (verbosity 1).') options,args = parser.parse_args() sys.stderr.write('Testing BE\n{}\n'.format(version(verbose=True))) verbosity = 2 if options.quiet == True: verbosity = 1 suite = unittest.TestSuite() tree = python_tree() if len(args) == 0: for node in tree.traverse(): add_module_tests(suite, node.modname) else: added = [] for modname in args: for node in tree.traverse(): if node.modname == modname:
_this_dir = os.path.dirname(__file__) rev_id = version.version_info['revision'] rev_date = version.version_info['date'] data_files = [] man_path = os.path.join('doc', 'man', 'be.1') if os.path.exists(man_path): data_files.append(('share/man/man1', [man_path])) setup( name='bugs-everywhere', version='{}'.format(version.version()), maintainer='W. Trevor King', maintainer_email='*****@*****.**', url='http://bugseverywhere.org/', download_url=( 'http://downloads.bugseverywhere.org/releases/be-{}.tar.gz'.format( version.version())), license='GNU General Public License (GPL)', platforms=['all'], description='Bugtracker supporting distributed revision control', long_description=open(os.path.join(_this_dir, 'README'), 'r').read(), classifiers=[ 'Development Status :: 4 - Beta', 'Environment :: Console', 'Environment :: Web Environment', 'Framework :: CherryPy',
import optparse parser = optparse.OptionParser(usage='%prog [options] [modules ...]', description= """When called without optional module names, run the test suites for *all* modules. This may raise lots of errors if you haven't installed one of the versioning control systems. When called with module name arguments, only run the test suites from those modules and their submodules. For example:: $ python test.py libbe.bugdir libbe.storage """) parser.add_option('-q', '--quiet', action='store_true', default=False, help='Run unittests in quiet mode (verbosity 1).') options,args = parser.parse_args() print >> sys.stderr, 'Testing BE\n%s' % version(verbose=True) verbosity = 2 if options.quiet == True: verbosity = 1 suite = unittest.TestSuite() tree = python_tree() if len(args) == 0: for node in tree.traverse(): add_module_tests(suite, node.modname) else: added = [] for modname in args: for node in tree.traverse(): if node.modname == modname:
from libbe import _version, version rev_id = _version.version_info["revision"] rev_date = _version.version_info["date"] data_files = [] man_path = os.path.join('doc', 'man', 'be.1') if os.path.exists(man_path): data_files.append(('share/man/man1', [man_path])) setup( name='Bugs Everywhere (BEurtle fork)', console=['be.py'], version=version.version()+" ("+rev_date+")", description='Bugtracker supporting distributed revision control', url='http://bugseverywhere.org/', packages=['libbe', 'libbe.command', 'libbe.storage', 'libbe.storage.util', 'libbe.storage.vcs', 'libbe.ui', 'libbe.ui.util', 'libbe.util'], scripts=['be', 'be.bat'], data_files=data_files, install_requires=['pyyaml', 'jinja2', 'cherrypy'], )
"""When called without optional module names, run the test suites for *all* modules. This may raise lots of errors if you haven't installed one of the versioning control systems. When called with module name arguments, only run the test suites from those modules and their submodules. For example:: $ python test.py libbe.bugdir libbe.storage """) parser.add_option('-q', '--quiet', action='store_true', default=False, help='Run unittests in quiet mode (verbosity 1).') options, args = parser.parse_args() sys.stderr.write('Testing BE\n{}\n'.format(version(verbose=True))) verbosity = 2 if options.quiet == True: verbosity = 1 suite = unittest.TestSuite() tree = python_tree() if len(args) == 0: for node in tree.traverse(): add_module_tests(suite, node.modname) else: added = [] for modname in args: for node in tree.traverse(): if node.modname == modname: