-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsetup.py
55 lines (52 loc) · 1.85 KB
/
setup.py
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
# caption - Manage markdown captions
#
# Copyright (c) 2020-2023 flywire
# Copyright (c) 2023 sanzoghenzo
# forked from yafg - https://git.sr.ht/~ferruck/yafg
# Copyright (c) 2019 Philipp Trommler
#
# SPDX-License-Identifier: GPL-3.0-or-later
import setuptools
with open("README.md", "r") as fh:
long_description = fh.read()
with open("requirements.txt", "r") as fh:
requirements = fh.read().splitlines()
setuptools.setup(
author="flywire",
author_email="[email protected]",
classifiers=[
"Development Status :: 4 - Beta",
"Environment :: Plugins",
"Intended Audience :: Developers",
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: Implementation :: CPython",
"Topic :: Documentation",
"Topic :: Text Processing :: Markup",
],
description="Manage markdown captions extension",
entry_points={
"markdown.extensions": [
"caption = caption:CaptionExtension",
"image_captions = caption:ImageCaptionExtension",
"table_captions = caption:TableCaptionExtension",
]
},
install_requires=requirements,
keywords="markdown image figure caption html a11y",
license="GPLv3+",
long_description=long_description,
long_description_content_type="text/markdown",
maintainer="flywire",
maintainer_email="[email protected]",
name="caption",
packages=setuptools.find_packages(),
python_requires=">=2.7.15, >=3, <4",
url="https://github.com/flywire/caption",
version="0.2.3",
)