Skip to content

Commit 7e4cd8f

Browse files
authored
API/PYTHON: Removed obsolete code. (#985)
* API/PYTHON: Removed obsolete __init__.py. * Revert "API/PYTHON: Removed obsolete __init__.py." This reverts commit cbb0bf0. Signed-off-by: Raul Akhmetshin <[email protected]> * API/PYTHON: Removed obsolete code. Signed-off-by: Raul Akhmetshin <[email protected]> --------- Signed-off-by: Raul Akhmetshin <[email protected]>
1 parent 41de732 commit 7e4cd8f

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

src/api/python/__init__.py

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -12,17 +12,3 @@
1212
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
15-
16-
import os
17-
18-
if "NIXL_PLUGIN_DIR" not in os.environ:
19-
# name for local installation
20-
package_root = os.path.dirname(__file__)
21-
plugin_dir = os.path.join(package_root, ".nixl.mesonpy.libs/plugins/")
22-
23-
# fallback for PyPI installation
24-
if not os.path.isdir(plugin_dir):
25-
plugin_dir = os.path.join(package_root, ".nixl_pybind.mesonpy.libs/plugins/")
26-
27-
if os.path.isdir(plugin_dir):
28-
os.environ["NIXL_PLUGIN_DIR"] = plugin_dir

0 commit comments

Comments
 (0)