mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Remove an unused script and system-specific .python-version from tests
GitOrigin-RevId: e716c8234cd5dba4992c655efc5b9b773d56b018
This commit is contained in:
committed by
intellij-monorepo-bot
parent
ae63a3111d
commit
3c43302abc
@@ -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()
|
||||
Reference in New Issue
Block a user