forked from FSX/misaka
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup_cython.py
39 lines (37 loc) · 1.23 KB
/
setup_cython.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
from distutils.core import setup, Extension
from Cython.Distutils import build_ext
setup(
name='misaka',
version='1.0.0b1',
description='A Python binding for Sundown, a markdown library.',
author='Frank Smit',
author_email='[email protected]',
url='http:https://misaka.61924.nl/',
license='MIT',
long_description=open('README.txt').read(),
cmdclass = {'build_ext': build_ext},
ext_modules=[Extension('misaka', [
'src/misaka.pyx',
'src/wrapper.c',
'src/sundown/stack.c',
'src/sundown/buffer.c',
'src/sundown/markdown.c',
'src/sundown/html.c',
'src/sundown/html_smartypants.c',
'src/sundown/houdini_href_e.c',
'src/sundown/houdini_html_e.c',
'src/sundown/autolink.c'
])],
classifiers = [
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Programming Language :: C',
'Programming Language :: Cython',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.2',
'Topic :: Text Processing :: Markup',
'Topic :: Text Processing :: Markup :: HTML',
'Topic :: Utilities'
]
)