From: "Антон Мидюков" <midyukov-anton@ya.ru> To: devel@lists.altlinux.org Subject: Re: [devel] Упаковка python-приложение Date: Thu, 7 Jul 2016 17:30:33 +0700 Message-ID: <ee8679c4-72fa-1e11-71a8-a715613fca09@ya.ru> (raw) In-Reply-To: <CANM4RuiTAJZnFR1LiXS71nrXU462v3T+YOo8i97xC03CRHxdpQ@mail.gmail.com> 07.07.2016 15:41, Eugene Prokopiev пишет: > Здравствуйте! > > Покажите пожалуйста на примере > http://git.altlinux.org/people/enp/packages/webvirtmgr.git показать, в > чем моя ошибка в упаковке python-приложения? Секция files не прописана. Если это приложение, а не модуль, должен же быть и %_bindir ? > Основной вопрос: почему модули устанавливаются в > /usr/lib/python2.7/site-packages, однако при этом %python_sitelibdir > указывает на usr/lib64/python2.7/site-packages? Модуль noarch. Нужно указать BuildArch: noarch как в примере https://www.altlinux.org/SampleSpecs/pythonmodule > И требуется ли > python-module- в качестве префикса именно для приложения (а не для > модулей, которые могут быть кем-то еще использованы)? Для приложения не требуется указывать. Но вы можете подпакет модуля вынести, собрав его и с python и с python3. Вот вам пример: https://packages.altlinux.org/en/Sisyphus/srpms/youtube-dl/spec -- С уважением Антон Мидюков <antohami@altlinux.org>
next prev parent reply other threads:[~2016-07-07 10:30 UTC|newest] Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top 2016-07-07 8:41 Eugene Prokopiev 2016-07-07 9:38 ` Ivan Zakharyaschev 2016-07-07 10:34 ` Eugene Prokopiev 2016-07-07 11:35 ` Ivan Zakharyaschev 2016-07-08 6:43 ` Eugene Prokopiev 2016-07-08 10:20 ` Ivan Zakharyaschev 2016-07-08 10:27 ` Alexey Shabalin 2016-11-29 18:45 ` Alexey Shabalin 2016-11-30 7:59 ` Eugene Prokopiev 2016-12-08 14:45 ` Alexey Shabalin 2016-12-09 6:57 ` Eugene Prokopiev 2016-12-09 13:17 ` Alexey Shabalin 2016-12-09 13:50 ` Eugene Prokopiev 2016-12-09 14:34 ` Alexey Shabalin 2016-12-10 18:12 ` Eugene Prokopiev 2016-07-07 10:30 ` Антон Мидюков [this message] 2016-07-07 10:40 ` Eugene Prokopiev
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=ee8679c4-72fa-1e11-71a8-a715613fca09@ya.ru \ --to=midyukov-anton@ya.ru \ --cc=devel@lists.altlinux.org \ /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