Skip to content

Commit

Permalink
CI update
Browse files Browse the repository at this point in the history
  • Loading branch information
fdion committed Sep 19, 2022
1 parent 29a7454 commit ab13eff
Show file tree
Hide file tree
Showing 6 changed files with 66 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
fail-fast: false
matrix:
os: ["ubuntu-latest"]
python-version: ["3.9", "3.8"]
python-version: ["3.10", "3.9", "3.8"]
steps:
- uses: actions/checkout@v2
- uses: conda-incubator/setup-miniconda@v2
Expand Down Expand Up @@ -55,7 +55,7 @@ jobs:
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: docs/_build/html
publish_dir: docs/build/html

- name: Build sdist and bdist
shell: bash -l {0}
Expand Down
46 changes: 46 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,52 @@ This concludes the quickstart. There are many more visualizations and tables to

See the `notebooks` and `docs` folders on [github](https://github.org/dionresearch/classgraphic) for more information

# Requirements

- Python 3.8 or later
- numpy
- pandas
- plotly>=5.0
- scikit-learn

# Install

If you use conda, create an environment named `classgraphic`, then activate it:

- in Linux:
`source activate pilot`

- In Windows:
`conda activate pilot`

If you use another environment management create and activate your environment
using the normal steps.

Then execute:

```sh
python setup.py install
```

or for installing in [development mode](https://pip.pypa.io/en/latest/cli/pip_install/#install-editable):


```sh
python -m pip install -e . --no-build-isolation
```

or alternatively

```sh
python setup.py develop
```

To install from github instead:
```shell
pip install git+https://github.com/dionresearch/classgraphic
```


# See also

- [stemgraphic](https://github.com/dionresearch/stemgraphic) python package for visualization of data and text
Expand Down
4 changes: 4 additions & 0 deletions binder/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# My Binder

The environment.yml file in this folder is for mybinder.org, to make
sure we have Python 3.8 and that this module is installed.
12 changes: 12 additions & 0 deletions binder/environment.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
name: classgraphic
channels:
- default
dependencies:
- python==3.9
- pip
- numpy
- pandas
- plotly>=5
- scikit-learn
- pip:
- git+https://github.com/dionresearch/classgraphic
4 changes: 2 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
numpy
pandas
plotly
scikit-learn
plotly>=5.0
scikit-learn
2 changes: 0 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,6 @@
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
Expand Down

0 comments on commit ab13eff

Please sign in to comment.