How to use the pythonfinder.cli.cli function in pythonfinder

To help you get started, we’ve selected a few pythonfinder examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github sarugaku / pythonfinder / src / pythonfinder / __main__.py View on Github external
# -*- coding=utf-8 -*-

from __future__ import absolute_import

import os
import sys

from pythonfinder.cli import cli


PYTHONFINDER_MAIN = os.path.dirname(os.path.abspath(__file__))
PYTHONFINDER_PACKAGE = os.path.dirname(PYTHONFINDER_MAIN)


if __name__ == "__main__":
    sys.exit(cli())
github pypa / pipenv / pipenv / vendor / pythonfinder / __main__.py View on Github external
# -*- coding=utf-8 -*-

from __future__ import absolute_import

import os
import sys

from pythonfinder.cli import cli


PYTHONFINDER_MAIN = os.path.dirname(os.path.abspath(__file__))
PYTHONFINDER_PACKAGE = os.path.dirname(PYTHONFINDER_MAIN)


if __name__ == "__main__":
    sys.exit(cli())