1 From 165ee1f4c1208636254392335d34934dc50d273e Mon Sep 17 00:00:00 2001
2 From: ppenguin <hieronymusv@gmail.com>
3 Date: Tue, 15 Mar 2022 23:15:07 +0100
4 Subject: [PATCH] fix setup.py to work in nixpkgs
7 setup.py | 13 ++-----------
8 1 file changed, 2 insertions(+), 11 deletions(-)
10 diff --git a/setup.py b/setup.py
11 index d705846..d7345a2 100644
16 author='Thomas J. Duck',
17 author_email='tomduck@tomduck.ca',
18 - description='Equation number filter for pandoc',
19 + description='Section number filter for pandoc',
20 long_description=DESCRIPTION,
22 - keywords='pandoc equation numbers filter',
23 + keywords='pandoc section numbers filter',
24 url='https://github.com/tomduck/pandoc-secnos',
25 download_url='https://github.com/tomduck/pandoc-secnos/tarball/' + \
28 'Programming Language :: Python'
32 -# Check that the pandoc-secnos script is on the PATH
33 -if not shutil.which('pandoc-secnos'):
35 - ERROR: `pandoc-secnos` script not found. This will need to
36 - be corrected. If you need help, please file an Issue at
37 - https://github.com/tomduck/pandoc-secnos/issues.\n"""
38 - print(textwrap.dedent(msg))