Remove an unused script and system-specific .python-version from tests

GitOrigin-RevId: e716c8234cd5dba4992c655efc5b9b773d56b018
This commit is contained in:
Mikhail Golubev
2019-06-10 19:56:44 +03:00
committed by intellij-monorepo-bot
parent ae63a3111d
commit 3c43302abc
2 changed files with 0 additions and 24 deletions
@@ -1,5 +0,0 @@
2.7.15
3.4.9
3.5.6
3.6.8
3.7.2
@@ -1,19 +0,0 @@
import os
from Cython.Build.Cythonize import main as cythonize
_test_data_dir = os.path.dirname(os.path.abspath(__file__))
_cythonize_options = ['--inplace']
def main():
for dir_path, _, file_names in os.walk(_test_data_dir):
for file_name in file_names:
mod_name, ext = os.path.splitext(file_name)
if ext == '.pyx':
cythonize(_cythonize_options + [os.path.join(dir_path, file_name)])
os.remove(os.path.join(dir_path, mod_name + '.c'))
if __name__ == '__main__':
main()