-
Notifications
You must be signed in to change notification settings - Fork 59
/
setup.cfg
121 lines (107 loc) · 3.36 KB
/
setup.cfg
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
# -*- coding: utf-8 -*-
#
# This file is part of Invenio.
# Copyright (C) 2016-2020 CERN.
# Copyright (C) 2022-2024 Graz University of Technology.
# Copyright (C) 2023 Northwestern University.
#
# Invenio is free software; you can redistribute it and/or modify it
# under the terms of the MIT License; see LICENSE file for more details.
[metadata]
name = invenio-previewer
version = attr: invenio_previewer.__version__
description = Invenio module for previewing files.
long_description = file: README.rst, CHANGES.rst
keywords = invenio previewer
license = MIT
author = CERN
author_email = [email protected]
platforms = any
url = https://github.com/inveniosoftware/invenio-previewer
classifiers =
Development Status :: 5 - Production/Stable
[options]
include_package_data = True
packages = find:
python_requires = >=3.7
zip_safe = False
install_requires =
charset_normalizer>=3.3.2
invenio-assets>=4.0.0,<5.0.0
invenio-base>=2.0.0,<3.0.0
invenio-formatter>=3.0.0,<4.0.0
invenio-i18n>=3.0.0,<4.0.0
invenio-pidstore>=2.0.0,<3.0.0
invenio-records-ui>=2.0.0,<3.0.0
mistune>=0.8.1
nbconvert>=7,<8
nbformat>=5.1,<6.0
lxml-html-clean>=0.1.1
[options.extras_require]
tests =
pytest-black-ng>=0.4.0
pytest-invenio>=3.0.0,<4.0.0
invenio-app>=2.0.0,<3.0.0
invenio-config>=1.0.3
invenio-db[postgresql,versioning]>=2.0.0,<3.0.0
invenio-files-rest>=3.0.0,<4.0.0
invenio-records-files>=1.2.1
invenio-theme>=4.0.0,<5.0.0
mock>=1.3.0
sphinx>=4.5
# Kept for backwards compatibility
docs =
files =
invenio-files-rest>=1.3.2
invenio-records-files>=1.2.1
[options.entry_points]
invenio_base.apps =
invenio_previewer = invenio_previewer:InvenioPreviewer
invenio_i18n.translations =
messages = invenio_previewer
invenio_assets.webpack =
invenio_previewer_theme = invenio_previewer.webpack:previewer
invenio_previewer.previewers =
csv_papaparsejs = invenio_previewer.extensions.csv_papaparsejs
json_prismjs = invenio_previewer.extensions.json_prismjs
simple_image = invenio_previewer.extensions.simple_image
xml_prismjs = invenio_previewer.extensions.xml_prismjs
mistune = invenio_previewer.extensions.mistune
txt = invenio_previewer.extensions.txt
pdfjs = invenio_previewer.extensions.pdfjs
zip = invenio_previewer.extensions.zip
ipynb = invenio_previewer.extensions.ipynb
default = invenio_previewer.extensions.default
audio_videojs = invenio_previewer.extensions.audio_videojs
video_videojs = invenio_previewer.extensions.video_videojs
[build_sphinx]
source-dir = docs/
build-dir = docs/_build
all_files = 1
[bdist_wheel]
universal = 1
[compile_catalog]
directory = invenio_previewer/translations/
use-fuzzy = True
[extract_messages]
copyright_holder = CERN
msgid_bugs_address = [email protected]
mapping-file = babel.ini
output-file = invenio_previewer/translations/messages.pot
add-comments = NOTE
[init_catalog]
input-file = invenio_previewer/translations/messages.pot
output-dir = invenio_previewer/translations/
[pydocstyle]
add_ignore = D401
[update_catalog]
input-file = invenio_previewer/translations/messages.pot
output-dir = invenio_previewer/translations/
[isort]
profile=black
[check-manifest]
ignore =
*-requirements.txt
[tool:pytest]
addopts = --black --isort --pydocstyle --cov=invenio_previewer --cov-report=term-missing
testpaths = tests invenio_previewer