Commit 8173caae authored by Artem Pulkin's avatar Artem Pulkin

setup: python3.7 compat

parent fc0240df
Pipeline #44244 passed with stage
in 2 minutes and 28 seconds
......@@ -4,16 +4,18 @@ from setuptools.extension import Extension
from setuptools import Command
from Cython.Build import cythonize
from pathlib import Path
from string import Template, _sentinel_dict, _ChainMap
from string import Template, _ChainMap
import re
import json
import numpy
_sentinel_dict = {}
class IndentedTemplate(Template):
def substitute(self, mapping=_sentinel_dict, /, **kws):
def substitute(self, mapping=_sentinel_dict, **kws):
if mapping is _sentinel_dict:
mapping = kws
elif kws:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment