Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(37)  |  Call(29)  |  Derive(0)  |  Import(8)

src/p/y/pylama_pylint-0.1.6/pylint/setup.py   pylama_pylint(Download)
                if sys.version_info >= (3, 0):
                    # process manually python file in include_dirs (test data)
                    from distutils.util import run_2to3
                    print('running 2to3 on', dest)
                    run_2to3([dest])

src/p/y/pylama_pylint-0.1.6/astroid/setup.py   pylama_pylint(Download)
                if sys.version_info >= (3, 0):
                    # process manually python file in include_dirs (test data)
                    from distutils.util import run_2to3
                    print('running 2to3 on', dest)
                    run_2to3([dest])

src/l/o/logilab-common-0.61.0/setup.py   logilab-common(Download)
                if sys.version_info >= (3, 0):
                    # process manually python file in include_dirs (test data)
                    from distutils.util import run_2to3
                    # brackets are NOT optional here for py3k compat
                    print('running 2to3 on', dest)
                    run_2to3([dest])

src/p/y/pylint-1.2.1/setup.py   pylint(Download)
                    # process manually python file in include_dirs (test data)
                    # pylint: disable=no-name-in-module
                    from distutils.util import run_2to3
                    print('running 2to3 on', dest)
                    run_2to3([dest])

src/a/s/astroid-1.1.1/setup.py   astroid(Download)
                if sys.version_info >= (3, 0):
                    # process manually python file in include_dirs (test data)
                    from distutils.util import run_2to3
                    print('running 2to3 on', dest)
                    run_2to3([dest])

src/o/h/oh-mainline-HEAD/vendor/packages/sphinx/utils/convert.py   oh-mainline(Download)
from optparse import OptionParser
from shutil import copy
from distutils.util import run_2to3
 
def main(argv):
        copy(filename, filename3)
        convertables.append(filename3)
    run_2to3(convertables)
 
if __name__ == "__main__":

src/h/g/hgblog-0.7.1/utils/convert.py   hgblog(Download)
from optparse import OptionParser
from shutil import copy
from distutils.util import run_2to3
 
def main(argv):
        copy(filename, filename3)
        convertables.append(filename3)
    run_2to3(convertables)
 
if __name__ == "__main__":

src/s/p/Sphinx-1.2.2/utils/convert.py   Sphinx(Download)
from optparse import OptionParser
from shutil import copy
from distutils.util import run_2to3
 
def main(argv):
        copy(filename, filename3)
        convertables.append(filename3)
    run_2to3(convertables)
 
if __name__ == "__main__":

src/r/p/rpy2-2.3.10/setup.py   rpy2(Download)
                                                       'tests', 'api_tests.txt')])
 
    util.run_2to3(outfiles_2to3)
 
    # arrange setup to use the copy

src/r/d/rdflib-zodb-1.0/setup.py   rdflib-zodb(Download)
            outfiles_2to3.append(outf)
 
    util.run_2to3(outfiles_2to3)
 
    # arrange setup to use the copy

  1 | 2 | 3  Next