Skip to content
This repository has been archived by the owner on Jul 2, 2021. It is now read-only.

Improve setup.py to work on a machine without numpy or cython #327

Merged
merged 7 commits into from
Jul 7, 2017
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
include Cython in environment*.yml
  • Loading branch information
yuyu2172 committed Jul 7, 2017
commit 03f63dfc1de15f0f65ce1e08a97487e6b06dbe7f
6 changes: 1 addition & 5 deletions docs/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,13 @@ You can install ChainerCV using `pip`.

.. code-block:: shell

# If Cython has not been installed yet, install it by a command like
# pip install Cython
pip install chainercv


Anaconda
~~~~~~~~

You can setup ChainerCV including its dependencies using anaconda.
Build instruction using Anaconda is as follows.

.. code-block:: shell

Expand All @@ -42,8 +40,6 @@ You can setup ChainerCV including its dependencies using anaconda.
cd chainercv
conda env create -f environment.yml
source activate chainercv
# This is necessary to build ChainerCV
conda install cython

# Install ChainerCV
pip install -e .
Expand Down
1 change: 1 addition & 0 deletions environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ channels:
- !!python/unicode
'defaults'
dependencies:
- Cython
- opencv3=3.2.0
- matplotlib
- numpy
Expand Down
1 change: 1 addition & 0 deletions environment_minimum.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ channels:
- !!python/unicode
'defaults'
dependencies:
- Cython
- numpy
- Pillow
- pip:
Expand Down