-
Notifications
You must be signed in to change notification settings - Fork 28
Expand file tree
/
Copy pathsetup.py
More file actions
21 lines (17 loc) · 759 Bytes
/
setup.py
File metadata and controls
21 lines (17 loc) · 759 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/usr/bin/env python
from distutils.core import setup
import glob
from pathlib import Path
revealjsdata = glob.glob("mdslides/reveal.js/**", recursive=True)
highlightjsdata = glob.glob("mdslides/cdn-release/**", recursive=True)
katexdata = glob.glob("mdslides/KaTeX/**", recursive=True)
mdslidesdata = revealjsdata + katexdata + highlightjsdata + ["mdslides/index_template.html"]
mdslidesdata = [str(Path(p).relative_to("mdslides")) for p in mdslidesdata]
setup(name='MarkdownSlides',
python_requires='>=3.8',
version='1.6',
description='Write modern slides with markdown.',
packages=['mdslides'],
entry_points={'console_scripts': ['mdslides=mdslides.__main__:main']},
package_data={'mdslides': mdslidesdata},
)