Skip to content
项目

关于

Commands and tools for building conda packages

开发工具

这些数字如何统计

实测星标增长

24小时
0
7天
0
15天
+1
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

conda-build

GitHub Scheduled Tests Codecov Status CodSpeed Performance Benchmarks CalVer Versioning
GitHub Release Anaconda Package conda-forge Package

Installation

# Display information about current conda install
$ conda info

# Install conda-build in the base env
$ conda install -n base conda-build

Building Your Own Packages

You can easily build your own packages for conda, and upload them to anaconda.org, a free service for hosting packages for conda, as well as other package managers. To build a package, create a recipe. See AnacondaRecipes and conda-forge for many example recipes, and conda-build documentation on how to build recipes.

To upload to anaconda.org, create an account. Then, install the anaconda-client and login

$ conda install anaconda-client
$ anaconda login

Then, after you build your recipe

$ conda build <RECIPE_DIR>

you will be prompted to upload to anaconda.org.

To add your anaconda.org channel, or the channel of others to conda so that conda install will find and install their packages, run

$ conda config --add channels https://conda.anaconda.org/<USERNAME>

(replacing USERNAME with the user name of the person whose channel you want to add).

Gotchas/FAQ

  • OSError: [Errno 36] File name too long: - This error has been seen on Linux computers with encrypted folders. The solution is to install miniconda or anaconda to a location that is not encrypted. This error occurs because the encrypted form of the path that conda-build creates can be too long.

Getting Help

Contributing

Contributions to conda-build are welcome. See the contributing documentation for instructions on setting up a development environment.

探索相关项目

加载中…