Skip to content

Commit

Permalink
Skip setting the channels
Browse files Browse the repository at this point in the history
I don't think we need them, as we are already specifying them
in the commands.

Signed-off-by: Patrick Avery <[email protected]>
  • Loading branch information
psavery committed May 17, 2024
1 parent 0cf599a commit 61e00b1
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions packaging/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,19 +106,14 @@ def build_conda_pack(base_path, tmp, hexrd_package_channel, hexrdgui_output_fold
# First build the hexrdgui package
recipe_path = str(base_path / '..' / 'conda.recipe')
config = Config()
channels = ['conda-forge']
config.channel_urls = ['conda-forge']

if hexrdgui_output_folder is not None:
config.output_folder = hexrdgui_output_folder

if hexrd_package_channel is not None:
channels.insert(0, 'hexrd-channel')
config.channel_urls.insert(0, hexrd_package_channel)

# Set the channels on the conda context
conda.base.context.context.channels = channels

# Determine the latest hexrd version in the hexrd_package_channel
# (release or pre-release), and force that hexrd version to be used.
params = [
Expand Down

0 comments on commit 61e00b1

Please sign in to comment.