Skip to content

Commit 46f23fa

Browse files
authored
Merge pull request #156 from Ocean-Data-Lab/dev_env_setup
Changed development environment setup procedure
2 parents 4841ee1 + cf19972 commit 46f23fa

File tree

4 files changed

+14
-46
lines changed

4 files changed

+14
-46
lines changed

dev_setup.sh

Lines changed: 0 additions & 15 deletions
This file was deleted.

docs/source/install_instructions.rst

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -34,26 +34,33 @@ How to setup OOIPY development environment
3434

3535
.. code-block :: bash
3636
37-
conda create --name env_name
37+
conda create --name env_name pip
3838
3939
3. Activate the environment using this command:
4040

4141
.. code-block :: bash
4242
4343
source activate env_name
4444
45-
4. Run the script to setup the development environment and install dependencies using this command:
45+
4. Install ooipy using this command in the same directory where the repository has been cloned:
4646

4747
.. code-block :: bash
4848
49-
bash ooipy/dev_setup.sh
49+
pip install -e ooipy
5050
51-
Conda will ask for permissions while installing each library, answer 'y' to each.
51+
5. Install the development environment package requirements :
5252

53-
5. When this runs successfully, run the python file to verify if installation is proper, using this command:
53+
.. code-block :: bash
54+
55+
cd ooipy
56+
pip install -r dev-requirements.txt
57+
58+
5. When this runs successfully, open a python prompt to verify if installation is proper, using this command:
5459

5560
.. code-block :: bash
5661
57-
python ooipy/verify_setup.py
62+
python
63+
import ooipy
64+
print(ooipy.__file__)
5865
59-
If the path printed out matches your local installation path for the ooipy github repository, your development environment has been properly setup.
66+
If the path printed out matches the __init__.py from your local installation path for the ooipy github repository, your development environment has been properly setup.

features_since_release.txt

Lines changed: 0 additions & 20 deletions
This file was deleted.

verify_setup.py

Lines changed: 0 additions & 4 deletions
This file was deleted.

0 commit comments

Comments
 (0)