Skip to content

Commit

Permalink
updating for pip 19
Browse files Browse the repository at this point in the history
  • Loading branch information
jonrkarr committed Mar 13, 2019
1 parent d006a8c commit 73513cd
Show file tree
Hide file tree
Showing 5 changed files with 29 additions and 18 deletions.
18 changes: 11 additions & 7 deletions .circleci/config.yml
Expand Up @@ -16,22 +16,26 @@ jobs:
# Python 3 installation tasks
- run:
name: Install pkg_utils (Python 3)
command: pip3 install -U --process-dependency-links git+https://github.com/KarrLab/pkg_utils.git#egg=pkg_utils
command: pip3 install -U git+https://github.com/KarrLab/pkg_utils.git#egg=pkg_utils
- run:
name: Install karr_lab_build_utils (Python 3)
command: pip3 install -U --process-dependency-links git+https://github.com/KarrLab/karr_lab_build_utils.git#egg=karr_lab_build_utils[all]
command: |
pip3 install -U git+https://github.com/KarrLab/log.git#egg=log
pip3 install -U git+https://github.com/KarrLab/sphinxcontrib-googleanalytics.git#egg=sphinxcontrib_googleanalytics
pip3 install -U git+https://github.com/KarrLab/wc_utils.git#egg=wc_utils[all]
pip3 install -U git+https://github.com/KarrLab/karr_lab_build_utils.git#egg=karr_lab_build_utils[all]
- run:
name: Install package configuration files including credentials
command: karr_lab_build_utils3 download-install-package-config-files
- run:
name: Install and upgrade requirements (Python 3)
name: Setup Python environment
command: |
set +e
karr_lab_build_utils3 install-requirements
karr_lab_build_utils3 upgrade-karr-lab-packages
if [[ -f .circleci/requirements.txt ]]; then
pip3 install -U -r .circleci/requirements.txt
fi
- run:
name: Install package (Python 3)
command: pip3 install -U --process-dependency-links -e .[all]
command: pip3 install -U -e .[all]

# Save packages to cache
- save_cache:
Expand Down
13 changes: 10 additions & 3 deletions README.md
Expand Up @@ -39,9 +39,16 @@ The first time `gdoc_down` is called, `gdoc_down` will request access to the use
account. This will create a client.json file in the users home directory (~/.gdoc_down/client.json).

## Installation
```
pip install gdoc_down
```

* Latest release from PyPI
```
pip install gdoc_down
```

* Latest revision from GitHub
```
pip install git+https://github.com/KarrLab/gdoc_down.git#egg=gdoc_down
```

## Command line usage
```
Expand Down
12 changes: 6 additions & 6 deletions docs/installation.rst
Expand Up @@ -7,14 +7,14 @@ Prerequisites
* Python
* Pip

Latest revision from GitHub
---------------------------
Run the following command to install the latest version from GitHub::

pip install git+git://github.com/KarrLab/gdoc_down.git#egg=gdoc_down

Latest release From PyPI
---------------------------
Run the following command to install the latest release from PyPI::

pip install gdoc_down

Latest revision from GitHub
---------------------------
Run the following command to install the latest version from GitHub::

pip install git+https://github.com/KarrLab/gdoc_down.git#gdoc_down
2 changes: 1 addition & 1 deletion docs/requirements.txt
Expand Up @@ -2,6 +2,6 @@ sphinx >= 1.8
sphinx_rtd_theme >= 0.4.2
sphinxcontrib_addmetahtml >= 0.1.1
sphinxcontrib_bibtex
git+https://github.com/KarrLab/sphinxcontrib-googleanalytics.git#egg=sphinxcontrib_googleanalytics-0.1.1 >= 0.1.1
sphinxcontrib_googleanalytics >= 0.1.1
sphinxcontrib_spelling
sphinxprettysearchresults
2 changes: 1 addition & 1 deletion setup.py
Expand Up @@ -3,7 +3,7 @@
import pkg_utils
except ImportError:
import pip._internal
pip._internal.main(['install', '--process-dependency-links', 'git+https://github.com/KarrLab/pkg_utils.git#egg=pkg_utils'])
pip._internal.main(['install', 'pkg_utils'])
import pkg_utils
import os

Expand Down

0 comments on commit 73513cd

Please sign in to comment.