Exemplo n.º 1
0
def main(argv=None, **kw):
    run_setup_command(clean,
                      usage=USAGE,
                      argv=argv + '--tidy',
                      cmdclass={
                          'tidy': clean,
                      },
                      **kw)
Exemplo n.º 2
0
def main(argv=None, **kw):
    run_setup_command(
        pyinstall,
        usage=USAGE,
        argv=argv,
        # We need update here as well for the -U flag
        cmdclass={"pyinstall": pyinstall, "update": update},
        **kw
    )
Exemplo n.º 3
0
def main(argv=None, **kw):
    run_setup_command(pyinstall,
                      usage=USAGE,
                      argv=argv,
                      # We need update here as well for the -U flag
                      cmdclass={
                          'pyinstall': pyinstall,
                          'update': update,
                      },
                      **kw)
Exemplo n.º 4
0
def main(argv=None, **kw):
    """
    Deploys an egg or requirement to the configured install path.

    Parameters
    ----------
    egg_file : `string`
        path to egg file.
    """
    run_setup_command(deploy, usage=USAGE, argv=argv, cmdclass={"deploy": deploy}, **kw)
Exemplo n.º 5
0
def main(argv=None, **kw):
    # TODO: allow cmdline override of org config?
    config.setup_org_config()
    run_setup_command(
        pyinstall,
        usage=USAGE,
        argv=argv,
        # We need update here as well for the -U flag
        cmdclass={"pyinstall": pyinstall, "update": update},
        **kw
    )
Exemplo n.º 6
0
def main(*egg_files, **kw):
    """
    Uploads an egg file to PyPI package index.

    Parameters
    ----------
    egg_file : `string`
        path to egg file.
    """
    run_setup_command(upload_egg,
                      usage=USAGE,
                      argv=egg_files if egg_files else sys.argv[1:],
                      cmdclass={'upload_egg': upload_egg},
                      **kw)
Exemplo n.º 7
0
def main(*egg_files, **kw):
    """
    Uploads an egg file to PyPI package index.

    Parameters
    ----------
    egg_file : `string`
        path to egg file.
    """
    run_setup_command(upload_egg,
                      usage=USAGE,
                      argv=egg_files if egg_files else sys.argv[1:],
                      cmdclass={'upload_egg': upload_egg},
                      **kw)
Exemplo n.º 8
0
def main(argv=None, **kw):
    """
    Deploys an egg or requirement to the configured install path.

    Parameters
    ----------
    egg_file : `string`
        path to egg file.
    """
    run_setup_command(deploy,
                      usage=USAGE,
                      argv=argv,
                      cmdclass={
                          'deploy': deploy,
                      },
                      **kw)
Exemplo n.º 9
0
def main(argv=None, **kw):
    # TODO: allow cmdline override of org config?
    run_setup_command(depgraph, usage=USAGE, argv=argv, **kw)
Exemplo n.º 10
0
def main(argv=None, **kw):
    if argv is None:
        argv = []
    run_setup_command(clean, argv=argv + ['--packages'], **kw)
Exemplo n.º 11
0
def main(argv=None, **kw):
    # TODO: allow cmdline override of org config?
    run_setup_command(depgraph, usage=USAGE, argv=argv, **kw)
Exemplo n.º 12
0
def main(argv=None, **kw):
    run_setup_command(pyuninstall, usage=USAGE, argv=argv, **kw)
Exemplo n.º 13
0
 def run_setuptools_with_patched_command(**attrs):
     patched_cmd = attrs.pop("__command")
     run_setup_command(patched_cmd, **attrs)
Exemplo n.º 14
0
def main(argv=None, **kw):
    run_setup_command(pyuninstall, usage=USAGE, argv=argv, **kw)
Exemplo n.º 15
0
def main():
    """
    Find eggs on PyPi that have bad permissions (contain files that are not group/other readable,
    or directories or files that should be executable but are not).
    """
    run_setup_command(bad_eggs)
Exemplo n.º 16
0
def main(argv=None, **kw):
    run_setup_command(clean, usage=USAGE, argv=argv + "--tidy", cmdclass={"tidy": clean}, **kw)
Exemplo n.º 17
0
def main(argv=None, **kw):
    if argv is None:
        argv = []
    run_setup_command(clean, argv=argv + ['--packages'], **kw)
Exemplo n.º 18
0
def main(argv=None, **kw):
    # TODO: allow cmdline override of org config?
    config.setup_org_config()
    run_setup_command(cleanup, argv=argv, **kw)