Skip to content

Commit 66c445b

Browse files
committed
clean up some old files/scripts and refs to old packages
1 parent 504efc3 commit 66c445b

File tree

5 files changed

+11
-201
lines changed

5 files changed

+11
-201
lines changed

components/dash-core-components/README.md

Lines changed: 7 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -6,24 +6,19 @@ This package provides the core React component suite for [Dash][].
66

77
## Development
88

9-
The `dash` package contains some tools to build components and drive the bundles build process.
10-
To avoid the circular dependency situation, we don't add `dash` as a required install in the `dash-core-components` setup.
11-
But, in order to do development locally, you need to install `dash` before everything.
12-
13-
1. Install the dependencies with:
9+
This package is part of `dash`, and if you install `dash` in development mode with extras as below, you can develop in this portion as well.
10+
From the root of the `dash` repo:
1411

1512
```bash
16-
# it's recommended to install your python packages in a virtualenv
17-
# python 2
18-
$ pip install virtualenv --user && virtualenv venv && . venv/bin/activate
19-
# python 3
13+
# It's recommended to install your python packages in a virtualenv
14+
# As of dash 2.0, python 3 is required
2015
$ python -m venv venv && . venv/bin/activate
2116

2217
# make sure dash is installed with dev and testing dependencies
23-
$ pip install dash[dev,testing] # in some shells you need \ to escape []
18+
$ pip install -e .[dev,testing] # in some shells you need \ to escape []
2419

25-
# run the build process
26-
$ npm i --ignore-scripts && npm run build
20+
# run the build process - this will build all of dash, including dcc
21+
$ npm i && npm run build
2722

2823
# install dcc in editable mode
2924
$ pip install -e .
@@ -46,22 +41,6 @@ npm test
4641
# Import dash_core_components to your layout, then run it:
4742
$ python my_dash_layout.py
4843

49-
## Uninstalling python package locally
50-
51-
```sh
52-
$ npm run uninstall-local
53-
```
54-
55-
## Publishing
56-
57-
There's an npm script that will handle publish, provided you have the right credentials. You can run it by running
58-
59-
```sh
60-
$ npm run publish-all
61-
```
62-
63-
See the [Publishing New Components/Features](CONTRIBUTING.md#publishing-new-componentsfeatures) section of the Contributing guide for step-by-step instructions on publishing new components.
64-
6544
## Dash Component Boilerplate
6645

6746
See the [dash-component-boilerplate](https://github.com/plotly/dash-component-boilerplate) repo for more information.

components/dash-core-components/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
"test": "run-s -c lint test:intg test:pyimport",
2424
"test:intg": "pytest --nopercyfinalize --headless tests/integration",
2525
"test:pyimport": "python -m unittest tests/test_dash_import.py",
26-
"uninstall-local": "pip uninstall dash-core-components -y",
2726
"prebuild:js": "cp node_modules/plotly.js/dist/plotly.min.js dash_core_components_base/plotly.min.js",
2827
"build:js": "webpack --mode production",
2928
"build:backends": "dash-generate-components ./src/components dash_core_components -p package-info.json && cp dash_core_components_base/** dash_core_components/ && dash-generate-components ./src/components dash_core_components -p package-info.json --r-prefix 'dcc' --r-suggests 'dash,dashHtmlComponents,jsonlite,plotly' --jl-prefix 'dcc' && black dash_core_components",

components/dash-table/CONTRIBUTING.md

Lines changed: 0 additions & 80 deletions
This file was deleted.

components/dash-table/README.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,16 @@ An interactive `DataTable` for [Dash](https://dash.plotly.com/).
77
## Quickstart
88

99
```
10-
pip install dash-table
10+
pip install dash
1111
```
1212

1313
```python
14-
import dash
15-
import dash_table
14+
from dash import Dash, dash_table
1615
import pandas as pd
1716

1817
df = pd.read_csv('https://raw.githubusercontent.com/plotly/datasets/master/solar.csv')
1918

20-
app = dash.Dash(__name__)
19+
app = Dash(__name__)
2120

2221
app.layout = dash_table.DataTable(
2322
id='table',
@@ -41,7 +40,7 @@ This component was written from scratch in React.js and Typescript specifically
4140

4241
DataTable was designed with a featureset that allows that Dash users to create complex, spreadsheet driven applications with no compromises. We're excited to continue to work with users and companies that [invest in DataTable's future](https://plotly.com/products/consulting-and-oem/).
4342

44-
Please subscribe to [dash-table#207](https://github.com/plotly/dash-table/issues/207) and the [CHANGELOG.md](https://github.com/plotly/dash-table/blob/master/CHANGELOG.md) to stay up-to-date with any breaking changes. Note: DataTable is currently supported in Chrome, Firefox, Safari, Edge (version 15+), and Internet Explorer 11.
43+
Note: DataTable is currently supported in Chrome, Firefox, Safari, Edge (version 15+), and Internet Explorer 11.
4544

4645
Share your DataTable Dash apps on the [community forum](https://community.plotly.com/t/show-and-tell-community-thread/7554)!
4746

components/dash-table/index.py

Lines changed: 0 additions & 87 deletions
This file was deleted.

0 commit comments

Comments
 (0)