Closed cdeil closed 7 years ago
@cdeil I have made the pull request. However, I have both Python 2 and 3 installed on my system, and I launch Python 3 using python3
. So, make test
uses Python 2 by default. Is there any way to create an alias so python
command uses Python 3 by default?
If you want to use the Makefile, you could make a pull request replacing all python
with python3
in the Makefile?
https://github.com/hipspy/hips/blob/master/Makefile
Or just run tests directly:
python3 -m pytest hips
And yes, you could also create a softlink in one of your bin
folders python -> python3
or create an alias in your shell and put that in your shell startup file (for me it's bashrc
):
alias python=python3
But those options can be fragile and make your setup weird e.g. when you change to different project / environments.
This was done by @adl1995 in #8 . Closing issue now.
@adl1995 - Are you familiar with contributing via Github pull requests?
In any case: could you please make a first commit / contribution to this
hips
repo, fixing the following test function?This is meant to be as a check that you're all set for coding / contributing to this repo for GSoC. If you have any issues, e.g. getting dependencies installed, running tests, with git, anything, please comment here and we'll help.