Skip to content

Commit

Permalink
fix: pkg: replace python setup.py stance with pip install.
Browse files Browse the repository at this point in the history
Upon some combination of platform, we could have strange errors.
Using ``pip`` seems now more than recommended.
 - https://stackoverflow.com/questions/30239152
 - http://naoko.github.io/your-project-install-pip-setup/
 - https://stackoverflow.com/questions/30306099

Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
  • Loading branch information
vaab committed Dec 15, 2020
1 parent e115d19 commit 78139f8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ install:
- if [ -e requirements.txt ]; then pip install -r requirements.txt ; fi
- if [ -z "$DOVIS" -o "$PKG_COVERAGE" ]; then pip install coverage; fi
## getting test deps
- python setup.py develop easy_install "$(./autogen.sh --get-name)[test]"
- pip install -e .[test]
script:
- shyaml --version
- bin/test
Expand Down
4 changes: 2 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,9 @@ available on the PyPI. So you should be able to run::
pip install shyaml

If you have downloaded the GIT sources, then you could add install
the current version via traditional::
the current version via::

python setup.py install
pip install .

And if you don't have the GIT sources but would like to get the latest
master or branch from github, you could also::
Expand Down

0 comments on commit 78139f8

Please sign in to comment.