You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+18-11Lines changed: 18 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,16 +6,13 @@
6
6
7
7
A Python package for rendering files to HTML via an embeddable iframe.
8
8
9
-
### Documentation
9
+
### Compatibility
10
10
11
-
*Note: https://readthedocs.org/is currently unable to build documentation for Python 3.5 projects.* The documentation available at https://mfr.readthedocs.io/en/latest/ is outdated (v0.15.0). For the most up-to-date documentation, build locally. Within your checkout, run:
11
+
MFR is compatible with Python 3.5 (tested up to 3.5.3) and 3.6.
12
12
13
-
```bash
14
-
pip install -r doc-requirements.txt
15
-
cd docs
16
-
make
17
-
open _build/html/index.html
18
-
```
13
+
### Documentation
14
+
15
+
Documentation available at: http://modular-file-renderer.readthedocs.io/en/latest/
19
16
20
17
### Setting up
21
18
@@ -42,7 +39,8 @@ After installing python3.5, create the virtual environment with the following co
42
39
pip install virtualenv
43
40
pip install virtualenvwrapper
44
41
mkvirtualenv --python=`which python3.5` mfr
45
-
pip install invoke==0.11.1
42
+
pip install setuptools==30.4.0
43
+
pip install invoke==0.13.0
46
44
invoke install
47
45
invoke server
48
46
```
@@ -84,13 +82,22 @@ invoke install --develop
84
82
invoke test
85
83
```
86
84
85
+
### Known issues
86
+
87
+
- Running `invoke install -d` with setuptools v31 or greater can break MFR. The symptom error message is: `"AttributeError: module 'mfr' has no attribute '__version__'".` If you encounter this, you will need to remove the file
88
+
`mfr-nspkg.pth` from your virtualenv directory, run `pip install setuptools==30.4.0`, then re-run `invoke install -d`.
89
+
90
+
- The error `def create_default_context(purpose=ssl.Purpose.SERVER_AUTH, *, cafile=None, capath=None, cadata=None): SyntaxError: invalid syntax` can be fixed by restarting your virtual environment. The problem should not reoccur.
91
+
92
+
-`invoke $command` results in `'$command' did not receive all required positional arguments!`: this error message occurs when trying to run MFR v0.19.0+ with `invoke<0.13.0`. Run `pip install invoke==0.13.0`, then retry your command.
93
+
87
94
### Create your own module
88
95
89
96
Interested in adding support for a new provider or file format? Check out the CONTRIBUTING.rst docs.
90
97
91
98
### License
92
99
93
-
Copyright 2013-2016 Center for Open Science
100
+
Copyright 2013-2017 Center for Open Science
94
101
95
102
Licensed under the Apache License, Version 2.0 (the "License");
96
103
you may not use this file except in compliance with the License.
@@ -106,4 +113,4 @@ limitations under the License.
106
113
107
114
### COS is hiring!
108
115
109
-
Want to help save science? Want to get paid to develop free, open source software? [Check out our openings!](https://cos.io/jobs/)
116
+
Want to help save science? Want to get paid to develop free, open source software? [Check out our openings!](https://cos.io/our-communities/jobs/)
0 commit comments