예제 #1
0
def main() -> None:
    """Setup package entrypoint."""
    __compose_package(
        name=__name,
        version=__version,
        author=__author,
        author_email=__email,
        description=__first_line(__full_doc),
        long_description=__readme(),
        long_description_content_type="text/markdown",
        url=f"https://github.com/vyahello/{__name}",
        packages=__find_packages(exclude=("*.tests", "*.tests.*", "tests.*",
                                          "tests")),
        include_package_data=True,
        install_requires=__requirements(),
        classifiers=(
            "Framework :: Pytest",
            "Topic :: Software Development :: Testing",
            "Programming Language :: Python :: 3.6",
            "Programming Language :: Python :: 3.7",
            "Programming Language :: Python :: 3.8",
            f"License :: OSI Approved :: {__license} License",
            "Operating System :: OS Independent",
        ),
        python_requires=">=3.6",
        entry_points={"pytest11": ("creport = report.plugin", )},
    )
예제 #2
0
    """Returns only first line up to next delimiter item occurred.

    Args:
        string (str): given string item
        delimiter (str): separator string
    """
    return string.split(delimiter)[0]


if __name__ == "__main__":
    __compose_package(
        name=__name,
        version=__version,
        author=__author,
        author_email=__email,
        description=__first_line(__full_doc),
        long_description=__readme(),
        long_description_content_type="text/markdown",
        url=f"https://github.com/aiorequest/{__name}",
        packages=__find_packages(exclude=("*.tests", "*.tests.*", "tests.*", "tests")),
        include_package_data=True,
        install_requires=__requirements(),
        classifiers=(
            "Programming Language :: Python :: 3.7",
            "Programming Language :: Python :: 3.8",
            f"License :: OSI Approved :: {__license} License",
            "Operating System :: OS Independent",
        ),
        python_requires=">=3.7",
    )
예제 #3
0

if __name__ == "__main__":
    __compose_package(
        name=__package_name__,
        version=__version__,
        author=__author__,
        author_email=__email__,
        description=
        "A command line application for renting electro-scooters. Just try it, it is fun :)",
        long_description=__description(),
        long_description_content_type="text/markdown",
        url="https://github.com/vyahello/rent-electro-scooter",
        packages=__find_packages(exclude=("*.tests", "*.tests.*", "tests.*",
                                          "tests")),
        include_package_data=True,
        install_requires=__requirements(),
        classifiers=(
            "Programming Language :: Python :: 3.6",
            "Programming Language :: Python :: 3.7",
            "Programming Language :: Python :: 3.8",
            "License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
            "Operating System :: OS Independent",
        ),
        python_requires=">=3.6",
        entry_points={
            "console_scripts":
            ("scooter-rental = scooter.__main__:launch_scooter_rental", )
        },
    )