Skip to content

Commit d766910

Browse files
committed
🐛 Fix missing d_mathjax_wrapper.js
1 parent 0bdbfb5 commit d766910

File tree

2 files changed

+13
-3
lines changed

2 files changed

+13
-3
lines changed

MANIFEST.in

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
include ./README.adoc
1+
include ./README.adoc
2+
include ./adoc_math/d_mathjax_wrapper.js

setup.py

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,18 @@
22

33
LICENSE = "ISC"
44
DIR = "adoc_math"
5-
VERSION = "1.0.0"
5+
VERSION = "1.0.1"
66
NAME = "adoc-math"
77
SETUP_DIR = "_setup"
88
README = "README.adoc"
99
AUTHOR = "Dominik Teiml"
1010
PYTHON_REQUIRES = ">=3.7"
11+
INCLUDE_PACKAGE_DATA = True
1112
DESCRIPTION = """Use MathJax (Latex or AsciiMath) in your AsciiDoc projects!"""
1213
# text/asciidoc is not supported
1314
# Ref: https://packaging.python.org/en/latest/specifications/core-metadata/#description-content-type
1415
LONG_DESCRIPTION_CONTENT_TYPE = "text/plain"
1516

16-
1717
extras_require = dict(
1818
tests=[
1919
"pytest >= 6.2.5, < 7.0.0",
@@ -26,6 +26,13 @@
2626
if "tests" not in some_dir.split(".")
2727
] + [DIR]
2828

29+
package_data = dict(
30+
NAME=[
31+
f"./{DIR}/**/*.py",
32+
f"./{DIR}/**/*.js",
33+
]
34+
)
35+
2936
entry_points = dict(
3037
console_scripts=[
3138
f"{NAME} = {DIR}.__main__:main",
@@ -46,8 +53,10 @@
4653
packages=packages,
4754
description=DESCRIPTION,
4855
entry_points=entry_points,
56+
package_data=package_data,
4957
extras_require=extras_require,
5058
python_requires=PYTHON_REQUIRES,
5159
long_description=long_description,
60+
include_package_data=INCLUDE_PACKAGE_DATA,
5261
long_description_content_type=LONG_DESCRIPTION_CONTENT_TYPE,
5362
)

0 commit comments

Comments
 (0)