Skip to content

Commit

Permalink
Merge pull request totalgood#35 from totalgood/feature-requirements
Browse files Browse the repository at this point in the history
Feature requirements
  • Loading branch information
hobson authored Jul 2, 2020
2 parents 73d4ae4 + f8cb11e commit 73c03f6
Show file tree
Hide file tree
Showing 17 changed files with 94 additions and 530 deletions.
40 changes: 0 additions & 40 deletions conda/environment-2.7.yml

This file was deleted.

38 changes: 0 additions & 38 deletions conda/environment-3.6.yml

This file was deleted.

222 changes: 0 additions & 222 deletions conda/environment-assist.yml

This file was deleted.

3 changes: 1 addition & 2 deletions conda/environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,10 @@ dependencies:
- pytest-cov
- python-levenshtein>=0.12.0,<0.13.0
- redis-py>=2.10.6
- scipy>=1.1.0
- swig>=3.0.12
- theano>=1.0.2
# this will fail on windows:
# - python-annoy>=1.9.5,<2.0.0

- pip:
- -r ../requirements/requirements-base.txt
- -r ../requirements/requirements.txt
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
-r requirements/requirements-3.6.txt
-r requirements/requirements.txt
55 changes: 55 additions & 0 deletions requirements/README-OS-specific-dependencies.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
# OS-Specific Binary Dependencies

## Ubuntu (apt)

On newish Ubuntu OSes you need the python header files:

```bash
$ sudo apt-get install python-dev python3.5-dev python3-virtualenv python-pip build-essential gfortran
```

But python-igraph often requires the binary igraph package
```bash
$ sudo apt-get install python-igraph
```

# SpeechRecognizer requires PyAudio
```bash
$ sudo apt-get install install portaudio19-dev python-pyaudio
```

## Mac OSX (homebrew)

On Mac OSX you need python3 and pip (brew installs the python-dev header files automatically?):
```bash
$ brew install python3
```

SpeechRecognizer requires PyAudio
```bash
$ brew install portaudio
```

Offline SpeechRecognizer requires pocketsphinx and swig
```bash
$ brew install cmu-pocketsphinx
$ brew install swig
```

############################
# scipy requires:
#$ sudo apt-get install gfortran libopenblas-dev liblapack-dev python-scipy python-matplotlib python-numpy

# matplotlib requires:
#$ sudo apt-get install libpng12-dev libfreetype6-dev

# matplotlib requires a backend (see matplotlibrc), tkagg is one option:
#$ sudo apt-get install tcl-dev tk-dev python-tk python3-tk

# pugnlp includes:
# coverage>=4.3.4 nltk>=3.2.2 fuzzywuzzy>=0.15.0 python-slugify>=1.2.4 nlup>=0.5

# optional packages:
# boto==2.46
# editdistance>=0.3.1

2 changes: 0 additions & 2 deletions requirements/requirements-2.7.txt

This file was deleted.

2 changes: 0 additions & 2 deletions requirements/requirements-3.6.txt

This file was deleted.

Loading

0 comments on commit 73c03f6

Please sign in to comment.