* [devel] %python_libdir
@ 2011-11-30 6:26 REAL
0 siblings, 0 replies; only message in thread
From: REAL @ 2011-11-30 6:26 UTC (permalink / raw)
To: ALT Linux Team development discussions
Привет!
А чем обосновано вот такое?
/.out/pypy-1.7-alt1.hg20111122.x86_64.rpm: python files inside
%python_libdir can be placed only in %python_sitelibdir,
%python_tooldir and %python_dynlibdir
sisyphus_check: check-python ERROR: python modules packaging violation
hsh-rebuild: pkg.tar: sisyphus_check failed.
Дело в том, что pypy ищет файлы в зависимости от того, где он
находится. Если положить его в %python_libdir, питоньи модули он будет
искать там, где и положено: в %python_libdir/site-packages, а вот если
засунуть его в другое место, то нас ждёт облом :(
PS. http://pypy.readthedocs.org/en/latest/getting-started-python.html#id16
--
REAL aka Евгений Ростовцев, программист ЦНИТ КемГУ
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2011-11-30 6:26 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-11-30 6:26 [devel] %python_libdir REAL
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