File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 2020README_PATH = "../README.md"
2121PYTHON_REQUIRES = ">=3.7"
2222
23- PYTHON_TAG = sysconfig .get_python_version ().replace ('.' , '' )
23+ PYTHON_VERSION = sysconfig .get_python_version ().replace ('.' , '' )
2424
2525SETUP_REQUIRES = [
2626 "patchelf"
3737 "data/kernels.sqlite" ,
3838 "data/linear/model.pth" ,
3939 "data/lstm/model.pth" ,
40- "habitat_cuda.cpython-{}*.so" .format (PYTHON_TAG ),
40+ "habitat_cuda.cpython-{}*.so" .format (PYTHON_VERSION ),
4141 ],
4242}
4343
@@ -71,7 +71,7 @@ def run(self):
7171 # Ensures that it links to the libraries included in the wheel
7272 patchelf_bin_path = pkg_resources .get_distribution ("patchelf" ).location + "/EGG-INFO/scripts/patchelf"
7373 habitat_dir = os .listdir ("habitat" )
74- curr_python_ver = "{}" .format (PYTHON_TAG )
74+ curr_python_ver = "{}" .format (PYTHON_VERSION )
7575 library_name = ""
7676 for fname in habitat_dir :
7777 if fname .startswith ("habitat_cuda.cpython-" + curr_python_ver ) and fname .endswith (".so" ):
@@ -147,7 +147,7 @@ def find_meta(meta):
147147 keywords = KEYWORDS ,
148148 options = {
149149 "bdist_wheel" : {
150- "python_tag" : PYTHON_TAG
150+ "python_tag" : "py" + PYTHON_VERSION
151151 }
152152 }
153153 )
You can’t perform that action at this time.
0 commit comments