Esempio n. 1
0
    def run(self):
        if self.api:
            errors_compiler.start()
            api_compiler.start()

        if self.docs:
            docs_compiler.start()
Esempio n. 2
0
    def finalize_options(self):
        pass

    def run(self):
        if self.api:
            errors_compiler.start()
            api_compiler.start()

        if self.docs:
            docs_compiler.start()


if len(argv) > 1 and argv[1] in ["bdist_wheel", "install", "develop"]:
    api_compiler.start()
    errors_compiler.start()

setup(
    name="Pyrogram",
    version=version,
    description=
    "Elegant, modern and asynchronous Telegram MTProto API framework in Python for users and bots",
    long_description=readme,
    long_description_content_type="text/markdown",
    url="https://github.com/pyrogram",
    download_url="https://github.com/pyrogram/pyrogram/releases/latest",
    author="Dan",
    author_email="*****@*****.**",
    license="LGPLv3+",
    classifiers=[
        "Development Status :: 5 - Production/Stable",