Skip to content

Commit d71aee4

Browse files
committed
Remove numpy.h
1 parent 2f28793 commit d71aee4

File tree

2 files changed

+1
-9
lines changed

2 files changed

+1
-9
lines changed

src/filepattern/cpp/bindings.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
#include <pybind11/operators.h>
44
#include <pybind11/complex.h>
55
#include <pybind11/stl/filesystem.h>
6-
#include <pybind11/numpy.h>
76
#include <string>
87

98
#include "pattern_object.hpp"

src/filepattern/cpp/include/filepattern.h

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,6 @@
1414
#define FILEPATTERN_EXPORT
1515
#endif
1616

17-
#ifdef WITH_PYTHON_H
18-
#include <pybind11/pybind11.h>
19-
#include <pybind11/stl.h>
20-
#include <pybind11/numpy.h>
21-
namespace py = pybind11;
22-
#endif
23-
2417
#if __has_include(<filesystem>)
2518
#include <filesystem>
2619
namespace fs = std::filesystem;
@@ -117,6 +110,6 @@ class FILEPATTERN_EXPORT FilePattern {
117110
void setPattern(std::string& pattern);
118111
std::string getPath();
119112
const std::unique_ptr<PatternObject>& getPatternObject() const;
120-
113+
private:
121114
std::unique_ptr<PatternObject> fp_;
122115
};

0 commit comments

Comments
 (0)