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


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

Re: python-mkdocs new dependancy

From Dmitry Shachnev <mitya57@debian.org>
Newsgroups linux.debian.maint.python
Subject Re: python-mkdocs new dependancy
Date 2016-04-24 15:00 +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>
Organization linux.* mail to news gateway

Show all headers | 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