Concern 33__tar.gz → 35__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: Concern
3
- Version: 33
3
+ Version: 35
4
4
  Summary: Control pym2149 (via Lurlene) or FoxDot using Vim
5
5
  Home-page: https://github.com/combatopera/Concern
6
6
  Author: Andrzej Cichocki
@@ -8,6 +8,7 @@ Author-email: 3613868+combatopera@users.noreply.github.com
8
8
  Description-Content-Type: text/markdown
9
9
  License-File: COPYING
10
10
  Requires-Dist: aridity>=84
11
+ Requires-Dist: foyndation>=10
11
12
  Requires-Dist: lagoon>=50
12
13
  Requires-Dist: timelyOSC>=4
13
14
 
@@ -1,3 +1,4 @@
1
1
  aridity>=84
2
+ foyndation>=10
2
3
  lagoon>=50
3
4
  timelyOSC>=4
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: Concern
3
- Version: 33
3
+ Version: 35
4
4
  Summary: Control pym2149 (via Lurlene) or FoxDot using Vim
5
5
  Home-page: https://github.com/combatopera/Concern
6
6
  Author: Andrzej Cichocki
@@ -8,6 +8,7 @@ Author-email: 3613868+combatopera@users.noreply.github.com
8
8
  Description-Content-Type: text/markdown
9
9
  License-File: COPYING
10
10
  Requires-Dist: aridity>=84
11
+ Requires-Dist: foyndation>=10
11
12
  Requires-Dist: lagoon>=50
12
13
  Requires-Dist: timelyOSC>=4
13
14
 
@@ -17,10 +17,10 @@
17
17
 
18
18
  'Vim-based live coding environment.'
19
19
  from . import templates
20
- from .util import initlogging
21
20
  from argparse import ArgumentParser
22
21
  from aridity.config import ConfigCtrl
23
- from aridity.util import openresource
22
+ from foyndation import initlogging
23
+ from importlib.resources import files
24
24
  from lagoon.util import wrappercli
25
25
  from pathlib import Path
26
26
  from screen import stuffablescreen
@@ -45,8 +45,9 @@ def main():
45
45
  configdir.mkdir(parents = True, exist_ok = True)
46
46
  with TemporaryDirectory(dir = configdir) as sessiondir:
47
47
  config.sessiondir = sessiondir
48
+ parent = files(templates.__spec__.parent)
48
49
  for c in config.T:
49
- with openresource(templates.__name__, c.templatename) as f:
50
+ with (parent / c.templatename).open(encoding = 'ascii') as f:
50
51
  (-c.context).processtemplate(f, c.P)
51
52
  stuffablescreen(config.doubleQuoteKey)[print]('-S', config.sessionName, '-c', config.T.screenrc.P)
52
53
 
@@ -18,14 +18,11 @@
18
18
  from aridity.model import Number, Text
19
19
  from struct import Struct
20
20
  from termios import TIOCGWINSZ
21
- import fcntl, logging, os, sys
21
+ import fcntl, os, sys
22
22
 
23
23
  PYTHONPATH = os.pathsep.join(sys.path[1:]) # XXX: Include first entry?
24
24
  winsize = Struct('HHHH')
25
25
 
26
- def initlogging():
27
- logging.basicConfig(format = "%(asctime)s %(levelname)s %(message)s", level = logging.DEBUG)
28
-
29
26
  def toabswidth(scope, resolvable):
30
27
  ws_col = winsize.unpack(fcntl.ioctl(sys.stdin, TIOCGWINSZ, bytes(winsize.size)))[1]
31
28
  return Number(round(resolvable.resolve(scope).scalar * (ws_col - 1))) # Take off 1 for the separator.
@@ -49,13 +49,13 @@ class SourceInfo:
49
49
  sourceinfo = SourceInfo('.')
50
50
  setup(
51
51
  name = 'Concern',
52
- version = '33',
52
+ version = '35',
53
53
  description = 'Control pym2149 (via Lurlene) or FoxDot using Vim',
54
54
  url = 'https://github.com/combatopera/Concern',
55
55
  author = 'Andrzej Cichocki',
56
56
  author_email = '3613868+combatopera@users.noreply.github.com',
57
57
  py_modules = [],
58
- install_requires = ['aridity>=84', 'lagoon>=50', 'timelyOSC>=4'],
58
+ install_requires = ['aridity>=84', 'foyndation>=10', 'lagoon>=50', 'timelyOSC>=4'],
59
59
  package_data = {'': ['*.pxd', '*.pyx', '*.pyxbld', '*.arid', '*.aridt']},
60
60
  entry_points = {'console_scripts': ['Concern=concern.Concern:main']},
61
61
  **sourceinfo.setup_kwargs(),
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes