delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2020/08/09/11:23:45

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 2DB083857C69
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1596986579;
bh=egI7R2SG0IOhCP2nV/LOxd/JlGjZejUgHYFj2JdTLKM=;
h=Subject:To:References:Date:In-Reply-To:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc:
From;
b=vpy6fmQZjwpaVpRw1vDQ6xnJwQ1ipWRyvah1FGr6Sjat/A0P9fJ5foCNWJueOfxKQ
wix7vmVIuKq6vBRv4j/53MQFeA3hYEv0p8CLo89PgiCLYM7+VykYX7nOLvffuW1ob2
DXEmSXOa/Vp6wRDrbb3pX//ysjC/J5bFRtIG8dmY=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org C26323857C50
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20161025;
h=x-gm-message-state:subject:to:cc:references:from:message-id:date
:user-agent:mime-version:in-reply-to:content-language
:content-transfer-encoding;
bh=0jITMvORR0AimQVbpeNN0QKszF8oTUJ2s6SMEvv0JoM=;
b=csAXJi1bfZGjOEW53nxmHZB2Y0lm9sCHpqms8WuFel6J4tRlQZkSarfAyBE1DGSCLI
K5trWKHMA6Hh0fYMBmJ/YWUaV358LumtNT7NSjP4FJ0WFPysq9RU424oKSJzhSepnoza
ZCX21NvdiQ/iMju7UpTXWhYIzX4In2MWGKLarOm+fKOsNMWSdWjnFCPqj95a00eqGAjZ
Z8Yp12Zfr7ai6Kiui9GfJQTK+O2ewaz1yMgAIq2P/yIoQewFiQIQbvJT8kJsN7tXrG+n
cRGtmX4/gFWxDfZ+cZIViAWV46kanUr1Be47lki6IyMyDfRf5iuZ2ebdHXKKa0AKPwje
9EcQ==
X-Gm-Message-State: AOAM531hnfVf+jwAmkyHkTvq2k8iIVMgHVcD2ScClhCrO7XZE/Nw6AEP
a3oz1W9J6IQUZP3mhc9WUjxM9C2UyiE=
X-Google-Smtp-Source: ABdhPJxCZhIRZHugSY+EUSSsPZ9IVyG5jR5LIB+YVAKRifW+JLB/hNIsmO+TtErMO28EqIuadiU5MQ==
X-Received: by 2002:adf:9ec5:: with SMTP id b5mr19562237wrf.190.1596986574491;
Sun, 09 Aug 2020 08:22:54 -0700 (PDT)
Subject: Re: Missing 'sphinx-build' command from python37-sphinx package
To: Xavier Delaruelle <xavier DOT delaruelle AT gmail DOT com>
References: <CAExoBLuHG2=Y5wMW0dJQD4zV1Jms29Qz_3kEQh8mbuD3s4NKEw AT mail DOT gmail DOT com>
<dda513be-8097-e0d7-eed1-0f08a9b6d6f5 AT gmail DOT com>
<DB7PR02MB3996B71344049C4A30D84BE3E7460 AT DB7PR02MB3996 DOT eurprd02 DOT prod DOT outlook DOT com>
<CAExoBLsyh7OPUHBqCB9U9Oq6+xkLxQ8mA4Z5JMiwW8yczBjUTw AT mail DOT gmail DOT com>
Message-ID: <0b776916-a68d-56c4-0b2f-306413f21587@gmail.com>
Date: Sun, 9 Aug 2020 17:22:51 +0200
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101
Thunderbird/68.11.0
MIME-Version: 1.0
In-Reply-To: <CAExoBLsyh7OPUHBqCB9U9Oq6+xkLxQ8mA4Z5JMiwW8yczBjUTw@mail.gmail.com>
X-Spam-Status: No, score=-0.9 required=5.0 tests=BAYES_00, DKIM_SIGNED,
DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, NICE_REPLY_A,
RCVD_IN_BARRACUDACENTRAL, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS,
TXREP autolearn=no autolearn_force=no version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on
server2.sourceware.org
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: Marco Atzeri via Cygwin <cygwin AT cygwin DOT com>
Reply-To: Marco Atzeri <marco DOT atzeri AT gmail DOT com>
Cc: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
Errors-To: cygwin-bounces AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces AT cygwin DOT com>

On 09.08.2020 10:38, Xavier Delaruelle wrote:
> If command names are versioned it is important to get a consistent way 
> for users to install THE package that provides the 'sphinx-build' 
> command (the one without version reference in the name). Without having 
> to search which specific package provides this command and without 
> having to update this package reference when a new minor version of 
> Python is added.
> 
> Xavier
> 

Hi Xavier,

next upload will use "alternatives" to provide the simlinks
so depending which version you install the default version is the
highest, but you can modify if needed.

$ alternatives --display sphinx-build
sphinx-build - status is auto.
  link currently points to /usr/bin/sphinx-build-3.8
/usr/bin/sphinx-build-3.6 - priority 36
/usr/bin/sphinx-build-3.7 - priority 37
/usr/bin/sphinx-build-3.8 - priority 38
Current `best' version is /usr/bin/sphinx-build-3.8.

  $ /usr/bin/sphinx-build-3.8
usage: sphinx-build-3.8 [OPTIONS] SOURCEDIR OUTPUTDIR [FILENAMES...]
sphinx-build-3.8: error: the following arguments are required: 
sourcedir, outputdir, filenames

$ /usr/bin/sphinx-build
usage: sphinx-build [OPTIONS] SOURCEDIR OUTPUTDIR [FILENAMES...]
sphinx-build: error: the following arguments are required: sourcedir, 
outputdir, filenames

Regards
Marco
--
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019