-
Notifications
You must be signed in to change notification settings - Fork 106
/
Copy pathsetup.py
executable file
·60 lines (51 loc) · 1.79 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
49
50
51
52
53
54
55
56
57
58
59
60
#!/usr/bin/env python
# coding: utf-8
"""_
# Mdv installation
## Usage
[sudo] ./setup.py install
----
"""
import os
import io
from setuptools import setup, find_packages
version = '1.7.5'
with io.open(os.path.join(os.path.dirname(__file__), 'README.md'), encoding='utf-8') as fd:
md = fd.read()
# images hack for pypi:
gh = 'https://raw.githubusercontent.com/axiros/terminal_markdown_viewer/master'
md = md.replace('src="./', 'src="%s/' % gh)
setup(
name='mdv',
version=version,
packages=find_packages(),
author='Axiros GmbH',
author_email='[email protected]',
description='Terminal Markdown Viewer',
install_requires=['pygments', 'markdown'],
extras_require={'yaml': 'pyyaml'},
long_description=md,
long_description_content_type='text/markdown',
include_package_data=True,
url='http://github.com/axiros/terminal_markdown_viewer',
download_url='http://github.com/axiros/terminal_markdown_viewer/tarball/',
keywords=['markdown', 'markup', 'terminal', 'hilighting', 'syntax', 'source code',],
tests_require=['pytest'],
classifiers=[
'Programming Language :: Python',
'Natural Language :: English',
'Operating System :: POSIX',
'Topic :: Text Processing :: Markup',
'License :: OSI Approved :: BSD License',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
],
entry_points={'console_scripts': ['mdv = mdv:run']},
)