Beispiel #1
0
def main(argv=None, **kw):
    run_setup_command(clean,
                      usage=USAGE,
                      argv=argv + '--tidy',
                      cmdclass={
                          'tidy': clean,
                      },
                      **kw)
Beispiel #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
    )
Beispiel #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)
Beispiel #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)
Beispiel #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
    )
Beispiel #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)
Beispiel #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)
Beispiel #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)
Beispiel #9
0
def main(argv=None, **kw):
    # TODO: allow cmdline override of org config?
    run_setup_command(depgraph, usage=USAGE, argv=argv, **kw)
Beispiel #10
0
def main(argv=None, **kw):
    if argv is None:
        argv = []
    run_setup_command(clean, argv=argv + ['--packages'], **kw)
Beispiel #11
0
def main(argv=None, **kw):
    # TODO: allow cmdline override of org config?
    run_setup_command(depgraph, usage=USAGE, argv=argv, **kw)
Beispiel #12
0
def main(argv=None, **kw):
    run_setup_command(pyuninstall, usage=USAGE, argv=argv, **kw)
Beispiel #13
0
 def run_setuptools_with_patched_command(**attrs):
     patched_cmd = attrs.pop("__command")
     run_setup_command(patched_cmd, **attrs)
Beispiel #14
0
def main(argv=None, **kw):
    run_setup_command(pyuninstall, usage=USAGE, argv=argv, **kw)
Beispiel #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)
Beispiel #16
0
def main(argv=None, **kw):
    run_setup_command(clean, usage=USAGE, argv=argv + "--tidy", cmdclass={"tidy": clean}, **kw)
Beispiel #17
0
def main(argv=None, **kw):
    if argv is None:
        argv = []
    run_setup_command(clean, argv=argv + ['--packages'], **kw)
Beispiel #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)