-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
setup.py
46 lines (42 loc) · 1.57 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_include']
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_include",
version=__version__,
author="Md. Jahidul Hamid",
author_email="[email protected]",
description="Python Markdown extension to include local or remote files",
license="BSD",
keywords="markdown include local remote file",
url="https://github.com/neurobin/mdx_include",
packages=["mdx_include"],
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", "rcslice>=1.1.0", "cyclic"],
test_suite="mdx_include.test.test")