-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
setup.py
executable file
·46 lines (40 loc) · 1.12 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
#!/usr/bin/env python3
"""
MUP: Markup previewer
:copyright: 2012-2014 Aurélien Gâteau.
:license: BSD.
"""
import os
from setuptools import setup
import mup
DESCRIPTION = "Markup previewer"
CONVERTERS_DIR = 'share/mup/converters'
CONVERTERS = [os.path.join(CONVERTERS_DIR, x) for x in os.listdir(CONVERTERS_DIR) if x.endswith(".yaml")]
setup(name=mup.__appname__,
version=mup.__version__,
description=DESCRIPTION,
author="Aurélien Gâteau",
author_email="mail@agateau.com",
license=mup.__license__,
platforms=["any"],
url="http://github.com/agateau/mup",
install_requires=["pyxdg"],
packages=["mup", "mup.converters"],
package_data={
"mup": ["data/*.html"],
},
data_files=[
('share/applications', ['share/applications/mup.desktop']),
('share/mup/converters', CONVERTERS),
],
entry_points={
"console_scripts": [
"mup-gh-markdown = mup.converters.ghmarkdown:main",
"mup-man = mup.converters.man:main",
],
"gui_scripts": [
"mup = mup.main:main",
"mupman = mup.mupman:main",
]
}
)