setup.py
def install(**kwargs):
    """setup entry point"""
    if USE_SETUPTOOLS:
        if "--force-manifest" in sys.argv:
            sys.argv.remove("--force-manifest")
    packages = [modname] + get_packages(join(base_dir, "pylint"), modname)
    if USE_SETUPTOOLS:
        if install_requires:
            kwargs["install_requires"] = install_requires
            kwargs["dependency_links"] = dependency_links
        kwargs["entry_points"] = {
            "console_scripts": [
                "pylint = pylint:run_pylint",
                "epylint = pylint:run_epylint",
                "pyreverse = pylint:run_pyreverse",
                "symilar = pylint:run_symilar",
            ]
        }
    kwargs["packages"] = packages
    cmdclass = {"install_lib": MyInstallLib, "build_py": build_py}
    if easy_install_lib:
        cmdclass["easy_install"] = easy_install
    return setup(
        name=distname,
        version=__pkginfo__["version"],
        license=__pkginfo__["license"],
        description=__pkginfo__["description"],
        long_description=long_description,
        author=__pkginfo__["author"],
        author_email=__pkginfo__["author_email"],
        url=__pkginfo__["web"],
        scripts=ensure_scripts(scripts),
        classifiers=__pkginfo__["classifiers"],
        data_files=data_files,
        ext_modules=ext_modules,
        cmdclass=cmdclass,
        extras_require=extras_require,
        test_suite="test",
        python_requires=">=3.4.*",
        setup_requires=["pytest-runner"],
        tests_require=["pytest"],
        **kwargs
    )
def install(**kwargs):
    """setup entry point"""
    if USE_SETUPTOOLS:
        if "--force-manifest" in sys.argv:
            sys.argv.remove("--force-manifest")
    packages = [modname] + get_packages(join(base_dir, "pylint"), modname)
    if USE_SETUPTOOLS:
        if install_requires:
            kwargs["install_requires"] = install_requires
            kwargs["dependency_links"] = dependency_links
        kwargs["entry_points"] = {
            "console_scripts": [
                "pylint = pylint:run_pylint",
                "epylint = pylint:run_epylint",
                "pyreverse = pylint:run_pyreverse",
                "symilar = pylint:run_symilar",
            ]
        }
    kwargs["packages"] = packages
    cmdclass = {"install_lib": MyInstallLib, "build_py": build_py}
    if easy_install_lib:
        cmdclass["easy_install"] = easy_install
    return setup(
        name=distname,
        version=__pkginfo__["version"],
        license=__pkginfo__["license"],
        description=__pkginfo__["description"],
        long_description=long_description,
        author=__pkginfo__["author"],
        author_email=__pkginfo__["author_email"],
        url=__pkginfo__["web"],
        scripts=ensure_scripts(scripts),
        classifiers=__pkginfo__["classifiers"],
        data_files=data_files,
        ext_modules=ext_modules,
        cmdclass=cmdclass,
        extras_require=extras_require,
        test_suite="test",
        python_requires=">=3.4.*",
        setup_requires=["pytest-runner"],
        tests_require=["pytest"],
        **kwargs
    )
def install ( * * kwargs ) : if USE_SETUPTOOLS : if "--force-manifest" in sys . argv : sys . argv . remove ( "--force-manifest" ) packages = [ modname ] + get_packages ( join ( base_dir , "pylint" ) , modname ) if USE_SETUPTOOLS : if install_requires : kwargs [ "install_requires" ] = install_requires kwargs [ "dependency_links" ] = dependency_links kwargs [ "entry_points" ] = { "console_scripts" : [ "pylint = pylint:run_pylint" , "epylint = pylint:run_epylint" , "pyreverse = pylint:run_pyreverse" , "symilar = pylint:run_symilar" , ] } kwargs [ "packages" ] = packages cmdclass = { "install_lib" : MyInstallLib , "build_py" : build_py } if easy_install_lib : cmdclass [ "easy_install" ] = easy_install return setup ( name = distname , version = __pkginfo__ [ "version" ] , license = __pkginfo__ [ "license" ] , description = __pkginfo__ [ "description" ] , long_description = long_description , author = __pkginfo__ [ "author" ] , author_email = __pkginfo__ [ "author_email" ] , url = __pkginfo__ [ "web" ] , scripts = ensure_scripts ( scripts ) , classifiers = __pkginfo__ [ "classifiers" ] , data_files = data_files , ext_modules = ext_modules , cmdclass = cmdclass , extras_require = extras_require , test_suite = "test" , python_requires = ">=3.4.*" , setup_requires = [ "pytest-runner" ] , tests_require = [ "pytest" ] , * * kwargs )
setup entry point
setup entry point