summaryrefslogtreecommitdiff
path: root/setup.py
blob: 345febc1ee02e425caf31735947a87bb8c50770d (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/usr/bin/env python3
# SPDX-License-Identifier: CC0-1.0

# Copyright (C) 2022 Wojtek Kosior <koszko@koszko.org>
#
# Available under the terms of Creative Commons Zero v1.0 Universal.

import setuptools

from setuptools.command.build_py import build_py

class CustomBuildCommand(build_py):
    '''
    The build command but runs babel before build.
    '''
    def run(self, *args, **kwargs):
        self.run_command('compile_catalog')
        super().run(*args, **kwargs)

setuptools.setup(cmdclass={'build_py': CustomBuildCommand})
=v2.0&id=5acb2499c1df14d6275b1ad9e139f02d1280cb9c'>facilitate managing repository URLs in a list; minor other changesWojtek Kosior 2022-01-04fix license promise typoWojtek Kosior 2021-12-22reworked build system; added missing license noticesWojtek Kosior 2021-12-04finish implementing more efficient querying of URL patternsWojtek Kosior The algorithm is implemented and tested. However, it is yet to be hooked into the actual extension. 2021-12-03merge `master` (license notices) and `koszko` (v1.0 development)Wojtek Kosior 2021-12-03start implementing more efficient querying of URL patternsWojtek Kosior 2021-12-01improve unit testing approachWojtek Kosior Unit tests were moved to their own subdirectory. Fixtures common to many unit tests were moved to test/unit/conftest.py. A facility to execute scripts in page's global scope was added. A workaround was employed to present information about errors in injected scripts. Sample unit tests for regexes in common/patterns.js were added. 2021-10-30Fix license notices on JS and SH filesjahoti Other files have been left, as no model notice is available 2021-09-13rename the extension to "Haketilo"Wojtek Kosior 2021-09-10limit allowed pattern lengthsWojtek Kosior 2021-08-27add support for `ftp://' protocolWojtek Kosior 2021-08-27enable whitelisting of `file://' protocol\n\nThis commit additionally also ↵Wojtek Kosior changes the semantics of triple asterisk wildcard in URL path. 2021-07-19Refer to the extension consistently as "Hachette" and remove TODOS.orgjahoti from the copyright file 2021-07-06show some settings of the current page in the popupWojtek Kosior