refactor: Rename py-market-data -> py_market_data
Because '-' is an illegal character in py module names
This commit is contained in:
1 parent
e70b1f5e4a
commit
7bebfc1f8c
16 files changed
+22
-17
No files matched your search
+1
-1
@@ -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.
@@ -0,0 +1,5 @@
|
||||
@PACKAGE_INIT@
|
||||
|
||||
include("${CMAKE_CURRENT_LIST_DIR}/py-market-dataTargets.cmake")
|
||||
|
||||
check_required_components(libspark)
|
||||
File renamed without changes.
+1
-1
@@ -1,4 +1,4 @@
|
||||
#include "py-market-data/md_provider.h"
|
||||
#include "py_market_data/md_provider.h"
|
||||
|
||||
namespace bts::md::py_interop {
|
||||
|
||||
+1
-1
@@ -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 {
|
||||
|
||||
File renamed without changes.
File renamed without changes.
+1
-1
@@ -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 {
|
||||
|
||||
+2
-2
@@ -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>
|
||||
|
||||
+2
-2
@@ -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 {
|
||||
File renamed without changes.
+2
-2
@@ -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>
|
||||
|
||||
+6
-6
@@ -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<>())
|
||||
File renamed without changes.
+1
-1
@@ -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 {
|
||||
Reference in new issue
Block a user