Skip to content

Commit

Permalink
Some changes for remove scipy library from dependencies.
Browse files Browse the repository at this point in the history
  • Loading branch information
Dmitriy Kuragin committed Jan 29, 2016
1 parent e969cc1 commit 595ddb0
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 15 deletions.
8 changes: 7 additions & 1 deletion HISTORY.rst
Expand Up @@ -3,7 +3,13 @@
Release History
---------------

0.0.1 (1014-03-1)
0.0.8 (2015-01-29)
++++++++++++++++++

* `scipy` removed from dependencies in library.
* `scipy` removed from dependencies in examples.

0.0.1 (2014-03-1)
++++++++++++++++++

* Conception
4 changes: 2 additions & 2 deletions README.rst
Expand Up @@ -53,13 +53,13 @@ or install it from repo:
$ pip install https://github.com/api-ai/api-ai-python.git
You might run into problems because some dependencies in your python environment are missing. You need to install numpy (which is available in alomost all package managers) and `scipy <http://www.scipy.org/install.html>`_. For running the examples you also need python audio.
You might run into problems because some dependencies in your python environment are missing. You need to install numpy (which is available in alomost all package managers). For running the examples you also need python audio.

In ubunutu the following will do the job:

.. code-block:: bash
$ apt-get install python-pyaudio python-numpy python-scipy python-matplotlib ipython ipython-notebook python-pandas python-sympy python-nose python-pip
$ apt-get install python-pyaudio python-numpy
$ pip install apiai
Documentation
Expand Down
2 changes: 1 addition & 1 deletion apiai/__init__.py
Expand Up @@ -8,7 +8,7 @@
__copyright__ = "Copyright 2015 api.ai"
__contributors__ = []
__license__ = "Apache 2.0"
__version__ = "0.0.7"
__version__ = "0.0.8"

__all__ = ['apiai', 'ApiAI', 'Request', 'TextRequest', 'VoiceRequest', 'VAD', 'Resampler', 'Entry', 'Entity']

Expand Down
3 changes: 2 additions & 1 deletion examples/pyaudio_example.py
@@ -1,14 +1,15 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-

import os, sys.path

try:
import apiai
except ImportError:
sys.path.append(os.path.join(os.path.dirname(os.path.realpath(__file__)), os.pardir))
import apiai

import pyaudio

import time

CHUNK = 512
Expand Down
5 changes: 0 additions & 5 deletions examples/send_file_example.py
Expand Up @@ -9,11 +9,6 @@
sys.path.append(os.path.join(os.path.dirname(os.path.realpath(__file__)), os.pardir))
import apiai


import apiai
import time
import scipy.io.wavfile as wav

from codecs import open

CLIENT_ACCESS_TOKEN = 'YOUR_ACCESS_TOKEN'
Expand Down
3 changes: 0 additions & 3 deletions examples/send_text_example.py
Expand Up @@ -9,9 +9,6 @@
sys.path.append(os.path.join(os.path.dirname(os.path.realpath(__file__)), os.pardir))
import apiai

import time
import scipy.io.wavfile as wav

CLIENT_ACCESS_TOKEN = 'YOUR_ACCESS_TOKEN'
SUBSCRIPTION_KEY = 'YOUR_SUBSCRIPTION_KEY'

Expand Down
4 changes: 2 additions & 2 deletions setup.py
Expand Up @@ -21,8 +21,8 @@
]

requires = [
'numpy',
'scipy',
'numpy'
# 'scipy',
]

with open('README.rst', 'r') as f:
Expand Down

0 comments on commit 595ddb0

Please sign in to comment.