forked from conda/conda-docs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
condarc
114 lines (93 loc) · 4.46 KB
/
condarc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
# This is a sample .condarc file
# channel locations. These override conda defaults, i.e., conda will
# search *only* the channels listed here, in the order given. Use "defaults" to
# automatically include all default channels. Non-url channels will be
# interpreted as anaconda.org usernames (this can be changed by modifying the
# channel_alias key; see below). The default is just 'defaults'.
channels:
- <anaconda_username>
- http://some.custom/channel
- file:///some/local/directory
- defaults
# Always choose the yes option option whenever asked to proceed, e.g., when
# installing. Same as using the --yes flag at the command line. The default is
# False.
always_yes: True
# Show channel URLs when displaying what is going to be downloaded and
# in 'conda list'. The default is False.
show_channel_urls: True
# Change the command prompt ($PS1) when using activate to include the
# activated environment. The default is True.
changeps1: False
# Use pip when listing packages with 'conda list'. Note that this does not
# affect any conda command or functionality other than the output of the
# command 'conda list'. The default is True.
use_pip: False
# Proxy settings: http://[username]:[password]@[server]:[port]. By default,
# proxy settings are pulled from the HTTP_PROXY and HTTPS_PROXY environment
# variables. If you do not include the username and password, of if
# authentication fails, conda will prompt for a username and password.
proxy_servers:
http: http://user:[email protected]:8080
https: https://user:[email protected]:8080
#############################################################################
# Disable ssl verification. The default is True.
ssl_verify: False
# Filters out all channels URLs which do not start with 'file:'. The default
# is False.
offline: True
# Alias to use for non-url channels used with the -c flag. The default is
# https://conda.anaconda.org/
channel_alias: https://your.repo/
# Package specifications to disallow installing. The default is to allow all
# packages.
disallow:
- anaconda
# When the channel alias is anaconda.org or an Anaconda Server GUI, this will
# use the anaconda command line client (which can be installed with 'conda
# install anaconda-client') to automatically add the token to the channel urls, so
# that you can see private packages. The default is True, but it is only
# enabled if the anaconda command line client is installed and you are logged
# in ('anaconda login').
add_anaconda_token: False
# Directories in which environments are located. If this key is set, the root
# prefix envs dir is not used unless explicitly included. This key also
# determines where the package caches will be located. For each envs here,
# envs/.pkgs will be used as the pkgs cache, except for the standard envs
# directory in the root directory, for which the normal root_dir/pkgs is used.
# The CONDA_ENVS_PATH environment variable, which is a colon separated list,
# allows overwriting this setting here.
envs_dirs:
- ~/my-envs
- /opt/anaconda/envs
#############################################################################
# Disallow soft-linking. When this is True, conda uses hard-links when
# possible, and soft-links (i.e., symlinks) when hard-links are not possible
# (e.g., when installing on another filesystem). When this is False, conda
# still uses hard-links when possible, but when they are not possible, it
# copies files. Note that individual packages may specify that specific files
# should never be soft-linked, independent of this option (see the no_link
# option in the build recipe documentation). The default is True.
allow_softlinks: False
# When creating new environments add these packages by default. You can
# override this option with the --no-default-packages flag. The default is not
# to include any packages.
create_default_packages:
- python
- pip
# Enable certain features to be tracked by default. The default is to not
# track any features.
track_features:
# This is similar to adding 'mkl' to the create_default_packages list.
- mkl
#############################################################################
# Conda Build Options
# Automatically upload packages built with conda build to anaconda.org. The
# default is False.
anaconda_upload: True
# Build output root directory. (default <CONDA_PREFIX>/conda-bld/, or
# ~/conda-bld if you do not have write permissions to
# <CONDA_PREFIX>/conda-bld) This can also be set with the CONDA_BLD_PATH
# environment variable.
conda-build:
root-dir: ~/conda-builds