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