处理轨迹的库。
项目描述
Lagranto - 处理轨迹的库。
最新的文档构建版本可在https://lagranto.readthedocs.io/en/latest/找到
变更日志
变更日志可在CHANGELOG.md中找到。
安装开发环境
从lagranto复制最新版本到本地
git clone git@git.iac.ethz.ch:atmosdyn/Lagranto.git /path/to/local/lagranto
cd path/to/local/lagranto
准备conda环境
module load miniconda3
conda create -y -q -n lagranto_dev python=3.5.4 pytest
conda env update -q -f lagranto.yml -n lagranto_dev
在lagranto_dev中以开发模式安装lagranto
source activate lagranto_dev
pip install -e .
运行测试
python -m pytest
使修改生效
git clone URL # Copy the server version locally
git status # Give the status of the file as seen from git
git pull # Get the latest version from the server
git add FILES... # Add modified files
git commit # Add the changes to the git system, only locally
git push # Push the local changes to the server
文档
要编译文档,必须安装sphinx包
conda install sphinx
要编译HTML文档
cd docs
make html
在conda和PyPi上更新包
先决条件
Conda
一个GitHub账户
在本地克隆分支。
PyPi
一个PyPi账户
一个gpg密钥
通用步骤
在setup.py中更改版本号
为此新版本添加标签
git tag -s TAGNAME -u KEY
推送标签
git push --tags
PyPi
只需运行
./pypi_upload.sh
Conda
在recipe/meta.yaml中编辑Lagranto的版本名和sha256校验和。sha256校验和可以按以下方式确定
wget "https://git.iac.ethz.ch/atmosdyn/Lagranto/repository/VERSION/archive.tar.gz"
sha245sum archive.tar.gz
提交并推送更改,然后在github上为conda-forge/lagranto-feedstock创建一个pull-request
项目详情
下载文件
下载适合您平台的文件。如果您不确定选择哪个,请了解有关安装包的更多信息。
源分布
Lagranto-0.3.1.tar.gz (1.2 MB 查看哈希值)
构建分布
Lagranto-0.3.1-py2.py3-none-any.whl (32.9 kB 查看哈希值)
关闭
Lagranto-0.3.1.tar.gz的哈希值
算法 | 哈希摘要 | |
---|---|---|
SHA256 | 7f0a7055879d55710e47f0bfcfd0a0a64635459a233371fcc3bc52281db81dd1 |
|
MD5 | 078550133e2325d0f6dc9a9584d4c72e |
|
BLAKE2b-256 | c6539616fb0d1ea5fcf4075542e9c24db04ee27ce4940a85dcb428e8ebd3b527 |
关闭
Lagranto-0.3.1-py2.py3-none-any.whl的哈希值
算法 | 哈希摘要 | |
---|---|---|
SHA256 | e65caa2eebdebf60c0d7ca6da8e6a38a77682de195885f15e9323776b76468d3 |
|
MD5 | 260c0dc988f2afc99812072e2092a037 |
|
BLAKE2b-256 | 33d1496418b2acbfe9d166cd3d7b63253a087bb0509b00ebe0d7ef1965cc6ae9 |