henrykironde / Retriever.jl

Julia wrapper for the Data Retriever software
MIT License
0 stars 1 forks source link

notes #1

Open henrykironde opened 7 years ago

henrykironde commented 7 years ago

https://github.com/johnmyleswhite/Style.jl https://en.wikibooks.org/wiki/Introducing_Julia https://lectures.quantecon.org/jl/learning_julia.html https://juliadocs.github.io/Documenter.jl/stable/man/examples/#Examples-1

henrykironde commented 5 years ago

ENV["PYTHON"] ="C:/Users/Henry/Documents/GitHub/Environs/venv35/Scripts/python" ENV["PYTHON"] ="path to my python Environs/venv35/Scripts/python" using Pkg Pkg.add("PyCall")

cd to src

using Conda Conda.add("numpy")

https://docs.travis-ci.com/user/languages/julia/

if VERSION >= v"0.7.0-DEV.5183"
    using Pkg
end
Pkg.clone(pwd())
Pkg.build("$pkgname")
Pkg.test("$pkgname", coverage=true)
henrykironde commented 5 years ago

On mac julia then ] and activate . After, add Pkg

or people suggest add a Project.toml with [deps] Pkg

henrykironde commented 5 years ago

+------------+  docker build   +--------------+  docker run -dt   +-----------+  docker exec -it   +------+
| Dockerfile | --------------> |    Image     | --------------->  | Container | -----------------> | Bash |
+------------+                 +--------------+                   +-----------+                    +------+
                                       ^
                                       |   docker pull
                                       |
                               +--------------+
                               |   Registry   |
                               +--------------+
henrykironde commented 5 years ago

Add developer_tools. Developer_tools for all projects

Retriever, Weaver,

henrykironde commented 5 years ago

Python

An empty entry is added at the start, which corresponds to the current directory. If the environment variable PYTHONPATH exists, as described in Environment variables, its entries are added next. Note that on Windows, paths in this variable must be separated by semicolons, to distinguish them from the colon used in drive identifiers (C:\ etc.). Additional “application paths” can be added in the registry as subkeys of \SOFTWARE\Python\PythonCore{version}\PythonPath under both the HKEY_CURRENT_USER and HKEY_LOCAL_MACHINE hives. Subkeys which have semicolon-delimited path strings as their default value will cause each path to be added to sys.path. (Note that all known installers only use HKLM, so HKCU is typically empty.) If the environment variable PYTHONHOME is set, it is assumed as “Python Home”. Otherwise, the path of the main Python executable is used to locate a “landmark file” (either Lib\os.py or pythonXY.zip) to deduce the “Python Home”. If a Python home is found, the relevant sub-directories added to sys.path (Lib, plat-win, etc) are based on that folder. Otherwise, the core Python path is constructed from the PythonPath stored in the registry. If the Python Home cannot be located, no PYTHONPATH is specified in the environment, and no registry entries can be found, a default path with relative entries is used (e.g. .\Lib;.\plat-win, etc

C:>set PATH=C:\Program Files\Python 3.7;%PATH% C:>set PYTHONPATH=%PYTHONPATH%;C:\My_python_lib C:>python

henrykironde commented 5 years ago

https://github.com/rstacruz/cheatsheets/blob/master/bash.md