Skip to content

Commit

Permalink
Merge pull request #18 from RazHoshia/add_install_to_dogfooding
Browse files Browse the repository at this point in the history
fix installation and add test for that in tox
  • Loading branch information
RazHoshia authored May 1, 2021
2 parents e807bdf + 50b9ac0 commit 9434ff6
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Unofficial but extremely useful Label and One Hot encoders.
Always wanted to be able to use One Hot encoding with string values? to use a label encoder that can handle unknown values? This package finally allows you to do so!
<br>The Encoders are 100% skelarn compatible and were tested with both skelarn compatible tests and hypothesis fuzz testing.
## Installation
```pip install -e git+https://github.com/RazHoshia/unofficial_encoders.git```
```pip install git+https://github.com/RazHoshia/unofficial_encoders.git```

## How To Use
Please check the [examples folder](https://github.com/RazHoshia/unofficial_encoders/tree/main/examples).
Expand Down
11 changes: 11 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,17 @@ commands =
{envpython} one_hot_encoder_example.py
{envpython} label_encoder_example.py

[testenv:user_install]
skip_install =
true
changedir =
{toxinidir}/examples
commands_pre =
pip install git+https://github.com/RazHoshia/unofficial_encoders.git
commands =
{envpython} one_hot_encoder_example.py
{envpython} label_encoder_example.py

[testenv:docs]
changedir =
{toxinidir}
Expand Down

0 comments on commit 9434ff6

Please sign in to comment.