Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.maint.python > #8468

Re: python-mkdocs new dependancy

Path csiph.com!weretis.net!feeder4.news.weretis.net!newsfeed.CARNet.hr!news.spin.it!bofh.it!news.nic.it!robomod
From Dmitry Shachnev <mitya57@debian.org>
Newsgroups linux.debian.maint.python
Subject Re: python-mkdocs new dependancy
Date Sun, 24 Apr 2016 15:00:02 +0200
Message-ID <rrrNM-4B5-3@gated-at.bofh.it> (permalink)
References <rmUdI-6ik-3@gated-at.bofh.it> <rn2bf-49J-1@gated-at.bofh.it> <rp6aK-5eY-3@gated-at.bofh.it> <rpcSR-2jV-13@gated-at.bofh.it> <rr0Xg-8tB-9@gated-at.bofh.it>
X-Original-To debian-python@lists.debian.org
X-Mailbox-Line From debian-python-request@lists.debian.org Sun Apr 24 12:50:47 2016
Old-Return-Path <mitya57@gmail.com>
X-Amavis-Spam-Status No, score=-12.149 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, FOURLA=0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FORGED_FROMDOMAIN=0.199, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.001, LDO_WHITELIST=-5, MURPHY_DRUGS_REL8=0.02, PGPSIGNATURE=-5, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01] autolearn=ham autolearn_force=no
X-Policyd-Weight DYN_NJABL=ERR(0) NOT_IN_SBL_XBL_SPAMHAUS=-1.5 BL_NJABL=ERR(-1.5) CL_IP_EQ_HELO_IP=-2 (check from: .gmail. - helo: .mail-lf0-f47.google. - helo-domain: .google.) FROM/MX_MATCHES_HELO(DOMAIN)=-2; rate: -7
X-Google-Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=FWd/FidJAtIe6ELwfqbbd7UZzMTmCEuzcoH1ryBtTjw=; b=gKRlqK6UNureHcmmm3/uxtlpuOxN52kUsriApqA4aWx0LwpZKNXZwCGWg1Gxt8jlWs RP5tSxPnsJ9T/nFv3VVPb9msiyPKa1xBXhPpQduDi5OSWxnCuXZvEVD51Pql12kRnmAy 2AO2GQb7Z/DBo81/Hx+ZNK3MJZSsn6bbRdfetYY3kUwK7nGJEPStAhBrJ9YIHOuVx61a tsE/omdvQZ9Y544CtY8BMlIxkre3u4WP2Lw4MAKViAUYMKaoIvlhRoKZUJkigyqf+jML c3Y80mOCKntHBLfoQqx5RLc8y0lyS+YHSJpvS6ugS79DkP4/5XYVDdU2b3OZFvCsKKpf 7Qig==
X-Gm-Message-State AOPr4FWmSZKnJTj/IxAwc/EtHfYzdozZB7cCGsvoCUymjOcyZAOZpYbf5WBUJC5AQRCtcw==
X-Received by 10.25.76.68 with SMTP id z65mr3253483lfa.49.1461502222357; Sun, 24 Apr 2016 05:50:22 -0700 (PDT)
MIME-Version 1.0
Content-Type multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="TRYliJ5NKNqkz5bu"
Content-Disposition inline
User-Agent Mutt/1.5.24 (2015-08-30)
X-Mailing-List <debian-python@lists.debian.org> archive/latest/13796
List-ID <debian-python.lists.debian.org>
List-URL <https://lists.debian.org/debian-python/>
List-Archive https://lists.debian.org/msgid-search/20160424125019.GB11769@mitya57.me
Approved robomod@news.nic.it
Lines 55
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Date Sun, 24 Apr 2016 15:50:19 +0300
X-Original-Message-ID <20160424125019.GB11769@mitya57.me>
X-Original-References <87fuuradnc.fsf@prune.linuxpenguins.xyz> <20160412084805.GH2764@sar0.p1otr.com> <87vb3f4sga.fsf@prune.linuxpenguins.xyz> <20160418083919.GU2764@sar0.p1otr.com> <87k2jozqng.fsf@prune.linuxpenguins.xyz>
Xref csiph.com linux.debian.maint.python:8468

Show key headers only | View raw


[Multipart message — attachments visible in raw view] - view raw

Hi Brian,

On Sat, Apr 23, 2016 at 06:16:19PM +1000, Brian May wrote:
> So I think it is probably a good idea to have three seperate Debian
> source packages and three seperate binary packages.
>
> It looks like both mkdocs-bootswatch and mkdocs-bootstrap contain
> non-Python code.
>
> So instead of installing these using pybuild/setup.py I could install
> them in /usr/share/mkdocs/themes/mkdocs-bootswatch and
> /usr/share/mkdocs/themes/mkdocs-bootstrap instead.
>
> Then I need to patch mkdocs to look for files in this directory instead
> of using Python's setuptools mechanism.
>
> Does this match what you are thinking?

Your plan LGTM, though I would still use setup.py to install the themes
(with passing appropriate --install-lib), to make sure that the egg-info
directory (with entry points declarations) is still installed.

And then patch mkdocs to add /usr/share/mkdocs/themes to sys.path like
Piotr suggested.

--
Dmitry Shachnev

Back to linux.debian.maint.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

python-mkdocs new dependancy Brian May <brian@linuxpenguins.xyz> - 2016-04-12 02:20 +0200
  Re: python-mkdocs new dependancy Piotr Ożarowski <piotr@debian.org> - 2016-04-12 10:50 +0200
    Re: python-mkdocs new dependancy Brian May <bam@debian.org> - 2016-04-18 03:30 +0200
      Re: python-mkdocs new dependancy Piotr Ożarowski <piotr@debian.org> - 2016-04-18 10:30 +0200
      Re: python-mkdocs new dependancy Piotr Ożarowski <piotr@debian.org> - 2016-04-18 10:40 +0200
        Re: python-mkdocs new dependancy Brian May <bam@debian.org> - 2016-04-23 10:20 +0200
          Re: python-mkdocs new dependancy Dmitry Shachnev <mitya57@debian.org> - 2016-04-24 15:00 +0200
            Re: python-mkdocs new dependancy Brian May <bam@debian.org> - 2016-05-02 08:50 +0200
              Re: python-mkdocs new dependancy Piotr Ożarowski <piotr@debian.org> - 2016-05-05 12:20 +0200
                Re: python-mkdocs new dependancy Brian May <bam@debian.org> - 2016-05-05 12:50 +0200
                Re: python-mkdocs new dependancy Brian May <bam@debian.org> - 2016-05-10 01:30 +0200
                Re: python-mkdocs new dependancy Piotr Ożarowski <piotr@debian.org> - 2016-05-10 12:20 +0200
                Re: python-mkdocs new dependancy Brian May <bam@debian.org> - 2016-05-11 03:40 +0200

csiph-web