feat: Introduce executable build for Onyx CLI, add its source, and implement new tests.
This commit is contained in:
1 parent
e498031f10
commit
af43694c98
33 files changed
+862
-22978
No files matched your search
@@ -0,0 +1,3 @@
|
|||||||
|
default_vault: test
|
||||||
|
vaults:
|
||||||
|
test: C:/Users/oli/Documents/o/Resources/repos/Onyx - obsidian cli tool/test_vault_newline
|
||||||
@@ -8,7 +8,7 @@ You can build a standalone Windows executable using PyInstaller:
|
|||||||
|
|
||||||
```bash
|
```bash
|
||||||
pip install pyinstaller
|
pip install pyinstaller
|
||||||
pyinstaller --onefile --name onyx src/onyx.py
|
python -m PyInstaller onyx.spec
|
||||||
```
|
```
|
||||||
|
|
||||||
The resulting `onyx.exe` will be found in the `dist` folder.
|
The resulting `onyx.exe` will be found in the `dist` folder.
|
||||||
|
|||||||
File diff suppressed because it is too large.
Load diff
@@ -1,158 +0,0 @@
|
|||||||
('C:\\Users\\oli\\Documents\\o\\Resources\\repos\\Onyx - obsidian cli '
|
|
||||||
'tool\\dist\\obsidian_cli.exe',
|
|
||||||
True,
|
|
||||||
False,
|
|
||||||
False,
|
|
||||||
'C:\\Users\\oli\\Documents\\o\\Resources\\repos\\Onyx - obsidian cli '
|
|
||||||
'tool\\.venv\\Lib\\site-packages\\PyInstaller\\bootloader\\images\\icon-console.ico',
|
|
||||||
None,
|
|
||||||
False,
|
|
||||||
False,
|
|
||||||
b'<?xml version="1.0" encoding="UTF-8" standalone="yes"?>\n<assembly xmlns='
|
|
||||||
b'"urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">\n <trustInfo x'
|
|
||||||
b'mlns="urn:schemas-microsoft-com:asm.v3">\n <security>\n <requested'
|
|
||||||
b'Privileges>\n <requestedExecutionLevel level="asInvoker" uiAccess='
|
|
||||||
b'"false"/>\n </requestedPrivileges>\n </security>\n </trustInfo>\n '
|
|
||||||
b'<compatibility xmlns="urn:schemas-microsoft-com:compatibility.v1">\n <'
|
|
||||||
b'application>\n <supportedOS Id="{e2011457-1546-43c5-a5fe-008deee3d3f'
|
|
||||||
b'0}"/>\n <supportedOS Id="{35138b9a-5d96-4fbd-8e2d-a2440225f93a}"/>\n '
|
|
||||||
b' <supportedOS Id="{4a2f28e3-53b9-4441-ba9c-d69d4a4a6e38}"/>\n <s'
|
|
||||||
b'upportedOS Id="{1f676c76-80e1-4239-95bb-83d0f6d0da78}"/>\n <supporte'
|
|
||||||
b'dOS Id="{8e0f7a12-bfb3-4fe8-b9a5-48fd50a15a9a}"/>\n </application>\n <'
|
|
||||||
b'/compatibility>\n <application xmlns="urn:schemas-microsoft-com:asm.v3">'
|
|
||||||
b'\n <windowsSettings>\n <longPathAware xmlns="http://schemas.micros'
|
|
||||||
b'oft.com/SMI/2016/WindowsSettings">true</longPathAware>\n </windowsSett'
|
|
||||||
b'ings>\n </application>\n <dependency>\n <dependentAssembly>\n <ass'
|
|
||||||
b'emblyIdentity type="win32" name="Microsoft.Windows.Common-Controls" version='
|
|
||||||
b'"6.0.0.0" processorArchitecture="*" publicKeyToken="6595b64144ccf1df" langua'
|
|
||||||
b'ge="*"/>\n </dependentAssembly>\n </dependency>\n</assembly>',
|
|
||||||
True,
|
|
||||||
False,
|
|
||||||
None,
|
|
||||||
None,
|
|
||||||
None,
|
|
||||||
'C:\\Users\\oli\\Documents\\o\\Resources\\repos\\Onyx - obsidian cli '
|
|
||||||
'tool\\build\\obsidian_cli\\obsidian_cli.pkg',
|
|
||||||
[('pyi-contents-directory _internal', '', 'OPTION'),
|
|
||||||
('PYZ-00.pyz',
|
|
||||||
'C:\\Users\\oli\\Documents\\o\\Resources\\repos\\Onyx - obsidian cli '
|
|
||||||
'tool\\build\\obsidian_cli\\PYZ-00.pyz',
|
|
||||||
'PYZ'),
|
|
||||||
('struct',
|
|
||||||
'C:\\Users\\oli\\Documents\\o\\Resources\\repos\\Onyx - obsidian cli '
|
|
||||||
'tool\\build\\obsidian_cli\\localpycs\\struct.pyc',
|
|
||||||
'PYMODULE'),
|
|
||||||
('pyimod01_archive',
|
|
||||||
'C:\\Users\\oli\\Documents\\o\\Resources\\repos\\Onyx - obsidian cli '
|
|
||||||
'tool\\build\\obsidian_cli\\localpycs\\pyimod01_archive.pyc',
|
|
||||||
'PYMODULE'),
|
|
||||||
('pyimod02_importers',
|
|
||||||
'C:\\Users\\oli\\Documents\\o\\Resources\\repos\\Onyx - obsidian cli '
|
|
||||||
'tool\\build\\obsidian_cli\\localpycs\\pyimod02_importers.pyc',
|
|
||||||
'PYMODULE'),
|
|
||||||
('pyimod03_ctypes',
|
|
||||||
'C:\\Users\\oli\\Documents\\o\\Resources\\repos\\Onyx - obsidian cli '
|
|
||||||
'tool\\build\\obsidian_cli\\localpycs\\pyimod03_ctypes.pyc',
|
|
||||||
'PYMODULE'),
|
|
||||||
('pyimod04_pywin32',
|
|
||||||
'C:\\Users\\oli\\Documents\\o\\Resources\\repos\\Onyx - obsidian cli '
|
|
||||||
'tool\\build\\obsidian_cli\\localpycs\\pyimod04_pywin32.pyc',
|
|
||||||
'PYMODULE'),
|
|
||||||
('pyiboot01_bootstrap',
|
|
||||||
'C:\\Users\\oli\\Documents\\o\\Resources\\repos\\Onyx - obsidian cli '
|
|
||||||
'tool\\.venv\\Lib\\site-packages\\PyInstaller\\loader\\pyiboot01_bootstrap.py',
|
|
||||||
'PYSOURCE'),
|
|
||||||
('pyi_rth_inspect',
|
|
||||||
'C:\\Users\\oli\\Documents\\o\\Resources\\repos\\Onyx - obsidian cli '
|
|
||||||
'tool\\.venv\\Lib\\site-packages\\PyInstaller\\hooks\\rthooks\\pyi_rth_inspect.py',
|
|
||||||
'PYSOURCE'),
|
|
||||||
('pyi_rth_setuptools',
|
|
||||||
'C:\\Users\\oli\\Documents\\o\\Resources\\repos\\Onyx - obsidian cli '
|
|
||||||
'tool\\.venv\\Lib\\site-packages\\PyInstaller\\hooks\\rthooks\\pyi_rth_setuptools.py',
|
|
||||||
'PYSOURCE'),
|
|
||||||
('pyi_rth_pkgutil',
|
|
||||||
'C:\\Users\\oli\\Documents\\o\\Resources\\repos\\Onyx - obsidian cli '
|
|
||||||
'tool\\.venv\\Lib\\site-packages\\PyInstaller\\hooks\\rthooks\\pyi_rth_pkgutil.py',
|
|
||||||
'PYSOURCE'),
|
|
||||||
('pyi_rth_multiprocessing',
|
|
||||||
'C:\\Users\\oli\\Documents\\o\\Resources\\repos\\Onyx - obsidian cli '
|
|
||||||
'tool\\.venv\\Lib\\site-packages\\PyInstaller\\hooks\\rthooks\\pyi_rth_multiprocessing.py',
|
|
||||||
'PYSOURCE'),
|
|
||||||
('obsidian_cli',
|
|
||||||
'C:\\Users\\oli\\Documents\\o\\Resources\\repos\\Onyx - obsidian cli '
|
|
||||||
'tool\\src\\obsidian_cli.py',
|
|
||||||
'PYSOURCE'),
|
|
||||||
('python312.dll', 'C:\\Python312\\python312.dll', 'BINARY'),
|
|
||||||
('_multiprocessing.pyd',
|
|
||||||
'C:\\Python312\\DLLs\\_multiprocessing.pyd',
|
|
||||||
'EXTENSION'),
|
|
||||||
('_decimal.pyd', 'C:\\Python312\\DLLs\\_decimal.pyd', 'EXTENSION'),
|
|
||||||
('_hashlib.pyd', 'C:\\Python312\\DLLs\\_hashlib.pyd', 'EXTENSION'),
|
|
||||||
('select.pyd', 'C:\\Python312\\DLLs\\select.pyd', 'EXTENSION'),
|
|
||||||
('_socket.pyd', 'C:\\Python312\\DLLs\\_socket.pyd', 'EXTENSION'),
|
|
||||||
('_lzma.pyd', 'C:\\Python312\\DLLs\\_lzma.pyd', 'EXTENSION'),
|
|
||||||
('_bz2.pyd', 'C:\\Python312\\DLLs\\_bz2.pyd', 'EXTENSION'),
|
|
||||||
('pyexpat.pyd', 'C:\\Python312\\DLLs\\pyexpat.pyd', 'EXTENSION'),
|
|
||||||
('_ssl.pyd', 'C:\\Python312\\DLLs\\_ssl.pyd', 'EXTENSION'),
|
|
||||||
('_ctypes.pyd', 'C:\\Python312\\DLLs\\_ctypes.pyd', 'EXTENSION'),
|
|
||||||
('_queue.pyd', 'C:\\Python312\\DLLs\\_queue.pyd', 'EXTENSION'),
|
|
||||||
('_overlapped.pyd', 'C:\\Python312\\DLLs\\_overlapped.pyd', 'EXTENSION'),
|
|
||||||
('_asyncio.pyd', 'C:\\Python312\\DLLs\\_asyncio.pyd', 'EXTENSION'),
|
|
||||||
('_wmi.pyd', 'C:\\Python312\\DLLs\\_wmi.pyd', 'EXTENSION'),
|
|
||||||
('unicodedata.pyd', 'C:\\Python312\\DLLs\\unicodedata.pyd', 'EXTENSION'),
|
|
||||||
('yaml\\_yaml.cp312-win_amd64.pyd',
|
|
||||||
'C:\\Users\\oli\\Documents\\o\\Resources\\repos\\Onyx - obsidian cli '
|
|
||||||
'tool\\.venv\\Lib\\site-packages\\yaml\\_yaml.cp312-win_amd64.pyd',
|
|
||||||
'EXTENSION'),
|
|
||||||
('_uuid.pyd', 'C:\\Python312\\DLLs\\_uuid.pyd', 'EXTENSION'),
|
|
||||||
('VCRUNTIME140.dll', 'C:\\Python312\\VCRUNTIME140.dll', 'BINARY'),
|
|
||||||
('libcrypto-3.dll', 'C:\\Python312\\DLLs\\libcrypto-3.dll', 'BINARY'),
|
|
||||||
('libssl-3.dll', 'C:\\Python312\\DLLs\\libssl-3.dll', 'BINARY'),
|
|
||||||
('libffi-8.dll', 'C:\\Python312\\DLLs\\libffi-8.dll', 'BINARY'),
|
|
||||||
('VCRUNTIME140_1.dll', 'C:\\Python312\\VCRUNTIME140_1.dll', 'BINARY'),
|
|
||||||
('setuptools\\_vendor\\importlib_metadata-8.0.0.dist-info\\METADATA',
|
|
||||||
'C:\\Users\\oli\\Documents\\o\\Resources\\repos\\Onyx - obsidian cli '
|
|
||||||
'tool\\.venv\\Lib\\site-packages\\setuptools\\_vendor\\importlib_metadata-8.0.0.dist-info\\METADATA',
|
|
||||||
'DATA'),
|
|
||||||
('setuptools\\_vendor\\importlib_metadata-8.0.0.dist-info\\WHEEL',
|
|
||||||
'C:\\Users\\oli\\Documents\\o\\Resources\\repos\\Onyx - obsidian cli '
|
|
||||||
'tool\\.venv\\Lib\\site-packages\\setuptools\\_vendor\\importlib_metadata-8.0.0.dist-info\\WHEEL',
|
|
||||||
'DATA'),
|
|
||||||
('setuptools\\_vendor\\importlib_metadata-8.0.0.dist-info\\LICENSE',
|
|
||||||
'C:\\Users\\oli\\Documents\\o\\Resources\\repos\\Onyx - obsidian cli '
|
|
||||||
'tool\\.venv\\Lib\\site-packages\\setuptools\\_vendor\\importlib_metadata-8.0.0.dist-info\\LICENSE',
|
|
||||||
'DATA'),
|
|
||||||
('setuptools\\_vendor\\importlib_metadata-8.0.0.dist-info\\INSTALLER',
|
|
||||||
'C:\\Users\\oli\\Documents\\o\\Resources\\repos\\Onyx - obsidian cli '
|
|
||||||
'tool\\.venv\\Lib\\site-packages\\setuptools\\_vendor\\importlib_metadata-8.0.0.dist-info\\INSTALLER',
|
|
||||||
'DATA'),
|
|
||||||
('setuptools\\_vendor\\importlib_metadata-8.0.0.dist-info\\REQUESTED',
|
|
||||||
'C:\\Users\\oli\\Documents\\o\\Resources\\repos\\Onyx - obsidian cli '
|
|
||||||
'tool\\.venv\\Lib\\site-packages\\setuptools\\_vendor\\importlib_metadata-8.0.0.dist-info\\REQUESTED',
|
|
||||||
'DATA'),
|
|
||||||
('setuptools\\_vendor\\importlib_metadata-8.0.0.dist-info\\top_level.txt',
|
|
||||||
'C:\\Users\\oli\\Documents\\o\\Resources\\repos\\Onyx - obsidian cli '
|
|
||||||
'tool\\.venv\\Lib\\site-packages\\setuptools\\_vendor\\importlib_metadata-8.0.0.dist-info\\top_level.txt',
|
|
||||||
'DATA'),
|
|
||||||
('setuptools\\_vendor\\importlib_metadata-8.0.0.dist-info\\RECORD',
|
|
||||||
'C:\\Users\\oli\\Documents\\o\\Resources\\repos\\Onyx - obsidian cli '
|
|
||||||
'tool\\.venv\\Lib\\site-packages\\setuptools\\_vendor\\importlib_metadata-8.0.0.dist-info\\RECORD',
|
|
||||||
'DATA'),
|
|
||||||
('setuptools\\_vendor\\jaraco\\text\\Lorem ipsum.txt',
|
|
||||||
'C:\\Users\\oli\\Documents\\o\\Resources\\repos\\Onyx - obsidian cli '
|
|
||||||
'tool\\.venv\\Lib\\site-packages\\setuptools\\_vendor\\jaraco\\text\\Lorem '
|
|
||||||
'ipsum.txt',
|
|
||||||
'DATA'),
|
|
||||||
('base_library.zip',
|
|
||||||
'C:\\Users\\oli\\Documents\\o\\Resources\\repos\\Onyx - obsidian cli '
|
|
||||||
'tool\\build\\obsidian_cli\\base_library.zip',
|
|
||||||
'DATA')],
|
|
||||||
[],
|
|
||||||
False,
|
|
||||||
False,
|
|
||||||
1762310569,
|
|
||||||
[('run.exe',
|
|
||||||
'C:\\Users\\oli\\Documents\\o\\Resources\\repos\\Onyx - obsidian cli '
|
|
||||||
'tool\\.venv\\Lib\\site-packages\\PyInstaller\\bootloader\\Windows-64bit-intel\\run.exe',
|
|
||||||
'EXECUTABLE')],
|
|
||||||
'C:\\Python312\\python312.dll')
|
|
||||||
@@ -1,133 +0,0 @@
|
|||||||
('C:\\Users\\oli\\Documents\\o\\Resources\\repos\\Onyx - obsidian cli '
|
|
||||||
'tool\\build\\obsidian_cli\\obsidian_cli.pkg',
|
|
||||||
{'BINARY': True,
|
|
||||||
'DATA': True,
|
|
||||||
'EXECUTABLE': True,
|
|
||||||
'EXTENSION': True,
|
|
||||||
'PYMODULE': True,
|
|
||||||
'PYSOURCE': True,
|
|
||||||
'PYZ': False,
|
|
||||||
'SPLASH': True,
|
|
||||||
'SYMLINK': False},
|
|
||||||
[('pyi-contents-directory _internal', '', 'OPTION'),
|
|
||||||
('PYZ-00.pyz',
|
|
||||||
'C:\\Users\\oli\\Documents\\o\\Resources\\repos\\Onyx - obsidian cli '
|
|
||||||
'tool\\build\\obsidian_cli\\PYZ-00.pyz',
|
|
||||||
'PYZ'),
|
|
||||||
('struct',
|
|
||||||
'C:\\Users\\oli\\Documents\\o\\Resources\\repos\\Onyx - obsidian cli '
|
|
||||||
'tool\\build\\obsidian_cli\\localpycs\\struct.pyc',
|
|
||||||
'PYMODULE'),
|
|
||||||
('pyimod01_archive',
|
|
||||||
'C:\\Users\\oli\\Documents\\o\\Resources\\repos\\Onyx - obsidian cli '
|
|
||||||
'tool\\build\\obsidian_cli\\localpycs\\pyimod01_archive.pyc',
|
|
||||||
'PYMODULE'),
|
|
||||||
('pyimod02_importers',
|
|
||||||
'C:\\Users\\oli\\Documents\\o\\Resources\\repos\\Onyx - obsidian cli '
|
|
||||||
'tool\\build\\obsidian_cli\\localpycs\\pyimod02_importers.pyc',
|
|
||||||
'PYMODULE'),
|
|
||||||
('pyimod03_ctypes',
|
|
||||||
'C:\\Users\\oli\\Documents\\o\\Resources\\repos\\Onyx - obsidian cli '
|
|
||||||
'tool\\build\\obsidian_cli\\localpycs\\pyimod03_ctypes.pyc',
|
|
||||||
'PYMODULE'),
|
|
||||||
('pyimod04_pywin32',
|
|
||||||
'C:\\Users\\oli\\Documents\\o\\Resources\\repos\\Onyx - obsidian cli '
|
|
||||||
'tool\\build\\obsidian_cli\\localpycs\\pyimod04_pywin32.pyc',
|
|
||||||
'PYMODULE'),
|
|
||||||
('pyiboot01_bootstrap',
|
|
||||||
'C:\\Users\\oli\\Documents\\o\\Resources\\repos\\Onyx - obsidian cli '
|
|
||||||
'tool\\.venv\\Lib\\site-packages\\PyInstaller\\loader\\pyiboot01_bootstrap.py',
|
|
||||||
'PYSOURCE'),
|
|
||||||
('pyi_rth_inspect',
|
|
||||||
'C:\\Users\\oli\\Documents\\o\\Resources\\repos\\Onyx - obsidian cli '
|
|
||||||
'tool\\.venv\\Lib\\site-packages\\PyInstaller\\hooks\\rthooks\\pyi_rth_inspect.py',
|
|
||||||
'PYSOURCE'),
|
|
||||||
('pyi_rth_setuptools',
|
|
||||||
'C:\\Users\\oli\\Documents\\o\\Resources\\repos\\Onyx - obsidian cli '
|
|
||||||
'tool\\.venv\\Lib\\site-packages\\PyInstaller\\hooks\\rthooks\\pyi_rth_setuptools.py',
|
|
||||||
'PYSOURCE'),
|
|
||||||
('pyi_rth_pkgutil',
|
|
||||||
'C:\\Users\\oli\\Documents\\o\\Resources\\repos\\Onyx - obsidian cli '
|
|
||||||
'tool\\.venv\\Lib\\site-packages\\PyInstaller\\hooks\\rthooks\\pyi_rth_pkgutil.py',
|
|
||||||
'PYSOURCE'),
|
|
||||||
('pyi_rth_multiprocessing',
|
|
||||||
'C:\\Users\\oli\\Documents\\o\\Resources\\repos\\Onyx - obsidian cli '
|
|
||||||
'tool\\.venv\\Lib\\site-packages\\PyInstaller\\hooks\\rthooks\\pyi_rth_multiprocessing.py',
|
|
||||||
'PYSOURCE'),
|
|
||||||
('obsidian_cli',
|
|
||||||
'C:\\Users\\oli\\Documents\\o\\Resources\\repos\\Onyx - obsidian cli '
|
|
||||||
'tool\\src\\obsidian_cli.py',
|
|
||||||
'PYSOURCE'),
|
|
||||||
('python312.dll', 'C:\\Python312\\python312.dll', 'BINARY'),
|
|
||||||
('_multiprocessing.pyd',
|
|
||||||
'C:\\Python312\\DLLs\\_multiprocessing.pyd',
|
|
||||||
'EXTENSION'),
|
|
||||||
('_decimal.pyd', 'C:\\Python312\\DLLs\\_decimal.pyd', 'EXTENSION'),
|
|
||||||
('_hashlib.pyd', 'C:\\Python312\\DLLs\\_hashlib.pyd', 'EXTENSION'),
|
|
||||||
('select.pyd', 'C:\\Python312\\DLLs\\select.pyd', 'EXTENSION'),
|
|
||||||
('_socket.pyd', 'C:\\Python312\\DLLs\\_socket.pyd', 'EXTENSION'),
|
|
||||||
('_lzma.pyd', 'C:\\Python312\\DLLs\\_lzma.pyd', 'EXTENSION'),
|
|
||||||
('_bz2.pyd', 'C:\\Python312\\DLLs\\_bz2.pyd', 'EXTENSION'),
|
|
||||||
('pyexpat.pyd', 'C:\\Python312\\DLLs\\pyexpat.pyd', 'EXTENSION'),
|
|
||||||
('_ssl.pyd', 'C:\\Python312\\DLLs\\_ssl.pyd', 'EXTENSION'),
|
|
||||||
('_ctypes.pyd', 'C:\\Python312\\DLLs\\_ctypes.pyd', 'EXTENSION'),
|
|
||||||
('_queue.pyd', 'C:\\Python312\\DLLs\\_queue.pyd', 'EXTENSION'),
|
|
||||||
('_overlapped.pyd', 'C:\\Python312\\DLLs\\_overlapped.pyd', 'EXTENSION'),
|
|
||||||
('_asyncio.pyd', 'C:\\Python312\\DLLs\\_asyncio.pyd', 'EXTENSION'),
|
|
||||||
('_wmi.pyd', 'C:\\Python312\\DLLs\\_wmi.pyd', 'EXTENSION'),
|
|
||||||
('unicodedata.pyd', 'C:\\Python312\\DLLs\\unicodedata.pyd', 'EXTENSION'),
|
|
||||||
('yaml\\_yaml.cp312-win_amd64.pyd',
|
|
||||||
'C:\\Users\\oli\\Documents\\o\\Resources\\repos\\Onyx - obsidian cli '
|
|
||||||
'tool\\.venv\\Lib\\site-packages\\yaml\\_yaml.cp312-win_amd64.pyd',
|
|
||||||
'EXTENSION'),
|
|
||||||
('_uuid.pyd', 'C:\\Python312\\DLLs\\_uuid.pyd', 'EXTENSION'),
|
|
||||||
('VCRUNTIME140.dll', 'C:\\Python312\\VCRUNTIME140.dll', 'BINARY'),
|
|
||||||
('libcrypto-3.dll', 'C:\\Python312\\DLLs\\libcrypto-3.dll', 'BINARY'),
|
|
||||||
('libssl-3.dll', 'C:\\Python312\\DLLs\\libssl-3.dll', 'BINARY'),
|
|
||||||
('libffi-8.dll', 'C:\\Python312\\DLLs\\libffi-8.dll', 'BINARY'),
|
|
||||||
('VCRUNTIME140_1.dll', 'C:\\Python312\\VCRUNTIME140_1.dll', 'BINARY'),
|
|
||||||
('setuptools\\_vendor\\importlib_metadata-8.0.0.dist-info\\METADATA',
|
|
||||||
'C:\\Users\\oli\\Documents\\o\\Resources\\repos\\Onyx - obsidian cli '
|
|
||||||
'tool\\.venv\\Lib\\site-packages\\setuptools\\_vendor\\importlib_metadata-8.0.0.dist-info\\METADATA',
|
|
||||||
'DATA'),
|
|
||||||
('setuptools\\_vendor\\importlib_metadata-8.0.0.dist-info\\WHEEL',
|
|
||||||
'C:\\Users\\oli\\Documents\\o\\Resources\\repos\\Onyx - obsidian cli '
|
|
||||||
'tool\\.venv\\Lib\\site-packages\\setuptools\\_vendor\\importlib_metadata-8.0.0.dist-info\\WHEEL',
|
|
||||||
'DATA'),
|
|
||||||
('setuptools\\_vendor\\importlib_metadata-8.0.0.dist-info\\LICENSE',
|
|
||||||
'C:\\Users\\oli\\Documents\\o\\Resources\\repos\\Onyx - obsidian cli '
|
|
||||||
'tool\\.venv\\Lib\\site-packages\\setuptools\\_vendor\\importlib_metadata-8.0.0.dist-info\\LICENSE',
|
|
||||||
'DATA'),
|
|
||||||
('setuptools\\_vendor\\importlib_metadata-8.0.0.dist-info\\INSTALLER',
|
|
||||||
'C:\\Users\\oli\\Documents\\o\\Resources\\repos\\Onyx - obsidian cli '
|
|
||||||
'tool\\.venv\\Lib\\site-packages\\setuptools\\_vendor\\importlib_metadata-8.0.0.dist-info\\INSTALLER',
|
|
||||||
'DATA'),
|
|
||||||
('setuptools\\_vendor\\importlib_metadata-8.0.0.dist-info\\REQUESTED',
|
|
||||||
'C:\\Users\\oli\\Documents\\o\\Resources\\repos\\Onyx - obsidian cli '
|
|
||||||
'tool\\.venv\\Lib\\site-packages\\setuptools\\_vendor\\importlib_metadata-8.0.0.dist-info\\REQUESTED',
|
|
||||||
'DATA'),
|
|
||||||
('setuptools\\_vendor\\importlib_metadata-8.0.0.dist-info\\top_level.txt',
|
|
||||||
'C:\\Users\\oli\\Documents\\o\\Resources\\repos\\Onyx - obsidian cli '
|
|
||||||
'tool\\.venv\\Lib\\site-packages\\setuptools\\_vendor\\importlib_metadata-8.0.0.dist-info\\top_level.txt',
|
|
||||||
'DATA'),
|
|
||||||
('setuptools\\_vendor\\importlib_metadata-8.0.0.dist-info\\RECORD',
|
|
||||||
'C:\\Users\\oli\\Documents\\o\\Resources\\repos\\Onyx - obsidian cli '
|
|
||||||
'tool\\.venv\\Lib\\site-packages\\setuptools\\_vendor\\importlib_metadata-8.0.0.dist-info\\RECORD',
|
|
||||||
'DATA'),
|
|
||||||
('setuptools\\_vendor\\jaraco\\text\\Lorem ipsum.txt',
|
|
||||||
'C:\\Users\\oli\\Documents\\o\\Resources\\repos\\Onyx - obsidian cli '
|
|
||||||
'tool\\.venv\\Lib\\site-packages\\setuptools\\_vendor\\jaraco\\text\\Lorem '
|
|
||||||
'ipsum.txt',
|
|
||||||
'DATA'),
|
|
||||||
('base_library.zip',
|
|
||||||
'C:\\Users\\oli\\Documents\\o\\Resources\\repos\\Onyx - obsidian cli '
|
|
||||||
'tool\\build\\obsidian_cli\\base_library.zip',
|
|
||||||
'DATA')],
|
|
||||||
'python312.dll',
|
|
||||||
False,
|
|
||||||
False,
|
|
||||||
False,
|
|
||||||
[],
|
|
||||||
None,
|
|
||||||
None,
|
|
||||||
None)
|
|
||||||
Binary file not shown.
File diff suppressed because it is too large.
Load diff
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -1,53 +0,0 @@
|
|||||||
|
|
||||||
This file lists modules PyInstaller was not able to find. This does not
|
|
||||||
necessarily mean this module is required for running your program. Python and
|
|
||||||
Python 3rd-party packages include a lot of conditional or optional modules. For
|
|
||||||
example the module 'ntpath' only exists on Windows, whereas the module
|
|
||||||
'posixpath' only exists on Posix systems.
|
|
||||||
|
|
||||||
Types if import:
|
|
||||||
* top-level: imported at the top-level - look at these first
|
|
||||||
* conditional: imported within an if-statement
|
|
||||||
* delayed: imported within a function
|
|
||||||
* optional: imported within a try-except-statement
|
|
||||||
|
|
||||||
IMPORTANT: Do NOT post this list to the issue-tracker. Use it as a basis for
|
|
||||||
tracking down the missing module yourself. Thanks!
|
|
||||||
|
|
||||||
missing module named _posixshmem - imported by multiprocessing.resource_tracker (conditional), multiprocessing.shared_memory (conditional)
|
|
||||||
missing module named _frozen_importlib_external - imported by importlib._bootstrap (delayed), importlib (optional), importlib.abc (optional), zipimport (top-level)
|
|
||||||
excluded module named _frozen_importlib - imported by importlib (optional), importlib.abc (optional), zipimport (top-level)
|
|
||||||
missing module named pwd - imported by posixpath (delayed, conditional, optional), shutil (delayed, optional), tarfile (optional), pathlib (delayed, optional), subprocess (delayed, conditional, optional), setuptools._distutils.util (delayed, conditional, optional), netrc (delayed, conditional), getpass (delayed), setuptools._vendor.backports.tarfile (optional), setuptools._distutils.archive_util (optional), http.server (delayed, optional)
|
|
||||||
missing module named grp - imported by shutil (delayed, optional), tarfile (optional), pathlib (delayed, optional), subprocess (delayed, conditional, optional), setuptools._vendor.backports.tarfile (optional), setuptools._distutils.archive_util (optional)
|
|
||||||
missing module named posix - imported by os (conditional, optional), shutil (conditional), importlib._bootstrap_external (conditional), posixpath (optional)
|
|
||||||
missing module named resource - imported by posix (top-level)
|
|
||||||
missing module named _scproxy - imported by urllib.request (conditional)
|
|
||||||
missing module named termios - imported by getpass (optional), tty (top-level), click._termui_impl (conditional)
|
|
||||||
missing module named multiprocessing.BufferTooShort - imported by multiprocessing (top-level), multiprocessing.connection (top-level)
|
|
||||||
missing module named multiprocessing.AuthenticationError - imported by multiprocessing (top-level), multiprocessing.connection (top-level)
|
|
||||||
missing module named _posixsubprocess - imported by subprocess (conditional), multiprocessing.util (delayed)
|
|
||||||
missing module named multiprocessing.get_context - imported by multiprocessing (top-level), multiprocessing.pool (top-level), multiprocessing.managers (top-level), multiprocessing.sharedctypes (top-level)
|
|
||||||
missing module named multiprocessing.TimeoutError - imported by multiprocessing (top-level), multiprocessing.pool (top-level)
|
|
||||||
missing module named multiprocessing.set_start_method - imported by multiprocessing (top-level), multiprocessing.spawn (top-level)
|
|
||||||
missing module named multiprocessing.get_start_method - imported by multiprocessing (top-level), multiprocessing.spawn (top-level)
|
|
||||||
missing module named pyimod02_importers - imported by C:\Users\oli\Documents\o\Resources\repos\Onyx - obsidian cli tool\.venv\Lib\site-packages\PyInstaller\hooks\rthooks\pyi_rth_pkgutil.py (delayed)
|
|
||||||
missing module named typing_extensions.Buffer - imported by setuptools._vendor.typing_extensions (top-level), setuptools._vendor.wheel.wheelfile (conditional)
|
|
||||||
missing module named typing_extensions.Literal - imported by setuptools._vendor.typing_extensions (top-level), setuptools.config._validate_pyproject.formats (conditional)
|
|
||||||
missing module named typing_extensions.Self - imported by setuptools._vendor.typing_extensions (top-level), setuptools.config.expand (conditional), setuptools.config.pyprojecttoml (conditional), setuptools.config._validate_pyproject.error_reporting (conditional)
|
|
||||||
missing module named typing_extensions.deprecated - imported by setuptools._vendor.typing_extensions (top-level), setuptools._distutils.sysconfig (conditional), setuptools._distutils.command.bdist (conditional)
|
|
||||||
missing module named typing_extensions.TypeAlias - imported by setuptools._vendor.typing_extensions (top-level), setuptools._distutils.compilers.C.base (conditional), setuptools._reqs (conditional), setuptools.warnings (conditional), setuptools._path (conditional), setuptools._distutils.dist (conditional), setuptools.config.setupcfg (conditional), setuptools.config._apply_pyprojecttoml (conditional), setuptools.dist (conditional), setuptools.command.bdist_egg (conditional), setuptools.compat.py311 (conditional)
|
|
||||||
missing module named typing_extensions.Unpack - imported by setuptools._vendor.typing_extensions (top-level), setuptools._distutils.util (conditional), setuptools._distutils.compilers.C.base (conditional), setuptools._distutils.cmd (conditional)
|
|
||||||
missing module named typing_extensions.TypeVarTuple - imported by setuptools._vendor.typing_extensions (top-level), setuptools._distutils.util (conditional), setuptools._distutils.compilers.C.base (conditional), setuptools._distutils.cmd (conditional)
|
|
||||||
missing module named asyncio.DefaultEventLoopPolicy - imported by asyncio (delayed, conditional), asyncio.events (delayed, conditional)
|
|
||||||
missing module named vms_lib - imported by platform (delayed, optional)
|
|
||||||
missing module named 'java.lang' - imported by platform (delayed, optional)
|
|
||||||
missing module named java - imported by platform (delayed)
|
|
||||||
missing module named _winreg - imported by platform (delayed, optional)
|
|
||||||
missing module named usercustomize - imported by site (delayed, optional)
|
|
||||||
missing module named sitecustomize - imported by site (delayed, optional)
|
|
||||||
missing module named readline - imported by site (delayed, optional), rlcompleter (optional)
|
|
||||||
missing module named _typeshed - imported by setuptools._distutils.dist (conditional), setuptools.glob (conditional), setuptools.compat.py311 (conditional)
|
|
||||||
missing module named _manylinux - imported by packaging._manylinux (delayed, optional), setuptools._vendor.packaging._manylinux (delayed, optional), setuptools._vendor.wheel.vendored.packaging._manylinux (delayed, optional)
|
|
||||||
missing module named importlib_resources - imported by setuptools._vendor.jaraco.text (optional)
|
|
||||||
missing module named trove_classifiers - imported by setuptools.config._validate_pyproject.formats (optional)
|
|
||||||
missing module named fcntl - imported by subprocess (optional)
|
|
||||||
File diff suppressed because it is too large.
Load diff
+260
-481
File diff suppressed because it is too large.
Load diff
+25
-41
@@ -3,8 +3,7 @@
|
|||||||
True,
|
True,
|
||||||
False,
|
False,
|
||||||
False,
|
False,
|
||||||
'C:\\Users\\oli\\Documents\\o\\Resources\\repos\\Onyx - obsidian cli '
|
'C:\\Users\\oli\\AppData\\Roaming\\Python\\Python312\\site-packages\\PyInstaller\\bootloader\\images\\icon-console.ico',
|
||||||
'tool\\.venv\\Lib\\site-packages\\PyInstaller\\bootloader\\images\\icon-console.ico',
|
|
||||||
None,
|
None,
|
||||||
False,
|
False,
|
||||||
False,
|
False,
|
||||||
@@ -59,24 +58,19 @@
|
|||||||
'tool\\build\\onyx\\localpycs\\pyimod04_pywin32.pyc',
|
'tool\\build\\onyx\\localpycs\\pyimod04_pywin32.pyc',
|
||||||
'PYMODULE'),
|
'PYMODULE'),
|
||||||
('pyiboot01_bootstrap',
|
('pyiboot01_bootstrap',
|
||||||
'C:\\Users\\oli\\Documents\\o\\Resources\\repos\\Onyx - obsidian cli '
|
'C:\\Users\\oli\\AppData\\Roaming\\Python\\Python312\\site-packages\\PyInstaller\\loader\\pyiboot01_bootstrap.py',
|
||||||
'tool\\.venv\\Lib\\site-packages\\PyInstaller\\loader\\pyiboot01_bootstrap.py',
|
|
||||||
'PYSOURCE'),
|
'PYSOURCE'),
|
||||||
('pyi_rth_inspect',
|
('pyi_rth_inspect',
|
||||||
'C:\\Users\\oli\\Documents\\o\\Resources\\repos\\Onyx - obsidian cli '
|
'C:\\Users\\oli\\AppData\\Roaming\\Python\\Python312\\site-packages\\PyInstaller\\hooks\\rthooks\\pyi_rth_inspect.py',
|
||||||
'tool\\.venv\\Lib\\site-packages\\PyInstaller\\hooks\\rthooks\\pyi_rth_inspect.py',
|
|
||||||
'PYSOURCE'),
|
'PYSOURCE'),
|
||||||
('pyi_rth_setuptools',
|
('pyi_rth_setuptools',
|
||||||
'C:\\Users\\oli\\Documents\\o\\Resources\\repos\\Onyx - obsidian cli '
|
'C:\\Users\\oli\\AppData\\Roaming\\Python\\Python312\\site-packages\\PyInstaller\\hooks\\rthooks\\pyi_rth_setuptools.py',
|
||||||
'tool\\.venv\\Lib\\site-packages\\PyInstaller\\hooks\\rthooks\\pyi_rth_setuptools.py',
|
|
||||||
'PYSOURCE'),
|
'PYSOURCE'),
|
||||||
('pyi_rth_pkgutil',
|
('pyi_rth_pkgutil',
|
||||||
'C:\\Users\\oli\\Documents\\o\\Resources\\repos\\Onyx - obsidian cli '
|
'C:\\Users\\oli\\AppData\\Roaming\\Python\\Python312\\site-packages\\PyInstaller\\hooks\\rthooks\\pyi_rth_pkgutil.py',
|
||||||
'tool\\.venv\\Lib\\site-packages\\PyInstaller\\hooks\\rthooks\\pyi_rth_pkgutil.py',
|
|
||||||
'PYSOURCE'),
|
'PYSOURCE'),
|
||||||
('pyi_rth_multiprocessing',
|
('pyi_rth_multiprocessing',
|
||||||
'C:\\Users\\oli\\Documents\\o\\Resources\\repos\\Onyx - obsidian cli '
|
'C:\\Users\\oli\\AppData\\Roaming\\Python\\Python312\\site-packages\\PyInstaller\\hooks\\rthooks\\pyi_rth_multiprocessing.py',
|
||||||
'tool\\.venv\\Lib\\site-packages\\PyInstaller\\hooks\\rthooks\\pyi_rth_multiprocessing.py',
|
|
||||||
'PYSOURCE'),
|
'PYSOURCE'),
|
||||||
('onyx',
|
('onyx',
|
||||||
'C:\\Users\\oli\\Documents\\o\\Resources\\repos\\Onyx - obsidian cli '
|
'C:\\Users\\oli\\Documents\\o\\Resources\\repos\\Onyx - obsidian cli '
|
||||||
@@ -101,8 +95,7 @@
|
|||||||
('_wmi.pyd', 'C:\\Python312\\DLLs\\_wmi.pyd', 'EXTENSION'),
|
('_wmi.pyd', 'C:\\Python312\\DLLs\\_wmi.pyd', 'EXTENSION'),
|
||||||
('unicodedata.pyd', 'C:\\Python312\\DLLs\\unicodedata.pyd', 'EXTENSION'),
|
('unicodedata.pyd', 'C:\\Python312\\DLLs\\unicodedata.pyd', 'EXTENSION'),
|
||||||
('yaml\\_yaml.cp312-win_amd64.pyd',
|
('yaml\\_yaml.cp312-win_amd64.pyd',
|
||||||
'C:\\Users\\oli\\Documents\\o\\Resources\\repos\\Onyx - obsidian cli '
|
'C:\\Users\\oli\\AppData\\Roaming\\Python\\Python312\\site-packages\\yaml\\_yaml.cp312-win_amd64.pyd',
|
||||||
'tool\\.venv\\Lib\\site-packages\\yaml\\_yaml.cp312-win_amd64.pyd',
|
|
||||||
'EXTENSION'),
|
'EXTENSION'),
|
||||||
('_uuid.pyd', 'C:\\Python312\\DLLs\\_uuid.pyd', 'EXTENSION'),
|
('_uuid.pyd', 'C:\\Python312\\DLLs\\_uuid.pyd', 'EXTENSION'),
|
||||||
('VCRUNTIME140.dll', 'C:\\Python312\\VCRUNTIME140.dll', 'BINARY'),
|
('VCRUNTIME140.dll', 'C:\\Python312\\VCRUNTIME140.dll', 'BINARY'),
|
||||||
@@ -110,37 +103,29 @@
|
|||||||
('libssl-3.dll', 'C:\\Python312\\DLLs\\libssl-3.dll', 'BINARY'),
|
('libssl-3.dll', 'C:\\Python312\\DLLs\\libssl-3.dll', 'BINARY'),
|
||||||
('libffi-8.dll', 'C:\\Python312\\DLLs\\libffi-8.dll', 'BINARY'),
|
('libffi-8.dll', 'C:\\Python312\\DLLs\\libffi-8.dll', 'BINARY'),
|
||||||
('VCRUNTIME140_1.dll', 'C:\\Python312\\VCRUNTIME140_1.dll', 'BINARY'),
|
('VCRUNTIME140_1.dll', 'C:\\Python312\\VCRUNTIME140_1.dll', 'BINARY'),
|
||||||
('setuptools\\_vendor\\importlib_metadata-8.0.0.dist-info\\top_level.txt',
|
('setuptools\\_vendor\\importlib_metadata-8.0.0.dist-info\\REQUESTED',
|
||||||
'C:\\Users\\oli\\Documents\\o\\Resources\\repos\\Onyx - obsidian cli '
|
'C:\\Users\\oli\\AppData\\Roaming\\Python\\Python312\\site-packages\\setuptools\\_vendor\\importlib_metadata-8.0.0.dist-info\\REQUESTED',
|
||||||
'tool\\.venv\\Lib\\site-packages\\setuptools\\_vendor\\importlib_metadata-8.0.0.dist-info\\top_level.txt',
|
|
||||||
'DATA'),
|
|
||||||
('setuptools\\_vendor\\importlib_metadata-8.0.0.dist-info\\METADATA',
|
|
||||||
'C:\\Users\\oli\\Documents\\o\\Resources\\repos\\Onyx - obsidian cli '
|
|
||||||
'tool\\.venv\\Lib\\site-packages\\setuptools\\_vendor\\importlib_metadata-8.0.0.dist-info\\METADATA',
|
|
||||||
'DATA'),
|
|
||||||
('setuptools\\_vendor\\importlib_metadata-8.0.0.dist-info\\WHEEL',
|
|
||||||
'C:\\Users\\oli\\Documents\\o\\Resources\\repos\\Onyx - obsidian cli '
|
|
||||||
'tool\\.venv\\Lib\\site-packages\\setuptools\\_vendor\\importlib_metadata-8.0.0.dist-info\\WHEEL',
|
|
||||||
'DATA'),
|
'DATA'),
|
||||||
('setuptools\\_vendor\\importlib_metadata-8.0.0.dist-info\\LICENSE',
|
('setuptools\\_vendor\\importlib_metadata-8.0.0.dist-info\\LICENSE',
|
||||||
'C:\\Users\\oli\\Documents\\o\\Resources\\repos\\Onyx - obsidian cli '
|
'C:\\Users\\oli\\AppData\\Roaming\\Python\\Python312\\site-packages\\setuptools\\_vendor\\importlib_metadata-8.0.0.dist-info\\LICENSE',
|
||||||
'tool\\.venv\\Lib\\site-packages\\setuptools\\_vendor\\importlib_metadata-8.0.0.dist-info\\LICENSE',
|
|
||||||
'DATA'),
|
|
||||||
('setuptools\\_vendor\\importlib_metadata-8.0.0.dist-info\\RECORD',
|
|
||||||
'C:\\Users\\oli\\Documents\\o\\Resources\\repos\\Onyx - obsidian cli '
|
|
||||||
'tool\\.venv\\Lib\\site-packages\\setuptools\\_vendor\\importlib_metadata-8.0.0.dist-info\\RECORD',
|
|
||||||
'DATA'),
|
'DATA'),
|
||||||
('setuptools\\_vendor\\importlib_metadata-8.0.0.dist-info\\INSTALLER',
|
('setuptools\\_vendor\\importlib_metadata-8.0.0.dist-info\\INSTALLER',
|
||||||
'C:\\Users\\oli\\Documents\\o\\Resources\\repos\\Onyx - obsidian cli '
|
'C:\\Users\\oli\\AppData\\Roaming\\Python\\Python312\\site-packages\\setuptools\\_vendor\\importlib_metadata-8.0.0.dist-info\\INSTALLER',
|
||||||
'tool\\.venv\\Lib\\site-packages\\setuptools\\_vendor\\importlib_metadata-8.0.0.dist-info\\INSTALLER',
|
|
||||||
'DATA'),
|
'DATA'),
|
||||||
('setuptools\\_vendor\\importlib_metadata-8.0.0.dist-info\\REQUESTED',
|
('setuptools\\_vendor\\importlib_metadata-8.0.0.dist-info\\METADATA',
|
||||||
'C:\\Users\\oli\\Documents\\o\\Resources\\repos\\Onyx - obsidian cli '
|
'C:\\Users\\oli\\AppData\\Roaming\\Python\\Python312\\site-packages\\setuptools\\_vendor\\importlib_metadata-8.0.0.dist-info\\METADATA',
|
||||||
'tool\\.venv\\Lib\\site-packages\\setuptools\\_vendor\\importlib_metadata-8.0.0.dist-info\\REQUESTED',
|
'DATA'),
|
||||||
|
('setuptools\\_vendor\\importlib_metadata-8.0.0.dist-info\\WHEEL',
|
||||||
|
'C:\\Users\\oli\\AppData\\Roaming\\Python\\Python312\\site-packages\\setuptools\\_vendor\\importlib_metadata-8.0.0.dist-info\\WHEEL',
|
||||||
|
'DATA'),
|
||||||
|
('setuptools\\_vendor\\importlib_metadata-8.0.0.dist-info\\RECORD',
|
||||||
|
'C:\\Users\\oli\\AppData\\Roaming\\Python\\Python312\\site-packages\\setuptools\\_vendor\\importlib_metadata-8.0.0.dist-info\\RECORD',
|
||||||
|
'DATA'),
|
||||||
|
('setuptools\\_vendor\\importlib_metadata-8.0.0.dist-info\\top_level.txt',
|
||||||
|
'C:\\Users\\oli\\AppData\\Roaming\\Python\\Python312\\site-packages\\setuptools\\_vendor\\importlib_metadata-8.0.0.dist-info\\top_level.txt',
|
||||||
'DATA'),
|
'DATA'),
|
||||||
('setuptools\\_vendor\\jaraco\\text\\Lorem ipsum.txt',
|
('setuptools\\_vendor\\jaraco\\text\\Lorem ipsum.txt',
|
||||||
'C:\\Users\\oli\\Documents\\o\\Resources\\repos\\Onyx - obsidian cli '
|
'C:\\Users\\oli\\AppData\\Roaming\\Python\\Python312\\site-packages\\setuptools\\_vendor\\jaraco\\text\\Lorem '
|
||||||
'tool\\.venv\\Lib\\site-packages\\setuptools\\_vendor\\jaraco\\text\\Lorem '
|
|
||||||
'ipsum.txt',
|
'ipsum.txt',
|
||||||
'DATA'),
|
'DATA'),
|
||||||
('base_library.zip',
|
('base_library.zip',
|
||||||
@@ -150,9 +135,8 @@
|
|||||||
[],
|
[],
|
||||||
False,
|
False,
|
||||||
False,
|
False,
|
||||||
1762310742,
|
1763687625,
|
||||||
[('run.exe',
|
[('run.exe',
|
||||||
'C:\\Users\\oli\\Documents\\o\\Resources\\repos\\Onyx - obsidian cli '
|
'C:\\Users\\oli\\AppData\\Roaming\\Python\\Python312\\site-packages\\PyInstaller\\bootloader\\Windows-64bit-intel\\run.exe',
|
||||||
'tool\\.venv\\Lib\\site-packages\\PyInstaller\\bootloader\\Windows-64bit-intel\\run.exe',
|
|
||||||
'EXECUTABLE')],
|
'EXECUTABLE')],
|
||||||
'C:\\Python312\\python312.dll')
|
'C:\\Python312\\python312.dll')
|
||||||
+22
-36
@@ -35,24 +35,19 @@
|
|||||||
'tool\\build\\onyx\\localpycs\\pyimod04_pywin32.pyc',
|
'tool\\build\\onyx\\localpycs\\pyimod04_pywin32.pyc',
|
||||||
'PYMODULE'),
|
'PYMODULE'),
|
||||||
('pyiboot01_bootstrap',
|
('pyiboot01_bootstrap',
|
||||||
'C:\\Users\\oli\\Documents\\o\\Resources\\repos\\Onyx - obsidian cli '
|
'C:\\Users\\oli\\AppData\\Roaming\\Python\\Python312\\site-packages\\PyInstaller\\loader\\pyiboot01_bootstrap.py',
|
||||||
'tool\\.venv\\Lib\\site-packages\\PyInstaller\\loader\\pyiboot01_bootstrap.py',
|
|
||||||
'PYSOURCE'),
|
'PYSOURCE'),
|
||||||
('pyi_rth_inspect',
|
('pyi_rth_inspect',
|
||||||
'C:\\Users\\oli\\Documents\\o\\Resources\\repos\\Onyx - obsidian cli '
|
'C:\\Users\\oli\\AppData\\Roaming\\Python\\Python312\\site-packages\\PyInstaller\\hooks\\rthooks\\pyi_rth_inspect.py',
|
||||||
'tool\\.venv\\Lib\\site-packages\\PyInstaller\\hooks\\rthooks\\pyi_rth_inspect.py',
|
|
||||||
'PYSOURCE'),
|
'PYSOURCE'),
|
||||||
('pyi_rth_setuptools',
|
('pyi_rth_setuptools',
|
||||||
'C:\\Users\\oli\\Documents\\o\\Resources\\repos\\Onyx - obsidian cli '
|
'C:\\Users\\oli\\AppData\\Roaming\\Python\\Python312\\site-packages\\PyInstaller\\hooks\\rthooks\\pyi_rth_setuptools.py',
|
||||||
'tool\\.venv\\Lib\\site-packages\\PyInstaller\\hooks\\rthooks\\pyi_rth_setuptools.py',
|
|
||||||
'PYSOURCE'),
|
'PYSOURCE'),
|
||||||
('pyi_rth_pkgutil',
|
('pyi_rth_pkgutil',
|
||||||
'C:\\Users\\oli\\Documents\\o\\Resources\\repos\\Onyx - obsidian cli '
|
'C:\\Users\\oli\\AppData\\Roaming\\Python\\Python312\\site-packages\\PyInstaller\\hooks\\rthooks\\pyi_rth_pkgutil.py',
|
||||||
'tool\\.venv\\Lib\\site-packages\\PyInstaller\\hooks\\rthooks\\pyi_rth_pkgutil.py',
|
|
||||||
'PYSOURCE'),
|
'PYSOURCE'),
|
||||||
('pyi_rth_multiprocessing',
|
('pyi_rth_multiprocessing',
|
||||||
'C:\\Users\\oli\\Documents\\o\\Resources\\repos\\Onyx - obsidian cli '
|
'C:\\Users\\oli\\AppData\\Roaming\\Python\\Python312\\site-packages\\PyInstaller\\hooks\\rthooks\\pyi_rth_multiprocessing.py',
|
||||||
'tool\\.venv\\Lib\\site-packages\\PyInstaller\\hooks\\rthooks\\pyi_rth_multiprocessing.py',
|
|
||||||
'PYSOURCE'),
|
'PYSOURCE'),
|
||||||
('onyx',
|
('onyx',
|
||||||
'C:\\Users\\oli\\Documents\\o\\Resources\\repos\\Onyx - obsidian cli '
|
'C:\\Users\\oli\\Documents\\o\\Resources\\repos\\Onyx - obsidian cli '
|
||||||
@@ -77,8 +72,7 @@
|
|||||||
('_wmi.pyd', 'C:\\Python312\\DLLs\\_wmi.pyd', 'EXTENSION'),
|
('_wmi.pyd', 'C:\\Python312\\DLLs\\_wmi.pyd', 'EXTENSION'),
|
||||||
('unicodedata.pyd', 'C:\\Python312\\DLLs\\unicodedata.pyd', 'EXTENSION'),
|
('unicodedata.pyd', 'C:\\Python312\\DLLs\\unicodedata.pyd', 'EXTENSION'),
|
||||||
('yaml\\_yaml.cp312-win_amd64.pyd',
|
('yaml\\_yaml.cp312-win_amd64.pyd',
|
||||||
'C:\\Users\\oli\\Documents\\o\\Resources\\repos\\Onyx - obsidian cli '
|
'C:\\Users\\oli\\AppData\\Roaming\\Python\\Python312\\site-packages\\yaml\\_yaml.cp312-win_amd64.pyd',
|
||||||
'tool\\.venv\\Lib\\site-packages\\yaml\\_yaml.cp312-win_amd64.pyd',
|
|
||||||
'EXTENSION'),
|
'EXTENSION'),
|
||||||
('_uuid.pyd', 'C:\\Python312\\DLLs\\_uuid.pyd', 'EXTENSION'),
|
('_uuid.pyd', 'C:\\Python312\\DLLs\\_uuid.pyd', 'EXTENSION'),
|
||||||
('VCRUNTIME140.dll', 'C:\\Python312\\VCRUNTIME140.dll', 'BINARY'),
|
('VCRUNTIME140.dll', 'C:\\Python312\\VCRUNTIME140.dll', 'BINARY'),
|
||||||
@@ -86,37 +80,29 @@
|
|||||||
('libssl-3.dll', 'C:\\Python312\\DLLs\\libssl-3.dll', 'BINARY'),
|
('libssl-3.dll', 'C:\\Python312\\DLLs\\libssl-3.dll', 'BINARY'),
|
||||||
('libffi-8.dll', 'C:\\Python312\\DLLs\\libffi-8.dll', 'BINARY'),
|
('libffi-8.dll', 'C:\\Python312\\DLLs\\libffi-8.dll', 'BINARY'),
|
||||||
('VCRUNTIME140_1.dll', 'C:\\Python312\\VCRUNTIME140_1.dll', 'BINARY'),
|
('VCRUNTIME140_1.dll', 'C:\\Python312\\VCRUNTIME140_1.dll', 'BINARY'),
|
||||||
('setuptools\\_vendor\\importlib_metadata-8.0.0.dist-info\\top_level.txt',
|
('setuptools\\_vendor\\importlib_metadata-8.0.0.dist-info\\REQUESTED',
|
||||||
'C:\\Users\\oli\\Documents\\o\\Resources\\repos\\Onyx - obsidian cli '
|
'C:\\Users\\oli\\AppData\\Roaming\\Python\\Python312\\site-packages\\setuptools\\_vendor\\importlib_metadata-8.0.0.dist-info\\REQUESTED',
|
||||||
'tool\\.venv\\Lib\\site-packages\\setuptools\\_vendor\\importlib_metadata-8.0.0.dist-info\\top_level.txt',
|
|
||||||
'DATA'),
|
|
||||||
('setuptools\\_vendor\\importlib_metadata-8.0.0.dist-info\\METADATA',
|
|
||||||
'C:\\Users\\oli\\Documents\\o\\Resources\\repos\\Onyx - obsidian cli '
|
|
||||||
'tool\\.venv\\Lib\\site-packages\\setuptools\\_vendor\\importlib_metadata-8.0.0.dist-info\\METADATA',
|
|
||||||
'DATA'),
|
|
||||||
('setuptools\\_vendor\\importlib_metadata-8.0.0.dist-info\\WHEEL',
|
|
||||||
'C:\\Users\\oli\\Documents\\o\\Resources\\repos\\Onyx - obsidian cli '
|
|
||||||
'tool\\.venv\\Lib\\site-packages\\setuptools\\_vendor\\importlib_metadata-8.0.0.dist-info\\WHEEL',
|
|
||||||
'DATA'),
|
'DATA'),
|
||||||
('setuptools\\_vendor\\importlib_metadata-8.0.0.dist-info\\LICENSE',
|
('setuptools\\_vendor\\importlib_metadata-8.0.0.dist-info\\LICENSE',
|
||||||
'C:\\Users\\oli\\Documents\\o\\Resources\\repos\\Onyx - obsidian cli '
|
'C:\\Users\\oli\\AppData\\Roaming\\Python\\Python312\\site-packages\\setuptools\\_vendor\\importlib_metadata-8.0.0.dist-info\\LICENSE',
|
||||||
'tool\\.venv\\Lib\\site-packages\\setuptools\\_vendor\\importlib_metadata-8.0.0.dist-info\\LICENSE',
|
|
||||||
'DATA'),
|
|
||||||
('setuptools\\_vendor\\importlib_metadata-8.0.0.dist-info\\RECORD',
|
|
||||||
'C:\\Users\\oli\\Documents\\o\\Resources\\repos\\Onyx - obsidian cli '
|
|
||||||
'tool\\.venv\\Lib\\site-packages\\setuptools\\_vendor\\importlib_metadata-8.0.0.dist-info\\RECORD',
|
|
||||||
'DATA'),
|
'DATA'),
|
||||||
('setuptools\\_vendor\\importlib_metadata-8.0.0.dist-info\\INSTALLER',
|
('setuptools\\_vendor\\importlib_metadata-8.0.0.dist-info\\INSTALLER',
|
||||||
'C:\\Users\\oli\\Documents\\o\\Resources\\repos\\Onyx - obsidian cli '
|
'C:\\Users\\oli\\AppData\\Roaming\\Python\\Python312\\site-packages\\setuptools\\_vendor\\importlib_metadata-8.0.0.dist-info\\INSTALLER',
|
||||||
'tool\\.venv\\Lib\\site-packages\\setuptools\\_vendor\\importlib_metadata-8.0.0.dist-info\\INSTALLER',
|
|
||||||
'DATA'),
|
'DATA'),
|
||||||
('setuptools\\_vendor\\importlib_metadata-8.0.0.dist-info\\REQUESTED',
|
('setuptools\\_vendor\\importlib_metadata-8.0.0.dist-info\\METADATA',
|
||||||
'C:\\Users\\oli\\Documents\\o\\Resources\\repos\\Onyx - obsidian cli '
|
'C:\\Users\\oli\\AppData\\Roaming\\Python\\Python312\\site-packages\\setuptools\\_vendor\\importlib_metadata-8.0.0.dist-info\\METADATA',
|
||||||
'tool\\.venv\\Lib\\site-packages\\setuptools\\_vendor\\importlib_metadata-8.0.0.dist-info\\REQUESTED',
|
'DATA'),
|
||||||
|
('setuptools\\_vendor\\importlib_metadata-8.0.0.dist-info\\WHEEL',
|
||||||
|
'C:\\Users\\oli\\AppData\\Roaming\\Python\\Python312\\site-packages\\setuptools\\_vendor\\importlib_metadata-8.0.0.dist-info\\WHEEL',
|
||||||
|
'DATA'),
|
||||||
|
('setuptools\\_vendor\\importlib_metadata-8.0.0.dist-info\\RECORD',
|
||||||
|
'C:\\Users\\oli\\AppData\\Roaming\\Python\\Python312\\site-packages\\setuptools\\_vendor\\importlib_metadata-8.0.0.dist-info\\RECORD',
|
||||||
|
'DATA'),
|
||||||
|
('setuptools\\_vendor\\importlib_metadata-8.0.0.dist-info\\top_level.txt',
|
||||||
|
'C:\\Users\\oli\\AppData\\Roaming\\Python\\Python312\\site-packages\\setuptools\\_vendor\\importlib_metadata-8.0.0.dist-info\\top_level.txt',
|
||||||
'DATA'),
|
'DATA'),
|
||||||
('setuptools\\_vendor\\jaraco\\text\\Lorem ipsum.txt',
|
('setuptools\\_vendor\\jaraco\\text\\Lorem ipsum.txt',
|
||||||
'C:\\Users\\oli\\Documents\\o\\Resources\\repos\\Onyx - obsidian cli '
|
'C:\\Users\\oli\\AppData\\Roaming\\Python\\Python312\\site-packages\\setuptools\\_vendor\\jaraco\\text\\Lorem '
|
||||||
'tool\\.venv\\Lib\\site-packages\\setuptools\\_vendor\\jaraco\\text\\Lorem '
|
|
||||||
'ipsum.txt',
|
'ipsum.txt',
|
||||||
'DATA'),
|
'DATA'),
|
||||||
('base_library.zip',
|
('base_library.zip',
|
||||||
|
|||||||
+208
-416
File diff suppressed because it is too large.
Load diff
Binary file not shown.
Binary file not shown.
@@ -17,9 +17,9 @@ IMPORTANT: Do NOT post this list to the issue-tracker. Use it as a basis for
|
|||||||
missing module named _posixshmem - imported by multiprocessing.resource_tracker (conditional), multiprocessing.shared_memory (conditional)
|
missing module named _posixshmem - imported by multiprocessing.resource_tracker (conditional), multiprocessing.shared_memory (conditional)
|
||||||
missing module named _frozen_importlib_external - imported by importlib._bootstrap (delayed), importlib (optional), importlib.abc (optional), zipimport (top-level)
|
missing module named _frozen_importlib_external - imported by importlib._bootstrap (delayed), importlib (optional), importlib.abc (optional), zipimport (top-level)
|
||||||
excluded module named _frozen_importlib - imported by importlib (optional), importlib.abc (optional), zipimport (top-level)
|
excluded module named _frozen_importlib - imported by importlib (optional), importlib.abc (optional), zipimport (top-level)
|
||||||
missing module named pwd - imported by posixpath (delayed, conditional, optional), shutil (delayed, optional), tarfile (optional), pathlib (delayed, optional), subprocess (delayed, conditional, optional), setuptools._distutils.util (delayed, conditional, optional), netrc (delayed, conditional), getpass (delayed), setuptools._vendor.backports.tarfile (optional), setuptools._distutils.archive_util (optional), http.server (delayed, optional)
|
missing module named pwd - imported by shutil (delayed, optional), tarfile (optional), pathlib (delayed, optional), subprocess (delayed, conditional, optional), posixpath (delayed, conditional, optional), setuptools._distutils.util (delayed, conditional, optional), netrc (delayed, conditional), getpass (delayed), setuptools._vendor.backports.tarfile (optional), setuptools._distutils.archive_util (optional), http.server (delayed, optional)
|
||||||
missing module named grp - imported by shutil (delayed, optional), tarfile (optional), pathlib (delayed, optional), subprocess (delayed, conditional, optional), setuptools._vendor.backports.tarfile (optional), setuptools._distutils.archive_util (optional)
|
missing module named grp - imported by shutil (delayed, optional), tarfile (optional), pathlib (delayed, optional), subprocess (delayed, conditional, optional), setuptools._vendor.backports.tarfile (optional), setuptools._distutils.archive_util (optional)
|
||||||
missing module named posix - imported by os (conditional, optional), posixpath (optional), shutil (conditional), importlib._bootstrap_external (conditional)
|
missing module named posix - imported by shutil (conditional), importlib._bootstrap_external (conditional), os (conditional, optional), posixpath (optional)
|
||||||
missing module named resource - imported by posix (top-level)
|
missing module named resource - imported by posix (top-level)
|
||||||
missing module named _scproxy - imported by urllib.request (conditional)
|
missing module named _scproxy - imported by urllib.request (conditional)
|
||||||
missing module named termios - imported by getpass (optional), tty (top-level), click._termui_impl (conditional)
|
missing module named termios - imported by getpass (optional), tty (top-level), click._termui_impl (conditional)
|
||||||
@@ -30,7 +30,7 @@ missing module named multiprocessing.get_context - imported by multiprocessing (
|
|||||||
missing module named multiprocessing.TimeoutError - imported by multiprocessing (top-level), multiprocessing.pool (top-level)
|
missing module named multiprocessing.TimeoutError - imported by multiprocessing (top-level), multiprocessing.pool (top-level)
|
||||||
missing module named multiprocessing.set_start_method - imported by multiprocessing (top-level), multiprocessing.spawn (top-level)
|
missing module named multiprocessing.set_start_method - imported by multiprocessing (top-level), multiprocessing.spawn (top-level)
|
||||||
missing module named multiprocessing.get_start_method - imported by multiprocessing (top-level), multiprocessing.spawn (top-level)
|
missing module named multiprocessing.get_start_method - imported by multiprocessing (top-level), multiprocessing.spawn (top-level)
|
||||||
missing module named pyimod02_importers - imported by C:\Users\oli\Documents\o\Resources\repos\Onyx - obsidian cli tool\.venv\Lib\site-packages\PyInstaller\hooks\rthooks\pyi_rth_pkgutil.py (delayed)
|
missing module named pyimod02_importers - imported by C:\Users\oli\AppData\Roaming\Python\Python312\site-packages\PyInstaller\hooks\rthooks\pyi_rth_pkgutil.py (delayed)
|
||||||
missing module named typing_extensions.Buffer - imported by setuptools._vendor.typing_extensions (top-level), setuptools._vendor.wheel.wheelfile (conditional)
|
missing module named typing_extensions.Buffer - imported by setuptools._vendor.typing_extensions (top-level), setuptools._vendor.wheel.wheelfile (conditional)
|
||||||
missing module named typing_extensions.Literal - imported by setuptools._vendor.typing_extensions (top-level), setuptools.config._validate_pyproject.formats (conditional)
|
missing module named typing_extensions.Literal - imported by setuptools._vendor.typing_extensions (top-level), setuptools.config._validate_pyproject.formats (conditional)
|
||||||
missing module named typing_extensions.Self - imported by setuptools._vendor.typing_extensions (top-level), setuptools.config.expand (conditional), setuptools.config.pyprojecttoml (conditional), setuptools.config._validate_pyproject.error_reporting (conditional)
|
missing module named typing_extensions.Self - imported by setuptools._vendor.typing_extensions (top-level), setuptools.config.expand (conditional), setuptools.config.pyprojecttoml (conditional), setuptools.config._validate_pyproject.error_reporting (conditional)
|
||||||
|
|||||||
+215
-217
File diff suppressed because it is too large.
Load diff
Vendored
BIN
Binary file not shown.
Binary file not shown.
@@ -674,6 +674,8 @@ def create(note_name, content, vault, overwrite, append, open_after):
|
|||||||
onyx create "my-note"
|
onyx create "my-note"
|
||||||
onyx create "my-note" --content "Some content" --open
|
onyx create "my-note" --content "Some content" --open
|
||||||
"""
|
"""
|
||||||
|
if content:
|
||||||
|
content = content.replace('\\n', '\n')
|
||||||
OnyxCLI().create_note(note_name, content, vault, overwrite, append, open_after)
|
OnyxCLI().create_note(note_name, content, vault, overwrite, append, open_after)
|
||||||
|
|
||||||
@cli.command()
|
@cli.command()
|
||||||
|
|||||||
@@ -0,0 +1,3 @@
|
|||||||
|
default_vault: test
|
||||||
|
vaults:
|
||||||
|
test: C:/Users/oli/Documents/o/Resources/repos/Onyx - obsidian cli tool/test_vault_exe
|
||||||
+58
@@ -0,0 +1,58 @@
|
|||||||
|
import subprocess
|
||||||
|
from pathlib import Path
|
||||||
|
import os
|
||||||
|
import shutil
|
||||||
|
|
||||||
|
# Setup test vault
|
||||||
|
vault_path = Path("test_vault_exe").resolve()
|
||||||
|
if vault_path.exists():
|
||||||
|
shutil.rmtree(vault_path)
|
||||||
|
vault_path.mkdir(exist_ok=True)
|
||||||
|
|
||||||
|
# Path to executable
|
||||||
|
exe_path = Path("dist/onyx.exe").resolve()
|
||||||
|
|
||||||
|
print(f"Testing executable at: {exe_path}")
|
||||||
|
|
||||||
|
# Create config for the test
|
||||||
|
# We need to set the config file location for the exe.
|
||||||
|
# The exe looks at Path.home() / '.onyx-cli' / 'config.yaml'
|
||||||
|
# We can't easily change Path.home() for a subprocess without changing env vars that python respects?
|
||||||
|
# On Windows, Path.home() usually uses USERPROFILE.
|
||||||
|
# Let's try setting USERPROFILE to a temp dir.
|
||||||
|
|
||||||
|
env = os.environ.copy()
|
||||||
|
temp_home = Path("temp_home").resolve()
|
||||||
|
temp_home.mkdir(exist_ok=True)
|
||||||
|
env["USERPROFILE"] = str(temp_home)
|
||||||
|
|
||||||
|
# Create config in temp home
|
||||||
|
config_dir = temp_home / ".onyx-cli"
|
||||||
|
config_dir.mkdir(parents=True, exist_ok=True)
|
||||||
|
(config_dir / "config.yaml").write_text(f"default_vault: test\nvaults:\n test: {str(vault_path).replace(os.sep, '/')}", encoding="utf-8")
|
||||||
|
|
||||||
|
# Run the command
|
||||||
|
cmd = [str(exe_path), "create", "exe_newline_test", "--content", "Line1\\nLine2", "--vault", "test"]
|
||||||
|
print(f"Running: {cmd}")
|
||||||
|
|
||||||
|
try:
|
||||||
|
result = subprocess.run(cmd, env=env, capture_output=True, text=True)
|
||||||
|
print("STDOUT:", result.stdout)
|
||||||
|
print("STDERR:", result.stderr)
|
||||||
|
|
||||||
|
if result.returncode != 0:
|
||||||
|
print("Command failed")
|
||||||
|
else:
|
||||||
|
note_path = vault_path / "exe_newline_test.md"
|
||||||
|
if note_path.exists():
|
||||||
|
content = note_path.read_text(encoding='utf-8-sig')
|
||||||
|
print(f"Content repr: {repr(content)}")
|
||||||
|
if '\n' in content and '\\n' not in content:
|
||||||
|
print("SUCCESS: Real newline found")
|
||||||
|
else:
|
||||||
|
print("FAILURE: Unexpected content")
|
||||||
|
else:
|
||||||
|
print("Note not created")
|
||||||
|
|
||||||
|
except Exception as e:
|
||||||
|
print(f"Error running exe: {e}")
|
||||||
@@ -0,0 +1,3 @@
|
|||||||
|
default_vault: test
|
||||||
|
vaults:
|
||||||
|
test: C:/Users/oli/Documents/o/Resources/repos/Onyx - obsidian cli tool/test_vault_newline
|
||||||
@@ -0,0 +1,55 @@
|
|||||||
|
import sys
|
||||||
|
from pathlib import Path
|
||||||
|
sys.path.append(str(Path("src").resolve()))
|
||||||
|
from click.testing import CliRunner
|
||||||
|
from onyx import cli
|
||||||
|
import os
|
||||||
|
|
||||||
|
# Setup test vault
|
||||||
|
vault_path = Path("test_vault_newline").resolve()
|
||||||
|
if vault_path.exists():
|
||||||
|
import shutil
|
||||||
|
shutil.rmtree(vault_path)
|
||||||
|
vault_path.mkdir(exist_ok=True)
|
||||||
|
|
||||||
|
# Create config
|
||||||
|
config_dir = Path(".onyx-cli-test")
|
||||||
|
config_dir.mkdir(exist_ok=True)
|
||||||
|
config_file = config_dir / "config.yaml"
|
||||||
|
config_file.write_text(f"default_vault: test\nvaults:\n test: {str(vault_path).replace(os.sep, '/')}", encoding="utf-8")
|
||||||
|
|
||||||
|
# Mock the config path in OnyxCLI (we need to monkeypatch or just rely on the fact that we can't easily change the class attribute globally without reloading,
|
||||||
|
# but wait, OnyxCLI is instantiated inside the commands.
|
||||||
|
# I'll just monkeypatch OnyxCLI.__init__ to use my config file for this test, or better, just set the env var if supported?
|
||||||
|
# The code uses Path.home() / '.onyx-cli' / 'config.yaml'.
|
||||||
|
# I'll monkeypatch Path.home to return my local dir.
|
||||||
|
|
||||||
|
from unittest.mock import patch
|
||||||
|
|
||||||
|
with patch("pathlib.Path.home", return_value=Path.cwd() / "test_home"):
|
||||||
|
# Setup home dir
|
||||||
|
home = Path.cwd() / "test_home"
|
||||||
|
(home / ".onyx-cli").mkdir(parents=True, exist_ok=True)
|
||||||
|
(home / ".onyx-cli" / "config.yaml").write_text(f"default_vault: test\nvaults:\n test: {str(vault_path).replace(os.sep, '/')}", encoding="utf-8")
|
||||||
|
|
||||||
|
runner = CliRunner()
|
||||||
|
|
||||||
|
print("--- Testing with literal \\n ---")
|
||||||
|
result = runner.invoke(cli, ['create', 'newline_test', '--content', 'Line1\\nLine2', '--vault', 'test'])
|
||||||
|
|
||||||
|
if result.exit_code != 0:
|
||||||
|
print(f"Command failed: {result.output}")
|
||||||
|
else:
|
||||||
|
note_path = vault_path / "newline_test.md"
|
||||||
|
if note_path.exists():
|
||||||
|
content = note_path.read_text(encoding='utf-8-sig')
|
||||||
|
print(f"Content length: {len(content)}")
|
||||||
|
print(f"Content repr: {repr(content)}")
|
||||||
|
if '\n' in content and '\\n' not in content:
|
||||||
|
print("Result: Real newline found")
|
||||||
|
elif '\\n' in content:
|
||||||
|
print("Result: Literal \\n found")
|
||||||
|
else:
|
||||||
|
print("Result: Unexpected content")
|
||||||
|
else:
|
||||||
|
print("Note not created")
|
||||||
@@ -0,0 +1,2 @@
|
|||||||
|
Line1
|
||||||
|
Line2
|
||||||
@@ -0,0 +1,2 @@
|
|||||||
|
Line1
|
||||||
|
Line2
|
||||||
Reference in new issue
Block a user