Improved new project templates & publish 2021.4.2.dev1
This commit is contained in:
@@ -1,39 +0,0 @@
|
||||
{
|
||||
"ProjectSettings": {
|
||||
"Name": "cpl-test",
|
||||
"Version": {
|
||||
"Major": "0",
|
||||
"Minor": "0",
|
||||
"Micro": "0"
|
||||
},
|
||||
"Author": "",
|
||||
"AuthorEmail": "",
|
||||
"Description": "",
|
||||
"LongDescription": "",
|
||||
"URL": "",
|
||||
"CopyrightDate": "",
|
||||
"CopyrightName": "",
|
||||
"LicenseName": "",
|
||||
"LicenseDescription": "",
|
||||
"Dependencies": [
|
||||
"sh_cpl==2021.4.1.post13"
|
||||
],
|
||||
"PythonVersion": ">=3.9.2",
|
||||
"PythonPath": "/home/sven/Nextcloud_Sven/Schreibtisch/git_sh-edraft_de/sh_common_py_lib/src/tests/custom/general/../../../../cpl-env/bin/python3.9",
|
||||
"Classifiers": []
|
||||
},
|
||||
"BuildSettings": {
|
||||
"SourcePath": "src",
|
||||
"OutputPath": "dist",
|
||||
"Main": "main",
|
||||
"EntryPoint": "cpl-test",
|
||||
"IncludePackageData": true,
|
||||
"Included": [],
|
||||
"Excluded": [
|
||||
"*/__pycache__",
|
||||
"*/logs",
|
||||
"*/tests"
|
||||
],
|
||||
"PackageData": {}
|
||||
}
|
||||
}
|
@@ -1,13 +0,0 @@
|
||||
from cpl.console.console import Console
|
||||
|
||||
from model.test_model import TestModel
|
||||
|
||||
|
||||
def main():
|
||||
Console.write_line('Hello World')
|
||||
Console.write_line('Dies ist ein test')
|
||||
test = TestModel()
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
@@ -1,22 +0,0 @@
|
||||
import time
|
||||
|
||||
from cpl.console import Console
|
||||
|
||||
|
||||
class TestModel:
|
||||
|
||||
def __init__(self):
|
||||
Console.spinner('Waiting: ', self._wait, 10)
|
||||
option = Console.select('->', 'Select option: ', [
|
||||
'Option 1',
|
||||
'Option 2',
|
||||
'Option 3',
|
||||
'Option 4',
|
||||
'Option 5',
|
||||
'Option 6'
|
||||
])
|
||||
Console.write_line('You selected', option)
|
||||
|
||||
@staticmethod
|
||||
def _wait(count: int):
|
||||
time.sleep(count)
|
@@ -1 +0,0 @@
|
||||
# imports:
|
Reference in New Issue
Block a user