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 1575079 commit 350a4c8
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
Original file line number Diff line number Diff line change
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
12 changes: 9 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,15 @@ Convert [nose](http://nose.readthedocs.io)-style XML test reports to [UnitTH](ht
* [UnitTH HTML test history report](https://cdn.rawgit.com/KarrLab/nose2unitth/master/examples/html/index.html)

## Installation
```
pip install nose2unitth
```
* Latest release from PyPI
```
pip install nose2unitth
```

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

## Usage
```
Expand Down
13 changes: 7 additions & 6 deletions docs/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,15 @@ 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/nose2unitth.git#egg=nose2unitth

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

pip install nose2unitth

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

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

2 changes: 1 addition & 1 deletion docs/requirements.txt
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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 350a4c8

Please sign in to comment.