Skip to content

Commit

Permalink
Merge pull request #83 from QData/pypi
Browse files Browse the repository at this point in the history
add pypi files to gitignore; add better language_tool dependency
  • Loading branch information
jxmorris12 committed May 3, 2020
2 parents c7eea91 + 0b92eaf commit c82aad9
Show file tree
Hide file tree
Showing 150 changed files with 31 additions and 6,039 deletions.
6 changes: 5 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,8 @@ docs/_build/
tensorflow-hub

# for Macs
.DS_Store
.DS_Store

# build outputs for PyPI
build/
dist/
2 changes: 1 addition & 1 deletion MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1 +1 @@
include config.json
include textattack/config.json
8 changes: 0 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,14 +47,6 @@ python -m spacy download en
### Cache
TextAttack provides pretrained models and datasets for user convenience. By default, all this stuff is downloaded to `~/.cache`. You can change this location by editing the `CACHE_DIR` field in `config.json`.

### Common Errors

#### Errors regarding GCC
If you see an error that GCC is incompatible, make sure your system has an up-to-date version of the GCC compiler.

#### Errors regarding Java
Using the LanguageTool constraint relies on Java 8 internally (it's not ideal, we know). Please install Java 8 if you're interested in using the LanguageTool grammaticality constraint.

## Usage

### Basic Usage
Expand Down
65 changes: 0 additions & 65 deletions build/lib/docs/conf.py

This file was deleted.

Empty file removed build/lib/local_tests/__init__.py
Empty file.
60 changes: 0 additions & 60 deletions build/lib/local_tests/command_line_tests.py

This file was deleted.

40 changes: 0 additions & 40 deletions build/lib/local_tests/python_function_tests.py

This file was deleted.

38 changes: 0 additions & 38 deletions build/lib/local_tests/run_tests.py

This file was deleted.

120 changes: 0 additions & 120 deletions build/lib/local_tests/test_models.py

This file was deleted.

7 changes: 0 additions & 7 deletions build/lib/local_tests/tests.py

This file was deleted.

0 comments on commit c82aad9

Please sign in to comment.