markdown-up 2.0.1__tar.gz → 2.1.1__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.0.1 → markdown_up-2.1.1}/PKG-INFO +2 -3
  2. {markdown_up-2.0.1 → markdown_up-2.1.1}/setup.cfg +2 -4
  3. {markdown_up-2.0.1 → markdown_up-2.1.1}/src/markdown_up/app.py +1 -15
  4. {markdown_up-2.0.1 → markdown_up-2.1.1}/src/markdown_up/static/markdownUpIndex.bare +1 -1
  5. {markdown_up-2.0.1 → markdown_up-2.1.1}/src/markdown_up.egg-info/PKG-INFO +2 -3
  6. {markdown_up-2.0.1 → markdown_up-2.1.1}/src/markdown_up.egg-info/SOURCES.txt +0 -1
  7. markdown_up-2.1.1/src/markdown_up.egg-info/requires.txt +2 -0
  8. markdown_up-2.0.1/src/markdown_up/static/markdown-up.tar.gz +0 -0
  9. markdown_up-2.0.1/src/markdown_up.egg-info/requires.txt +0 -2
  10. {markdown_up-2.0.1 → markdown_up-2.1.1}/LICENSE +0 -0
  11. {markdown_up-2.0.1 → markdown_up-2.1.1}/README.md +0 -0
  12. {markdown_up-2.0.1 → markdown_up-2.1.1}/pyproject.toml +0 -0
  13. {markdown_up-2.0.1 → markdown_up-2.1.1}/src/markdown_up/__init__.py +0 -0
  14. {markdown_up-2.0.1 → markdown_up-2.1.1}/src/markdown_up/__main__.py +0 -0
  15. {markdown_up-2.0.1 → markdown_up-2.1.1}/src/markdown_up/main.py +0 -0
  16. {markdown_up-2.0.1 → markdown_up-2.1.1}/src/markdown_up/static/__init__.py +0 -0
  17. {markdown_up-2.0.1 → markdown_up-2.1.1}/src/markdown_up/static/index.html +0 -0
  18. {markdown_up-2.0.1 → markdown_up-2.1.1}/src/markdown_up.egg-info/dependency_links.txt +0 -0
  19. {markdown_up-2.0.1 → markdown_up-2.1.1}/src/markdown_up.egg-info/entry_points.txt +0 -0
  20. {markdown_up-2.0.1 → markdown_up-2.1.1}/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.0.1
3
+ Version: 2.1.1
4
4
  Summary: The MarkdownUp launcher
5
5
  Home-page: https://github.com/craigahobbs/markdown-up-py
6
6
  Author: Craig A. Hobbs
@@ -9,7 +9,6 @@ License: MIT
9
9
  Keywords: Markdown,viewer
10
10
  Classifier: Development Status :: 5 - Production/Stable
11
11
  Classifier: Intended Audience :: Developers
12
- Classifier: License :: OSI Approved :: MIT License
13
12
  Classifier: Operating System :: OS Independent
14
13
  Classifier: Programming Language :: Python :: 3.9
15
14
  Classifier: Programming Language :: Python :: 3.10
@@ -19,7 +18,7 @@ Classifier: Programming Language :: Python :: 3.13
19
18
  Classifier: Topic :: Utilities
20
19
  Description-Content-Type: text/markdown
21
20
  License-File: LICENSE
22
- Requires-Dist: chisel<1.4.0,>=1.3.7
21
+ Requires-Dist: chisel>=1.4.0
23
22
  Requires-Dist: waitress>=3.0.0
24
23
  Dynamic: license-file
25
24
 
@@ -1,6 +1,6 @@
1
1
  [metadata]
2
2
  name = markdown-up
3
- version = 2.0.1
3
+ version = 2.1.1
4
4
  url = https://github.com/craigahobbs/markdown-up-py
5
5
  author = Craig A. Hobbs
6
6
  author_email = craigahobbs@gmail.com
@@ -12,7 +12,6 @@ keywords = Markdown, viewer
12
12
  classifiers =
13
13
  Development Status :: 5 - Production/Stable
14
14
  Intended Audience :: Developers
15
- License :: OSI Approved :: MIT License
16
15
  Operating System :: OS Independent
17
16
  Programming Language :: Python :: 3.9
18
17
  Programming Language :: Python :: 3.10
@@ -26,7 +25,7 @@ packages = markdown_up, markdown_up.static
26
25
  package_dir =
27
26
  = src
28
27
  install_requires =
