blob: a1199fd67e81f589530c1676bd142457539bc02c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
|
if BUILD_PYTHON
AM_CPPFLAGS = \
-I$(top_srcdir)/include \
-I$(top_srcdir)/src/include \
$(BOOST_CPPFLAGS) \
$(PYTHON_CFLAGS) \
$(MDDS_CFLAGS) \
$(LIBIXION_CFLAGS)
pyexec_LTLIBRARIES = _orcus.la _orcus_json.la
_orcus_la_SOURCES = \
python.cpp \
global.hpp \
global.cpp \
memory.hpp \
memory.cpp \
root.hpp \
root.cpp \
xlsx.hpp \
xlsx.cpp \
xls_xml.hpp \
xls_xml.cpp \
ods.hpp \
ods.cpp \
csv.hpp \
csv.cpp \
gnumeric.hpp \
gnumeric.cpp
_orcus_la_LDFLAGS = -module -avoid-version -export-symbols-regex PyInit__orcus
_orcus_la_LIBADD = \
../liborcus/liborcus-@ORCUS_API_VERSION@.la \
../parser/liborcus-parser-@ORCUS_API_VERSION@.la \
$(PYTHON_LIBS)
if BUILD_SPREADSHEET_MODEL
_orcus_la_SOURCES += \
document.hpp \
document.cpp \
sheet.hpp \
sheet.cpp \
sheet_rows.hpp \
sheet_rows.cpp \
cell.hpp \
cell.cpp \
formula_token.hpp \
formula_token.cpp \
formula_tokens.hpp \
formula_tokens.cpp \
named_expressions.hpp \
named_expressions.cpp \
named_expression.hpp \
named_expression.cpp
_orcus_la_LIBADD += \
../spreadsheet/liborcus-spreadsheet-model-@ORCUS_API_VERSION@.la \
$(LIBIXION_LIBS)
endif # BUILD_SPREADSHEET_MODEL
_orcus_json_la_SOURCES = \
json.cpp
_orcus_json_la_LDFLAGS = -module -avoid-version -export-symbols-regex PyInit__orcus_json
_orcus_json_la_LIBADD = \
../liborcus/liborcus-@ORCUS_API_VERSION@.la \
../parser/liborcus-parser-@ORCUS_API_VERSION@.la \
$(PYTHON_LIBS)
orcusdir = $(pythondir)/orcus
orcustoolsdir = $(pythondir)/orcus/tools
orcus_DATA = \
./orcus/__init__.py \
./orcus/csv.py \
./orcus/gnumeric.py \
./orcus/json.py \
./orcus/ods.py \
./orcus/xls_xml.py \
./orcus/xlsx.py
orcustools_DATA = \
./orcus/tools/__init__.py \
./orcus/tools/bugzilla.py \
./orcus/tools/file_processor.py
EXTRA_DIST = \
./orcus/__init__.py \
./orcus/csv.py \
./orcus/gnumeric.py \
./orcus/json.py \
./orcus/ods.py \
./orcus/xls_xml.py \
./orcus/xlsx.py \
./orcus/tools/__init__.py \
./orcus/tools/bugzilla.py \
./orcus/tools/file_processor.py
AM_TESTS_ENVIRONMENT = \
PYTHONPATH=$(top_srcdir)/src/python:.libs$${PYTHONPATH:+:$${PYTHONPATH}}; export PYTHONPATH; \
BUILDDIR=$(top_builddir); export BUILDDIR;
TESTS = \
../../test/python/test_json.py \
../../test/python/test_module.py \
../../test/python/test_csv.py \
../../test/python/test_csv_export.py
if WITH_PYTHON_XLSX
TESTS += ../../test/python/test_xlsx.py
AM_TESTS_ENVIRONMENT += export WITH_PYTHON_XLSX=1;
endif # WITH_PYTHON_XLSX
if WITH_PYTHON_ODS
TESTS += ../../test/python/test_ods.py
AM_TESTS_ENVIRONMENT += export WITH_PYTHON_ODS=1;
endif # WITH_PYTHON_ODS
if WITH_PYTHON_XLS_XML
TESTS += ../../test/python/test_xls_xml.py
AM_TESTS_ENVIRONMENT += export WITH_PYTHON_XLS_XML=1;
endif # WITH_PYTHON_XLS_XML
if WITH_PYTHON_GNUMERIC
TESTS += ../../test/python/test_gnumeric.py
AM_TESTS_ENVIRONMENT += export WITH_PYTHON_GNUMERIC=1;
endif # WITH_PYTHON_GNUMERIC
endif # BUILD_PYTHON
|