-
Notifications
You must be signed in to change notification settings - Fork 5
BUILD NOTES
These instructions are biased for MacOSX. If you're on Linux, these should be trivially easy.
You have home brew, right? Good.
Not to self: Keep on documenting with markdown files.
Start by getting python 3.
brew install python3
If you run into an issue during the install that complains about zlib, see this out to find the fix
In short: xcode-select --install
And then I found I had to reinstall python3:
brew reinstall python3
We're going to follow good python hygene and use virtual environments to silo our install dependencies.
Go get http://virtualenv.readthedocs.org/en/latest/installation.html
pip install virtualenv
then the basic commands are:
mkvirtualenv some-name-related-to-your-project
lsvirtualenv list all virtual envs
workon some-other-related-project
deactive
cd prime-hexagon
mkvirtualenv prime-hexagon
workon prime-hexagon
pip install numpy
pip install cython
pip install primesieve
pip install pytest
This documentation is mapped under Mapping and licensed under Apache License, Version 2.0.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright (c) 2018-2020 Chetabahana Project