29
- chisel >= 1.3.7, < 1.4.0
28
+ chisel >= 1.4.0
30
29
  waitress >= 3.0.0
31
30
 
32
31
  [options.entry_points]
@@ -37,7 +36,6 @@ console_scripts =
37
36
  markdown_up =
38
37
  static/*.bare
39
38
  static/*.html
40
- static/*.tar.gz
41
39
 
42
40
  [egg_info]
43
41
  tag_build =
@@ -10,7 +10,6 @@ from http import HTTPStatus
10
10
  import importlib.resources
11
11
  import os
12
12
  from pathlib import PurePosixPath
13
- import tarfile
14
13
 
15
14
  import chisel
16
15
 
@@ -28,7 +27,7 @@ class MarkdownUpApplication(chisel.Application):
28
27
  self.root = root
29
28
 
30
29
  # Add the chisel documentation application
31
- self.add_requests(chisel.create_doc_requests(markdown_up='../markdown-up/'))
30
+ self.add_requests(chisel.create_doc_requests())
32
31
 
33
32
  # Add the markdown-up APIs
34
33
  self.add_request(markdown_up_index)
@@ -37,19 +36,6 @@ class MarkdownUpApplication(chisel.Application):
37
36
  self.add_static('index.html', urls=(('GET', '/'),))
38
37
  self.add_static('markdownUpIndex.bare')
39
38
 
40
- # Markdown-Up application statics
41
- with importlib.resources.files('markdown_up.static').joinpath('markdown-up.tar.gz').open('rb') as tgz:
42
- with tarfile.open(fileobj=tgz, mode='r:gz') as tar:
43
- for member in tar.getmembers():
44
- if member.isfile():
45
- self.add_request(chisel.StaticRequest(
46
- member.name,
47
- tar.extractfile(member).read(),
48
- content_type=_CONTENT_TYPES.get(os.path.splitext(member.name)[1], 'text/plain; charset=utf-8'),
49
- urls=(('GET', None),),
50
- doc_group='MarkdownUp Statics'
51
- ))
52
-
53
39
 
54
40
  def add_static(self, filename, urls=(('GET', None),), doc_group='MarkdownUp Index Statics'):
55
41
  content_type = _CONTENT_TYPES.get(os.path.splitext(filename)[1], 'text/plain; charset=utf-8')
@@ -1,7 +1,7 @@
1
1
  # Licensed under the MIT License
2
2
  # https://github.com/craigahobbs/markdown-up/blob/main/LICENSE
3
3
 
4
- include <args.mds>
4
+ include <args.bare>
5
5
 
6
6
 
7
7
  #
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: markdown-up
3
- Version: 2.0.1
3
+ Version: 2.1.1
4
4
  Summary: The MarkdownUp launcher
5
5
  Home-page: https://github.com/craigahobbs/markdown-up-py
6
6
  Author: Craig A. Hobbs
@@ -9,7 +9,6 @@ License: MIT
9
9
  Keywords: Markdown,viewer
10
10
  Classifier: Development Status :: 5 - Production/Stable
11
11
  Classifier: Intended Audience :: Developers
12
- Classifier: License :: OSI Approved :: MIT License
13
12
  Classifier: Operating System :: OS Independent
14
13
  Classifier: Programming Language :: Python :: 3.9
15
14
  Classifier: Programming Language :: Python :: 3.10
@@ -19,7 +18,7 @@ Classifier: Programming Language :: Python :: 3.13
19
18
  Classifier: Topic :: Utilities
20
19
  Description-Content-Type: text/markdown
21
20
  License-File: LICENSE
22
- Requires-Dist: chisel<1.4.0,>=1.3.7
21
+ Requires-Dist: chisel>=1.4.0
23
22
  Requires-Dist: waitress>=3.0.0
24
23
  Dynamic: license-file
25
24
 
@@ -14,5 +14,4 @@ src/markdown_up.egg-info/requires.txt
14
14
  src/markdown_up.egg-info/top_level.txt
15
15
  src/markdown_up/static/__init__.py
16
16
  src/markdown_up/static/index.html
17
- src/markdown_up/static/markdown-up.tar.gz
18
17
  src/markdown_up/static/markdownUpIndex.bare
@@ -0,0 +1,2 @@
1
+ chisel>=1.4.0
2
+ waitress>=3.0.0
@@ -1,2 +0,0 @@
1
- chisel<1.4.0,>=1.3.7
2
- waitress>=3.0.0
File without changes
File without changes
File without changes