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


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

python-mkdocs new dependancy

Path csiph.com!aioe.org!bofh.it!news.nic.it!robomod
From Brian May <brian@linuxpenguins.xyz>
Newsgroups linux.debian.maint.python
Subject python-mkdocs new dependancy
Date Tue, 12 Apr 2016 02:20:02 +0200
Message-ID <rmUdI-6ik-3@gated-at.bofh.it> (permalink)
X-Original-To debian-python@lists.debian.org
X-Mailbox-Line From debian-python-request@lists.debian.org Tue Apr 12 00:13:01 2016
Old-Return-Path <brian@linuxpenguins.xyz>
X-Amavis-Spam-Status No, score=-7.6 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, FOURLA=0.1, LDO_WHITELIST=-5, RCVD_IN_DNSWL_LOW=-0.7] 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_FROM_MX=-3.1; rate: -6.1
MIME-Version 1.0
Content-Type text/plain
X-Mailing-List <debian-python@lists.debian.org> archive/latest/13742
List-ID <debian-python.lists.debian.org>
List-URL <https://lists.debian.org/debian-python/>
List-Archive https://lists.debian.org/msgid-search/87fuuradnc.fsf@prune.linuxpenguins.xyz
Approved robomod@news.nic.it
Lines 42
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Date Tue, 12 Apr 2016 10:12:23 +1000
X-Original-Message-ID <87fuuradnc.fsf@prune.linuxpenguins.xyz>
Xref csiph.com linux.debian.maint.python:8415

Show key headers only | View raw


Hello,

When building python-mkdocs from git source I get this error:

LANG=C.UTF-8 PYTHONPATH=. ./debian/scripts/mkdocs build
Traceback (most recent call last):
  File "./debian/scripts/mkdocs", line 7, in <module>
    from mkdocs.__main__ import cli
  File "/<<PKGBUILDDIR>>/mkdocs/__main__.py", line 77, in <module>
    theme_choices = utils.get_theme_names()
  File "/<<PKGBUILDDIR>>/mkdocs/utils/__init__.py", line 382, in get_theme_names
    return get_themes().keys()
  File "/<<PKGBUILDDIR>>/mkdocs/utils/__init__.py", line 374, in get_themes
    for name, theme in themes.items())
  File "/<<PKGBUILDDIR>>/mkdocs/utils/__init__.py", line 374, in <genexpr>
    for name, theme in themes.items())
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2201, in load
    self.require(*args, **kwargs)
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2218, in require
    items = working_set.resolve(reqs, env, installer)
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 830, in resolve
    raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'mkdocs-bootswatch>=0.1.0' distribution was not found and is required by the application
debian/rules:12: recipe for target 'override_dh_auto_build' failed

The python-mkdocs-bootswatch package is distributed as a python module
but doesn't contain python code. It appears to contain HTML and CSS
themes for mkdocs.

What is the appropriate fix? Should I create a new mkdocs-bootswatch
package? Or should I try to somehow incooporate it into the
python-mkdocs package (not sure pybuild/git-dpm supports this?)

I think the package is only useful for mkdocs.

I am somewhat uneasy creating a python3-mkdocs-bootswatch and a
python-mkdocs-bootswatch wouldn't even get used.

Any ideas how to resolve this?
-- 
Brian May <brian@linuxpenguins.xyz>
https://linuxpenguins.xyz/brian/

Back to linux.debian.maint.python | Previous | NextNext 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