Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
overfl0 committed Feb 18, 2024
1 parent 6f16592 commit 553ad50
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions build.py → build_cython.py
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
import glob
import os
import subprocess
from itertools import chain

armaclass_path = 'armaclass'
types = ('*.html', '*.c', '*.cpp', '*.pyd', '*.so')
files_to_delete = chain(*(glob.glob(os.path.join(armaclass_path, file_type)) for file_type in types))
for file_path in files_to_delete:
os.remove(file_path)

subprocess.run('python setup_cython.py build_ext --inplace --force', shell=True, check=True)
subprocess.run('pytest -x -s', shell=True, check=True)
subprocess.run('python testconfig.py', shell=True, check=True)
import glob
import os
import subprocess
from itertools import chain

armaclass_path = 'armaclass'
types = ('*.html', '*.c', '*.cpp', '*.pyd', '*.so')
files_to_delete = chain(*(glob.glob(os.path.join(armaclass_path, file_type)) for file_type in types))
for file_path in files_to_delete:
os.remove(file_path)

subprocess.run('python setup_cython.py build_ext --inplace --force', shell=True, check=True)
subprocess.run('pytest -x -s', shell=True, check=True)
subprocess.run('python testconfig.py', shell=True, check=True)
Empty file added pyproject.toml
Empty file.

0 comments on commit 553ad50

Please sign in to comment.