Fix compiled errors destination path

This commit is contained in:
Dan 2020-11-20 02:04:24 +01:00
parent d215f4b515
commit bf7bd45f1c
2 changed files with 4 additions and 4 deletions

View File

@ -21,7 +21,7 @@ import os
import re
import shutil
HOME = "compiler/error"
HOME = "compiler/errors"
DEST = "pyrogram/errors/exceptions"
NOTICE_PATH = "NOTICE"

View File

@ -25,7 +25,7 @@ from setuptools import setup, find_packages, Command
from compiler.api import compiler as api_compiler
from compiler.docs import compiler as docs_compiler
from compiler.errors import compiler as error_compiler
from compiler.errors import compiler as errors_compiler
with open("requirements.txt", encoding="utf-8") as r:
requires = [i.strip() for i in r]
@ -119,7 +119,7 @@ class Generate(Command):
def run(self):
if self.api:
error_compiler.start()
errors_compiler.start()
api_compiler.start()
if self.docs:
@ -128,7 +128,7 @@ class Generate(Command):
if len(argv) > 1 and argv[1] in ["bdist_wheel", "install", "develop"]:
api_compiler.start()
error_compiler.start()
errors_compiler.start()
setup(
name="Pyrogram",