refactor: Rename py-market-data -> py_market_data

Because '-' is an illegal character in py module names
This commit is contained in:
John Colvin committed 2024-08-08 13:17:12 +00:00
1 parent e70b1f5e4a
commit 7bebfc1f8c
16 files changed
+22 -17

No files matched your search

+1 -1
View File
@@ -111,7 +111,7 @@ else()
if (BUILD_SPARKD)
add_subdirectory(src/app_sparkd)
add_subdirectory(src/data_files)
add_subdirectory(src/lib_py-market-data)
add_subdirectory(src/lib_py_market_data)
endif()
add_subdirectory(src/lib_spark)
if (BUILD_ADMIN_WEB_APP)
File renamed without changes.
+5
View File
@@ -0,0 +1,5 @@
@PACKAGE_INIT@
include("${CMAKE_CURRENT_LIST_DIR}/py-market-dataTargets.cmake")
check_required_components(libspark)
@@ -1,4 +1,4 @@
#include "py-market-data/md_provider.h"
#include "py_market_data/md_provider.h"
namespace bts::md::py_interop {
@@ -1,6 +1,6 @@
#pragma once
#include "py-market-data/md_sink.h"
#include "py_market_data/md_sink.h"
namespace bts::md::py_interop {
@@ -1,6 +1,6 @@
#pragma once
#include "py-market-data/py_security_list.h"
#include "py_market_data/py_security_list.h"
namespace bts::md::py_interop {
@@ -1,5 +1,5 @@
#include "py-market-data/md_sink_impl.h"
#include "py-market-data/py_security_list.h"
#include "py_market_data/md_sink_impl.h"
#include "py_market_data/py_security_list.h"
#include <iostream>
@@ -1,7 +1,7 @@
#pragma once
#include "py-market-data/md_sink.h"
#include "py-market-data/py_security_list.h"
#include "py_market_data/md_sink.h"
#include "py_market_data/py_security_list.h"
#include <functional>
namespace bts::md::py_interop {
@@ -1,7 +1,7 @@
#pragma once
#include "py-market-data/md_provider.h"
#include "py-market-data/md_sink.h"
#include "py_market_data/md_provider.h"
#include "py_market_data/md_sink.h"
#include <pybind11/pybind11.h>
@@ -1,16 +1,16 @@
#include "md_provider.h"
#include "py-market-data/md_sink.h"
#include "py-market-data/md_sink_impl.h"
#include "py-market-data/py_md_provider.h"
#include "py-market-data/py_security.h"
#include "py-market-data/py_security_list.h"
#include "py_market_data/md_sink.h"
#include "py_market_data/md_sink_impl.h"
#include "py_market_data/py_md_provider.h"
#include "py_market_data/py_security.h"
#include "py_market_data/py_security_list.h"
#include <pybind11/pybind11.h>
namespace py = pybind11;
// Define python module with c++ classes.
PYBIND11_MODULE(py_market_data, m) {
PYBIND11_MODULE(py_market_data_module, m) {
// security
py::class_<bts::md::py_interop::PySecurity>(m, "PySecurity")
.def(py::init<>())
@@ -1,6 +1,6 @@
#pragma once
#include "py-market-data/py_security.h"
#include "py_market_data/py_security.h"
#include <vector>
namespace bts::md::py_interop {