markdown-up 2.6.2__tar.gz → 2.6.4__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (20) hide show
  1. {markdown_up-2.6.2/src/markdown_up.egg-info → markdown_up-2.6.4}/PKG-INFO +3 -3
  2. {markdown_up-2.6.2 → markdown_up-2.6.4}/setup.cfg +3 -3
  3. {markdown_up-2.6.2 → markdown_up-2.6.4}/src/markdown_up/main.py +5 -1
  4. {markdown_up-2.6.2 → markdown_up-2.6.4/src/markdown_up.egg-info}/PKG-INFO +3 -3
  5. markdown_up-2.6.4/src/markdown_up.egg-info/requires.txt +3 -0
  6. markdown_up-2.6.2/src/markdown_up.egg-info/requires.txt +0 -3
  7. {markdown_up-2.6.2 → markdown_up-2.6.4}/LICENSE +0 -0
  8. {markdown_up-2.6.2 → markdown_up-2.6.4}/README.md +0 -0
  9. {markdown_up-2.6.2 → markdown_up-2.6.4}/pyproject.toml +0 -0
  10. {markdown_up-2.6.2 → markdown_up-2.6.4}/src/markdown_up/__init__.py +0 -0
  11. {markdown_up-2.6.2 → markdown_up-2.6.4}/src/markdown_up/__main__.py +0 -0
  12. {markdown_up-2.6.2 → markdown_up-2.6.4}/src/markdown_up/api.py +0 -0
  13. {markdown_up-2.6.2 → markdown_up-2.6.4}/src/markdown_up/app.py +0 -0
  14. {markdown_up-2.6.2 → markdown_up-2.6.4}/src/markdown_up/static/__init__.py +0 -0
  15. {markdown_up-2.6.2 → markdown_up-2.6.4}/src/markdown_up/static/index.html +0 -0
  16. {markdown_up-2.6.2 → markdown_up-2.6.4}/src/markdown_up/static/markdownUpIndex.bare +0 -0
  17. {markdown_up-2.6.2 → markdown_up-2.6.4}/src/markdown_up.egg-info/SOURCES.txt +0 -0
  18. {markdown_up-2.6.2 → markdown_up-2.6.4}/src/markdown_up.egg-info/dependency_links.txt +0 -0
  19. {markdown_up-2.6.2 → markdown_up-2.6.4}/src/markdown_up.egg-info/entry_points.txt +0 -0
  20. {markdown_up-2.6.2 → markdown_up-2.6.4}/src/markdown_up.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: markdown-up
3
- Version: 2.6.2
3
+ Version: 2.6.4
4
4
  Summary: MarkdownUp is a Markdown viewer
5
5
  Home-page: https://github.com/craigahobbs/markdown-up-py
6
6
  Author: Craig A. Hobbs
@@ -18,8 +18,8 @@ Classifier: Programming Language :: Python :: 3.14
18
18
  Classifier: Topic :: Utilities
19
19
  Description-Content-Type: text/markdown
20
20
  License-File: LICENSE
21
- Requires-Dist: bare-script>=3.8.0
22
- Requires-Dist: chisel>=1.9.0
21
+ Requires-Dist: bare-script<4.0.0,>=3.8.0
22
+ Requires-Dist: chisel<2.0.0,>=1.9.0
23
23
  Requires-Dist: waitress>=3.0.0
24
24
  Dynamic: license-file
25
25
 
@@ -1,6 +1,6 @@
1
1
  [metadata]
2
2
  name = markdown-up
3
- version = 2.6.2
3
+ version = 2.6.4
4
4
  url = https://github.com/craigahobbs/markdown-up-py
5
5
  author = Craig A. Hobbs
6
6
  author_email = craigahobbs@gmail.com
@@ -25,8 +25,8 @@ packages = markdown_up, markdown_up.static
25
25
  package_dir =
26
26
  = src
27
27
  install_requires =
28
- bare-script >= 3.8.0
29
- chisel >= 1.9.0
28
+ bare-script >= 3.8.0, < 4.0.0
29
+ chisel >= 1.9.0, < 2.0.0
30
30
  waitress >= 3.0.0
31
31
 
32
32
  [options.entry_points]
@@ -9,6 +9,7 @@ import argparse
9
9
  from functools import partial
10
10
  import json
11
11
  import os
12
+ import sys
12
13
  import threading
13
14
  import webbrowser
14
15
 
@@ -24,7 +25,10 @@ def main(argv=None):
24
25
  """
25
26
 
26
27
  # Command line arguments
27
- parser = argparse.ArgumentParser(prog='markdown-up')
28
+ argument_parser_args = {'prog': 'markdown-up'}
29
+ if sys.version_info >= (3, 14): # pragma: no cover
30
+ argument_parser_args['color'] = False
31
+ parser = argparse.ArgumentParser(**argument_parser_args)
28
32
  parser.add_argument('path', nargs='?', default='.',
29
33
  help='the file or directory to view (default is ".")')
30
34
  parser.add_argument('-p', '--port', metavar='N', type=int, default=8080,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: markdown-up
3
- Version: 2.6.2
3
+ Version: 2.6.4
4
4
  Summary: MarkdownUp is a Markdown viewer
5
5
  Home-page: https://github.com/craigahobbs/markdown-up-py
6
6
  Author: Craig A. Hobbs
@@ -18,8 +18,8 @@ Classifier: Programming Language :: Python :: 3.14
18
18
  Classifier: Topic :: Utilities
19
19
  Description-Content-Type: text/markdown
20
20
  License-File: LICENSE
21
- Requires-Dist: bare-script>=3.8.0
22
- Requires-Dist: chisel>=1.9.0
21
+ Requires-Dist: bare-script<4.0.0,>=3.8.0
22
+ Requires-Dist: chisel<2.0.0,>=1.9.0
23
23
  Requires-Dist: waitress>=3.0.0
24
24
  Dynamic: license-file
25
25
 
@@ -0,0 +1,3 @@
1
+ bare-script<4.0.0,>=3.8.0
2
+ chisel<2.0.0,>=1.9.0
3
+ waitress>=3.0.0
@@ -1,3 +0,0 @@
1
- bare-script>=3.8.0
2
- chisel>=1.9.0
3
- waitress>=3.0.0
File without changes
File without changes
File without changes