updating documentation_test as example entrypoint
This commit is contained in:
BIN
documentation-test/build/documentation_test/base_library.zip
Normal file
BIN
documentation-test/build/documentation_test/base_library.zip
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
documentation-test/dist/documentation-test-0.2.11.tar.gz
vendored
Normal file
BIN
documentation-test/dist/documentation-test-0.2.11.tar.gz
vendored
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
documentation-test/dist/documentation_test-0.2.11-py3-none-any.whl
vendored
Normal file
BIN
documentation-test/dist/documentation_test-0.2.11-py3-none-any.whl
vendored
Normal file
Binary file not shown.
37
documentation-test/documentation_test.spec
Normal file
37
documentation-test/documentation_test.spec
Normal file
@@ -0,0 +1,37 @@
|
|||||||
|
# -*- mode: python ; coding: utf-8 -*-
|
||||||
|
|
||||||
|
block_cipher = None
|
||||||
|
|
||||||
|
|
||||||
|
a = Analysis(['src/documentation_test/documentation_test.pyclear'],
|
||||||
|
pathex=['/Users/dtomlinson/OneDrive - William Hill Organisation Limited/Mac/git_repos/python-VM/documentation-test'],
|
||||||
|
binaries=[],
|
||||||
|
datas=[],
|
||||||
|
hiddenimports=[],
|
||||||
|
hookspath=[],
|
||||||
|
runtime_hooks=[],
|
||||||
|
excludes=[],
|
||||||
|
win_no_prefer_redirects=False,
|
||||||
|
win_private_assemblies=False,
|
||||||
|
cipher=block_cipher,
|
||||||
|
noarchive=False)
|
||||||
|
pyz = PYZ(a.pure, a.zipped_data,
|
||||||
|
cipher=block_cipher)
|
||||||
|
exe = EXE(pyz,
|
||||||
|
a.scripts,
|
||||||
|
[],
|
||||||
|
exclude_binaries=True,
|
||||||
|
name='documentation_test',
|
||||||
|
debug=False,
|
||||||
|
bootloader_ignore_signals=False,
|
||||||
|
strip=False,
|
||||||
|
upx=True,
|
||||||
|
console=True )
|
||||||
|
coll = COLLECT(exe,
|
||||||
|
a.binaries,
|
||||||
|
a.zipfiles,
|
||||||
|
a.datas,
|
||||||
|
strip=False,
|
||||||
|
upx=True,
|
||||||
|
upx_exclude=[],
|
||||||
|
name='documentation_test')
|
||||||
@@ -1,16 +1,19 @@
|
|||||||
[tool.poetry]
|
[tool.poetry]
|
||||||
name = "documentation-test"
|
name = "documentation-test"
|
||||||
version = "0.2.0"
|
version = "0.2.11"
|
||||||
description = ""
|
description = ""
|
||||||
authors = ["Your Name <you@example.com>"]
|
authors = ["Your Name <you@example.com>"]
|
||||||
|
|
||||||
[tool.poetry.dependencies]
|
[tool.poetry.dependencies]
|
||||||
python = "^3.8"
|
python = "^3.7"
|
||||||
|
|
||||||
[tool.poetry.dev-dependencies]
|
[tool.poetry.dev-dependencies]
|
||||||
pytest = "^3.0"
|
pytest = "^3.0"
|
||||||
pdoc3 = "^0.7.2"
|
pdoc3 = "^0.7.2"
|
||||||
|
|
||||||
|
[tool.poetry.plugins."console_scripts"]
|
||||||
|
"documentationcmd" = "documentation_test.console:console"
|
||||||
|
|
||||||
[build-system]
|
[build-system]
|
||||||
requires = ["poetry>=0.12"]
|
requires = ["poetry>=0.12"]
|
||||||
build-backend = "poetry.masonry.api"
|
build-backend = "poetry.masonry.api"
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
from documentation_test.documentation_test import *
|
from documentation_test.documentation_test import *
|
||||||
|
|
||||||
__version__ = '0.1.0'
|
__version__ = '0.2.11'
|
||||||
|
|
||||||
print('documentation_test __init__')
|
print('documentation_test __init__')
|
||||||
|
|||||||
5
documentation-test/src/documentation_test/console/__init__.py
Executable file
5
documentation-test/src/documentation_test/console/__init__.py
Executable file
@@ -0,0 +1,5 @@
|
|||||||
|
import documentation_test
|
||||||
|
|
||||||
|
|
||||||
|
def console():
|
||||||
|
return documentation_test.testFunction(f'{documentation_test.__version__}')
|
||||||
0
documentation-test/src/documentation_test/console/console.py
Executable file
0
documentation-test/src/documentation_test/console/console.py
Executable file
@@ -65,4 +65,4 @@ submod1.submod1('string from submod1 in base')
|
|||||||
submod2.submod2('string from submod2 in base')
|
submod2.submod2('string from submod2 in base')
|
||||||
|
|
||||||
|
|
||||||
print(f'{__all__=}')
|
# print(f'{__all__=}')
|
||||||
|
|||||||
Reference in New Issue
Block a user