-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
executable file
·36 lines (34 loc) · 1.19 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
from distutils.core import setup
from distutils.extension import Extension
try:
from Cython.Distutils import build_ext
useCython = True
except:
useCython = False
setup(
name = "DragonCreole",
packages = ["dragoncreole"],
version = "0.2.5",
description = "Optimized parser for creole-like markup language",
author = "Zauber Paracelsus",
author_email = "[email protected]",
url = "http://github.com/zauberparacelsus/dragoncreole",
download_url = "https://github.com/zauberparacelsus/dragoncreole/tarball/0.2.5",
keywords = ["parser", "markup", "html"],
install_requires= [
'html2text'
],
classifiers = [
"Programming Language :: Python",
"Development Status :: 4 - Beta",
"Environment :: Other Environment",
"Intended Audience :: Developers",
"License :: OSI Approved :: Mozilla Public License 2.0 (MPL 2.0)",
"Operating System :: OS Independent",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Text Processing :: Markup :: HTML"
],
long_description = "",
cmdclass = ({"build_ext": build_ext} if useCython == True else {}),
ext_modules = ([Extension("dragoncreole.DragonCreoleC", ["dragoncreole/dragoncreole.py"])] if useCython == True else [])
)