This repository has been archived by the owner on Jun 18, 2019. It is now read-only.
/
NOTES
57 lines (35 loc) · 1.46 KB
/
NOTES
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
2019/03/19
Requires GNU make and git.
Uses the system python (I have python 2.7.10).
May assume MacOS (I have Darwin-MacOS_10.13.6-x86_64).
Assumes that you don't have root.
Edit the user configuration in Makefile.
Run `make prepare` to install odfpy from its git repository.
Run `make run` to invoke a python that can find the installed odfpy.
--------------------------------------------------------------------------------
2019/03/12
export PYTHONPATH=/Users/andybennett/git/odf-prototype/lib/lib/python2.7/site-packages
INSTALLING ODFPY
----------------
https://github.com/eea/odfpy
git clone https://github.com/eea/odfpy.git
cd odfpy/
python setup.py build
python setup.py install --prefix=/Users/andybennett/git/odf-prototype/lib
--------------------------------------------------------------------------------
2019/03/27
INSTALLING OPENPYXL
-------------------
export PYTHONPATH=/Users/andybennett/git/odf-prototype/lib/lib/python2.7/site-packages
easy_install --prefix=/Users/andybennett/git/odf-prototype/lib pip
lib/bin/pip install --prefix=/Users/andybennett/git/odf-prototype/lib openpyxl
RUNNING GARETH'S POC
--------------------
export PYTHONPATH=/Users/andybennett/git/odf-prototype/lib/lib/python2.7/site-packages
# Edit the file path in excelImport.py
python excelImport.py
--------------------------------------------------------------------------------
2019/03/27
USING ODFPY
-----------
https://github.com/eea/odfpy/blob/master/contrib/odscell/odscell