ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Andrey Orlov <cray@neural.ru>
To: ALT Devel discussion list <devel@altlinux.ru>
Subject: Re: [devel] Исправлены некоторые баги в rpm-build-python
Date: Sun, 27 Jun 2004 21:57:12 +0400
Message-ID: <200406272157.12280.cray@neural.ru> (raw)
In-Reply-To: <200406271941.10143.lav@altlinux.ru>

On Sunday 27 June 2004 19:41, Vitaly Lipatov wrote:
> On Sunday 27 June 2004 18:34, Andrey Orlov wrote:
> А как обеспечить поиск зависимостей программы, если она лежит в 
> bin и файл не имеет расширения py?

Если честно - то никак. Я бы рекомендовал сделать три вещи:

1. Переложить программу в /usr/lib/pythonN.M/tools

2. Переименовать ее, так чбы расширение было py

3. Положить в bin симлинк.

Я всегда пользуюсь таким решением, так как это дает целый ряд преимуществ:

1. Решается (так или иначе) проблема альтернативной установки при сборке для 
разных версий питона.

2. Возможно размещение специфический библиотек в одном каталоге с телом программы,
правда, в этом случае программу лучше класть на уровень ниже:
 
" /usr/lib/pythonN.M/tools/" <ИМЯ> "/" <ИМЯ> ".py"

Есть и другие удобства.



-- 
WthBstRgrds -- Андрей Орлов --  
 --- http: www.neural.ru, mail: cray@neural.ru, jid: cray@altlinux.org ---
----------------------------------------


  reply	other threads:[~2004-06-27 17:57 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-06-27 14:34 Andrey Orlov
2004-06-27 15:41 ` Vitaly Lipatov
2004-06-27 17:57   ` Andrey Orlov [this message]
2004-06-27 18:22     ` Andrey Orlov
2004-06-27 18:01 ` Dmitry V. Levin
2004-06-27 18:20   ` Andrey Orlov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200406272157.12280.cray@neural.ru \
    --to=cray@neural.ru \
    --cc=devel@altlinux.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git