在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):palantir/gradle-miniconda-plugin开源软件地址(OpenSource Url):https://github.com/palantir/gradle-miniconda-plugin开源编程语言(OpenSource Language):Java 75.9%开源软件介绍(OpenSource Introduction):Gradle Miniconda PluginPlugin that sets up a Python environment for building and running tests using Miniconda. UsageApply the plugin to your project following
Minimal configuration: miniconda {
minicondaVersion = '3.19.0'
packages = ['python']
} Then invoke the task launchNotebook(type: Exec) {
dependsOn 'setupPython'
executable "${miniconda.buildEnvironmentDirectory}/bin/python"
args '-c', 'print("Hello world!")'
} Options
Here is an example of the plugin with all the bells and whistles. miniconda {
bootstrapDirectoryPrefix = new File(System.getProperty('user.home'), '.miniconda')
buildEnvironmentDirectory = new File(buildDir, 'python')
minicondaVersion = '3.19.0'
packages = ['ipython-notebook']
pythonVersion = 2
channels = ['https://repo.continuum.io/pkgs/free', 'conda-forge']
} If you need to customize where the Miniconda installer script is downloaded from, you can add your artifact to the TasksbootstrapPythonInstalls Miniconda. setupPythonSets up conda environment in the project running condaBuildSetupInstalls conda-build using condaBuildCheckOnly checks (validates) the recipe. condaBuildBuilds and packages the project using LicenseGradle Miniconda Plugin is released by Palantir Technologies, Inc. under the Apache 2.0 License. See the included LICENSE file for details. Backwards Compatibility Breaks0.5.0The bootstrap Python is now placed in 0.4.0The bootstrap Python is now placed in |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论