-
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathsetup.py
46 lines (42 loc) · 1.56 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
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
import os
import sys
from codecs import open
from setuptools import setup
sys.path[0:0] = ['mdx_wikilink_plus']
from version import __version__
def get_readme(filename):
content = ""
try:
with open(os.path.join(os.path.dirname(__file__), filename), 'r', encoding='utf-8') as readme:
content = readme.read()
except Exception as e:
pass
return content
setup(name="mdx_wikilink_plus",
version=__version__,
author="Md. Jahidul Hamid",
author_email="[email protected]",
description="A wikilink extension for Python Markdown",
license="BSD",
keywords="markdown wikilinks wikilink wikilink_plus",
url="https://github.com/neurobin/mdx_wikilink_plus",
packages=["mdx_wikilink_plus"],
long_description=get_readme("README.md"),
long_description_content_type="text/markdown",
classifiers=[
# See: https://pypi.python.org/pypi?:action=list_classifiers
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'Intended Audience :: Information Technology',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 3',
'Topic :: Text Processing :: Filters',
'Topic :: Text Processing :: Markup',
],
install_requires=["Markdown>=2.6",],
test_suite="mdx_wikilink_plus.test")