diff --git a/bindings/python/src/OpenSpaceToolkitIOPy.cxx b/bindings/python/src/OpenSpaceToolkitIOPy.cxx index 2e22db6..4cf5028 100644 --- a/bindings/python/src/OpenSpaceToolkitIOPy.cxx +++ b/bindings/python/src/OpenSpaceToolkitIOPy.cxx @@ -12,9 +12,6 @@ PYBIND11_MODULE(OpenSpaceToolkitIOPy, m) // Add optional docstring for package OpenSpaceToolkitIOPy m.doc() = "Addressing, networking, database connectors for OpenSpaceToolkit."; - // Add __path__ attribute to python package - m.attr("__path__") = "ostk.io"; - // Change attribute __name__ to make OpenSpaceToolkitIOPy invisible in import path m.attr("__name__") = "ostk.io"; diff --git a/bindings/python/src/OpenSpaceToolkitIOPy/IP.cpp b/bindings/python/src/OpenSpaceToolkitIOPy/IP.cpp index f18e378..5627aeb 100644 --- a/bindings/python/src/OpenSpaceToolkitIOPy/IP.cpp +++ b/bindings/python/src/OpenSpaceToolkitIOPy/IP.cpp @@ -7,8 +7,6 @@ inline void OpenSpaceToolkitIOPy_IP(pybind11::module& aModule) // Create "ip" python submodule auto ip = aModule.def_submodule("ip"); - // Add __path__ attribute for "ip" submodule - ip.attr("__path__") = "ostk.io.ip"; // Add custom types to python "ip" submodule OpenSpaceToolkitIOPy_IP_TCP(ip); diff --git a/bindings/python/src/OpenSpaceToolkitIOPy/IP/TCP.cpp b/bindings/python/src/OpenSpaceToolkitIOPy/IP/TCP.cpp index e923f37..2ee8bee 100644 --- a/bindings/python/src/OpenSpaceToolkitIOPy/IP/TCP.cpp +++ b/bindings/python/src/OpenSpaceToolkitIOPy/IP/TCP.cpp @@ -7,8 +7,6 @@ inline void OpenSpaceToolkitIOPy_IP_TCP(pybind11::module& aModule) // Create "tcp" python submodule auto tcp = aModule.def_submodule("tcp"); - // Add __path__ attribute for "tcp" submodule - tcp.attr("__path__") = "ostk.io.ip.tcp"; // Add custom types to python "tcp" submodule OpenSpaceToolkitIOPy_IP_TCP_HTTP(tcp); diff --git a/bindings/python/src/OpenSpaceToolkitIOPy/IP/TCP/HTTP.cpp b/bindings/python/src/OpenSpaceToolkitIOPy/IP/TCP/HTTP.cpp index 0c36d98..f5bce0e 100644 --- a/bindings/python/src/OpenSpaceToolkitIOPy/IP/TCP/HTTP.cpp +++ b/bindings/python/src/OpenSpaceToolkitIOPy/IP/TCP/HTTP.cpp @@ -9,8 +9,6 @@ inline void OpenSpaceToolkitIOPy_IP_TCP_HTTP(pybind11::module& aModule) // Create "http" python submodule auto http = aModule.def_submodule("http"); - // Add __path__ attribute for "http" submodule - http.attr("__path__") = "ostk.io.ip.tcp.http"; // Add custom types to python "http" submodule OpenSpaceToolkitIOPy_IP_TCP_HTTP_Request(http);