/
setup.py
executable file
·48 lines (46 loc) · 1.76 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
47
48
from setuptools import setup, find_packages
with open('README.md') as readme_file:
long_description = readme_file.read()
with open('LICENSE.txt') as license_file:
license = license_file.read()
setup(
name='tagtomarkdown',
version='0.4.0',
description='Python3 markdown extension for converting tags to Markdown table',
long_description=long_description,
long_description_content_type='text/markdown',
install_requires=['markdown'],
py_modules=['tagtomarkdown'],
author='Christian Hauris Sorensen',
author_email='chrhauris@hotmail.com',
url='https://github.com/chrhauris/tagtomarkdown',
license=license,
keywords='Markdown MkDocs tables',
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Documentation',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Topic :: Text Processing',
],
data_files=[
('sample', ['sample/produceHtml.py', 'sample/README.txt',
'sample/doc/book.json', 'sample/doc/mkdocs.yml',
'sample/doc/docs/Page1.md', 'sample/doc/docs/css/extra.css',
'sample/doc/site/Page1.html']
)
],
# markdown.extensions is for Python Markdown and MkDocs
# console_scripts is for getting the product's version number using these commands:
# import tagtomarkdown
# print(tagtomarkdown.version())
#
entry_points={
'markdown.extensions': ['tagtomarkdown = tagtomarkdown:TableTagExtension'],
'console_scripts': ['version = tagtomarkdown:version']
}
)