Skip to content

Commit 23564ba

Browse files
committed
Use wheel's data_files
1 parent bf6cef9 commit 23564ba

File tree

5 files changed

+26
-33
lines changed

5 files changed

+26
-33
lines changed

README.md

+17-32
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ bqplot is a plotting system for the Jupyter notebook.
66
Note
77
----
88

9-
This README concerns bqplot version 0.6.0 beta 1.
9+
This README concerns bqplot version 0.6.0 beta 2.
1010

1111
Goals
1212
-----
@@ -30,43 +30,28 @@ Getting Started
3030
This package depends on the following packages:
3131

3232
- `numpy`
33-
- `ipywidgets` (version >=5.0b4)
33+
- `ipywidgets` (version >=5.0.0)
3434

3535
### Installation
3636

37-
1. Installing `bqplot`:
38-
39-
```
40-
$ pip install --pre bqplot
41-
```
42-
43-
or for a development installation,
44-
45-
```
46-
$ git clone https://github.com/bloomberg/bqplot.git
47-
$ cd bqplot
48-
$ pip install -e .
49-
$ bower install
50-
```
51-
52-
2. Next, we need to install the JavaScript code.
53-
54-
- Linux users:
55-
56-
```
57-
$ jupyter nbextension install --py --symlink bqplot
58-
$ jupyter nbextension enable --py bqplot
59-
```
37+
```
38+
$ pip install --pre bqplot
39+
$ jupyter nbextension enable --py bqplot
40+
```
6041

61-
- Windows users:
42+
or for a development installation (requires npm),
6243

63-
```
64-
$ jupyter nbextension install --py bqplot
65-
$ jupyter nbextension enable --py bqplot
66-
```
44+
```
45+
$ git clone https://github.com/bloomberg/bqplot.git
46+
$ cd bqplot
47+
$ pip install -e .
48+
$ jupyter nbextension install --py --symlink --user bqplot
49+
$ jupyter nbextension enable --py --user bqplot
50+
```
6751

68-
3. Note for developers: the `--symlink` argument in Linux allows one to
69-
modify the JavaScript code in-place. This feature is not available with Windows.
52+
Note for developers: the `--symlink` argument on Linux or OS X allows one to
53+
modify the JavaScript code in-place. This feature is not available
54+
with Windows.
7055

7156

7257
### Loading `bqplot`

bqplot-screenshot.png

36.2 KB
Loading

bqplot/_version.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
version_info = (0, 6, 0, 'b1')
1+
version_info = (0, 6, 0, 'b2')
22
__version__ = '.'.join(map(str, version_info))

pyplot-screenshot.png

46.6 KB
Loading

setup.py

+8
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,14 @@ def run(self):
156156
'long_description': LONG_DESCRIPTION,
157157
'License': 'Apache',
158158
'include_package_data': True,
159+
'data_files': [
160+
('share/jupyter/nbextensions/bqplot', [
161+
'bqplot/static/extension.js',
162+
'bqplot/static/extension.js.map',
163+
'bqplot/static/index.js',
164+
'bqplot/static/index.js.map',
165+
]),
166+
],
159167
'install_requires': [
160168
'ipywidgets>=5.0.0',
161169
'numpy',

0 commit comments

Comments
 (0)