@@ -20,7 +20,7 @@ Neuroglancer client if Python data sources are used.
20
20
21
21
It is recommended that you activate a suitable Python virtual environment before installing.
22
22
23
- Python 3.5 or later is required.
23
+ Python 3.9 or later is required.
24
24
25
25
You can install the latest published package from [ PyPI] ( https://pypi.org/project/neuroglancer )
26
26
with:
@@ -77,12 +77,12 @@ extension module.
77
77
For normal installation, run the following from the root of the repository:
78
78
79
79
``` shell
80
- python setup.py install
80
+ pip install .
81
81
```
82
82
83
- That will automatically build the Neuroglancer client using Node.js if it has not already been built
84
- (i.e. if ` neuroglancer/static/index.html ` does not exist). To rebuild the Neuroglancer client
85
- explicitly, you can use:
83
+ That will automatically build the Neuroglancer client using Node.js if it has
84
+ not already been built (i.e. if ` neuroglancer/static/client/ index.html ` does not
85
+ exist). To rebuild the Neuroglancer client explicitly, you can use:
86
86
87
87
``` shell
88
88
python setup.py bundle_client
94
94
npm run build-python
95
95
```
96
96
97
- Note: Installing from a local checkout using ` pip install . ` also works, but it may be slower
98
- because it makes a full copy of the local directory (https://github.com/pypa/pip/pull/7882 ),
99
- including the possibly-large ` .git ` and ` node_modules ` directories.
100
-
101
97
#### Editable installation (for development purposes)
102
98
103
99
During development, an * editable* installation allows the package to be imported directly from the
@@ -110,7 +106,7 @@ pip install -e .
110
106
Any changes you make to the .py source files take effect the next time the package is imported,
111
107
without the need to reinstall. If you make changes to the Neuroglancer client, you still need to
112
108
rebuild it with ` npm run build-python ` . You can also keep the Neuroglancer client continuously
113
- up-to-date by running ` npm run dev-server- python ` .
109
+ up-to-date by running ` npm run build- python:watch ` .
114
110
115
111
## Examples
116
112
0 commit comments