File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 20
20
README_PATH = "../README.md"
21
21
PYTHON_REQUIRES = ">=3.7"
22
22
23
- PYTHON_TAG = sysconfig .get_python_version ().replace ('.' , '' )
23
+ PYTHON_VERSION = sysconfig .get_python_version ().replace ('.' , '' )
24
24
25
25
SETUP_REQUIRES = [
26
26
"patchelf"
37
37
"data/kernels.sqlite" ,
38
38
"data/linear/model.pth" ,
39
39
"data/lstm/model.pth" ,
40
- "habitat_cuda.cpython-{}*.so" .format (PYTHON_TAG ),
40
+ "habitat_cuda.cpython-{}*.so" .format (PYTHON_VERSION ),
41
41
],
42
42
}
43
43
@@ -71,7 +71,7 @@ def run(self):
71
71
# Ensures that it links to the libraries included in the wheel
72
72
patchelf_bin_path = pkg_resources .get_distribution ("patchelf" ).location + "/EGG-INFO/scripts/patchelf"
73
73
habitat_dir = os .listdir ("habitat" )
74
- curr_python_ver = "{}" .format (PYTHON_TAG )
74
+ curr_python_ver = "{}" .format (PYTHON_VERSION )
75
75
library_name = ""
76
76
for fname in habitat_dir :
77
77
if fname .startswith ("habitat_cuda.cpython-" + curr_python_ver ) and fname .endswith (".so" ):
@@ -147,7 +147,7 @@ def find_meta(meta):
147
147
keywords = KEYWORDS ,
148
148
options = {
149
149
"bdist_wheel" : {
150
- "python_tag" : PYTHON_TAG
150
+ "python_tag" : "py" + PYTHON_VERSION
151
151
}
152
152
}
153
153
)
You can’t perform that action at this time.
0 commit comments