Closed awallace-cray closed 6 years ago
~A change I am considering but have not decided to use yet.~
Updates to docs/source/introduction.rst
installation instructions are in progress.
Tested. Ready for review.
Reviewers: use updated installation instructions
Instead of pip install --user "numpy>=1.14" "future>=0.15.2" pyChapel
,
use
pip install --index-url https://test.pypi.org/simple/ --user pyChapel
pip install --user "numpy>=1.14" "future>=0.15.2"
I moved the copyright blocks to PR #91, just to keep the noise out of this.
Updated the test-pypi release (now 0.1.18.3)
pip install --index-url https://test.pypi.org/simple/ --user pyChapel
pip install --index-url https://test.pypi.org/simple/ --user pyChapel pip install --user "numpy>=1.14" "future>=0.15.2"
This command does not work for me in my environment, I get:
Could not fetch URL https://test.pypi.org/simple/pychapel/: There was a problem confirming the ssl certificate: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:661) - skipping
Could not find a version that satisfies the requirement pyChapel (from versions: )
No matching distribution found for pyChapel
My .pip/pip.conf file has the usual permission thing we use in it
2018-02-09 : I repro'd the problem Lydia reported on chapcs11. Removing the old ~/.pip/pip.conf (left over from 2014, I think) fixed that problem. However, when I attempted to finish installing pychapel on chapcs11 w the proposed pip package, I ran into other problems which stopped me. The pip install appeared to work - but when I ran pych -k, it blew up (not shown here right now). I was not able to make that pip install / pych work on chapcs11, so I set it aside to work on other priorities.
2018-02-15 : Just succeeded installing pychapel w the proposed pip install package using the proposed instructions. This time the host was a centos-7 VM.
This result, plus experience from trying to make this work on chapcs11, suggests that the problem
class post_install(install_data)
)2018-02-15 :
Just successfully tested the proposed pip install package on another VM, this one a SLES-12 running on AWS. Also, this one did not have pip installed in the system, so I installed that in $HOME/.local with the command easy_install --prefix=$HOME/.local pip
, added $HOME/.local/bin
to the PATH, and then finished the test install procedure per the instructions (except w pip install --index-url https://test.pypi.org/simple/ --user pyChapel
as noted above).
For information only, I tried the unit tests. As before, the tests in module/testing pass using the pip-installed pychapel (you must first pip install --user all the requirements.txt's), but the tests in docs/source/examples do not. That is due to gaps in the current setup.py which I intentionally did not address this time.
This last commit fixes the fatal error that @lydia-duncan and I hit when we tried this on chapcs11.
Reviewers: use updated installation instructions
And instead of pip install --user --upgrade --no-binary pyChapel pyChapel
,
please use
pip install -i https://test.pypi.org/simple/ --user --upgrade --no-binary pyChapel pyChapel
(pip install --user "numpy>=1.14" "future>=0.15.2"
is a separate command to run at the same time)
Updated installation instructions with "Mention easy_install".
Rebase only: That last commit cd678ee just squashes the previous dba8d22 into 167f78b
Makes the pip install (w manual Chapel build) work on Linux again, without addressing everything else to be desired. This should at least get pychapel back the functionality it had, before