Fix setup to clean properly as well as install correct typing libraries.

This commit is contained in:
Jennifer Taylor
2021-06-10 17:22:27 +00:00
parent 061ff796f6
commit 6b511e8a53
2 changed files with 7 additions and 1 deletions

View File

@@ -7,6 +7,12 @@ Requests
mysqlclient
passlib
mypy
typing-extensions
types-python-dateutil
types-requests
types-PyYAML
types-Werkzeug
types-Flask
flake8
typed-ast
freezegun

View File

@@ -168,7 +168,7 @@ class CleanExtCommand(Command):
def run(self) -> None:
print("Removing build directory...")
shutil.rmtree(os.path.abspath("build/"), ignore_errors=True)
for dirname, subdirList, fileList in os.walk(os.path.abspath("bemani/")):
for dirname, subdirList, fileList in os.walk(os.path.abspath(".")):
for filename in fileList:
if filename[-3:] == ".so":
fullname = os.path.join(dirname, filename)