@@ -8,43 +8,40 @@ A Python package for rendering files to HTML via an embeddable iframe.
8
8
9
9
### Compatibility
10
10
11
- MFR is compatible with Python 3.6 .
11
+ MFR is compatible with Python 3.13 .
12
12
13
13
### Documentation
14
14
15
15
Documentation available at: http://modular-file-renderer.readthedocs.io/en/latest/
16
16
17
17
### Setting up
18
18
19
- Install the latest version of python3.6 .
19
+ Install the latest version of python3.13 .
20
20
21
21
For MacOSX users:
22
22
23
23
``` bash
24
- brew install python3
24
+
25
25
# optional, needed for some converters
26
- brew install pspp unoconv
26
+ brew install pspp libreoffice
27
27
```
28
28
For Ubuntu users:
29
29
30
30
``` bash
31
- apt-get install python3
31
+ apt-get install python3.13
32
32
# optional, needed for some converters
33
- apt-get install pspp unoconv
33
+ apt-get install pspp libreoffice
34
34
```
35
35
36
- After installing python3.6, create the virtual environment with the following commands:
36
+ After installing python3.13, set up the project with the following commands:
37
37
38
38
``` bash
39
- pip install virtualenv
40
- pip install virtualenvwrapper
41
- mkvirtualenv --python= ` which python3.6 ` mfr
39
+ pip install poetry
40
+ poetry env use python3.13
41
+ poetry install
42
42
43
- pip install setuptools==37.0.0
44
- pip install invoke==0.13.0
45
-
46
- invoke install
47
- invoke server
43
+ poetry run invoke install
44
+ poetry run invoke server
48
45
```
49
46
50
47
### Configuring
@@ -80,8 +77,8 @@ If you encounter the error message `TypeError: throw() takes 2 positional argume
80
77
Before running the tests, you will need to install some additional requirements. In your checkout, run:
81
78
82
79
``` bash
83
- invoke install --develop
84
- invoke test
80
+ poetry run invoke install --develop
81
+ poetry run invoke test
85
82
```
86
83
87
84
### Known issues
@@ -98,7 +95,7 @@ Interested in adding support for a new provider or file format? Check out the CO
98
95
99
96
### License
100
97
101
- Copyright 2013-2023 Center for Open Science
98
+ Copyright 2013-2025 Center for Open Science
102
99
103
100
Licensed under the Apache License, Version 2.0 (the "License");
104
101
you may not use this file except in compliance with the License.
0 commit comments