diff --git a/.gitignore b/.gitignore deleted file mode 100644 index 4be6e16..0000000 --- a/.gitignore +++ /dev/null @@ -1 +0,0 @@ -dist/* \ No newline at end of file diff --git a/.vscode/PythonImportHelper-v2-Completion.json b/.vscode/PythonImportHelper-v2-Completion.json deleted file mode 100644 index 4bf216a..0000000 --- a/.vscode/PythonImportHelper-v2-Completion.json +++ /dev/null @@ -1,155 +0,0 @@ -[ - { - "label": "cmake", - "kind": 6, - "importPath": "pymake.lib.cmake", - "description": "pymake.lib.cmake", - "peekOfCode": "class cmake:\n __write_stack:\"list[str]\" = []\n __file_name = \"\"\n def __init__(self,version_min:\"str\",file_name:\"str\"=\"CMakeLists.txt\") -> None:\n self.__file_name = file_name\n self.__write_stack.append(f\"cmake_minimum_required(VERSION {version_min})\")\n def write(self)->None:\n with open(file=self.__file_name,mode=\"+w\",encoding=\"utf8\") as f:\n for i in self.__write_stack:\n f.write(i)", - "detail": "pymake.lib.cmake", - "documentation": {} - }, - { - "label": "var", - "kind": 2, - "importPath": "pymake.lib.tools", - "description": "pymake.lib.tools", - "peekOfCode": "def var(name:\"str\")->\"str\":\n return f\"${{{name}}}\"\ndef args_to_str(args:\"list[str]\")->str:\n vars_str = \"\"\n for i in args:\n vars_str=f\"{vars_str} {i}\"\n return vars_str", - "detail": "pymake.lib.tools", - "documentation": {} - }, - { - "label": "args_to_str", - "kind": 2, - "importPath": "pymake.lib.tools", - "description": "pymake.lib.tools", - "peekOfCode": "def args_to_str(args:\"list[str]\")->str:\n vars_str = \"\"\n for i in args:\n vars_str=f\"{vars_str} {i}\"\n return vars_str", - "detail": "pymake.lib.tools", - "documentation": {} - }, - { - "label": "cmake_export_compile_cmmands", - "kind": 5, - "importPath": "pymake.lib.values", - "description": "pymake.lib.values", - "peekOfCode": "cmake_export_compile_cmmands = \"CMAKE_EXPORT_COMPILE_COMMANDS\"\nproject_name=\"PROJECT_NAME\"\npublic = \"PUBLIC\"\nstatic = \"STATIC\"\nshared = \"SHARED\"\nmodule = \"MODULE\"\nprivate = \"PRIVATE\"\ninterface = \"INTERFACE\"\nglob_recurse = \"GLOB_RECURSE\"\ncmake_cxx_standard = \"CMAKE_CXX_STANDARD\"", - "detail": "pymake.lib.values", - "documentation": {} - }, - { - "label": "public", - "kind": 5, - "importPath": "pymake.lib.values", - "description": "pymake.lib.values", - "peekOfCode": "public = \"PUBLIC\"\nstatic = \"STATIC\"\nshared = \"SHARED\"\nmodule = \"MODULE\"\nprivate = \"PRIVATE\"\ninterface = \"INTERFACE\"\nglob_recurse = \"GLOB_RECURSE\"\ncmake_cxx_standard = \"CMAKE_CXX_STANDARD\"\ncmake_cxx_flags = \"CMAKE_CXX_FLAGS\"\no3 = \"-O3\"", - "detail": "pymake.lib.values", - "documentation": {} - }, - { - "label": "static", - "kind": 5, - "importPath": "pymake.lib.values", - "description": "pymake.lib.values", - "peekOfCode": "static = \"STATIC\"\nshared = \"SHARED\"\nmodule = \"MODULE\"\nprivate = \"PRIVATE\"\ninterface = \"INTERFACE\"\nglob_recurse = \"GLOB_RECURSE\"\ncmake_cxx_standard = \"CMAKE_CXX_STANDARD\"\ncmake_cxx_flags = \"CMAKE_CXX_FLAGS\"\no3 = \"-O3\"\no2 = \"-O2\"", - "detail": "pymake.lib.values", - "documentation": {} - }, - { - "label": "shared", - "kind": 5, - "importPath": "pymake.lib.values", - "description": "pymake.lib.values", - "peekOfCode": "shared = \"SHARED\"\nmodule = \"MODULE\"\nprivate = \"PRIVATE\"\ninterface = \"INTERFACE\"\nglob_recurse = \"GLOB_RECURSE\"\ncmake_cxx_standard = \"CMAKE_CXX_STANDARD\"\ncmake_cxx_flags = \"CMAKE_CXX_FLAGS\"\no3 = \"-O3\"\no2 = \"-O2\"\ncmake_cxx_flags_release = \"CMAKE_CXX_FLAGS_RELEASE\"", - "detail": "pymake.lib.values", - "documentation": {} - }, - { - "label": "module", - "kind": 5, - "importPath": "pymake.lib.values", - "description": "pymake.lib.values", - "peekOfCode": "module = \"MODULE\"\nprivate = \"PRIVATE\"\ninterface = \"INTERFACE\"\nglob_recurse = \"GLOB_RECURSE\"\ncmake_cxx_standard = \"CMAKE_CXX_STANDARD\"\ncmake_cxx_flags = \"CMAKE_CXX_FLAGS\"\no3 = \"-O3\"\no2 = \"-O2\"\ncmake_cxx_flags_release = \"CMAKE_CXX_FLAGS_RELEASE\"\ncmake_cxx_flags_debug = \"CMAKE_CXX_FLAGS_DEBUG\"", - "detail": "pymake.lib.values", - "documentation": {} - }, - { - "label": "private", - "kind": 5, - "importPath": "pymake.lib.values", - "description": "pymake.lib.values", - "peekOfCode": "private = \"PRIVATE\"\ninterface = \"INTERFACE\"\nglob_recurse = \"GLOB_RECURSE\"\ncmake_cxx_standard = \"CMAKE_CXX_STANDARD\"\ncmake_cxx_flags = \"CMAKE_CXX_FLAGS\"\no3 = \"-O3\"\no2 = \"-O2\"\ncmake_cxx_flags_release = \"CMAKE_CXX_FLAGS_RELEASE\"\ncmake_cxx_flags_debug = \"CMAKE_CXX_FLAGS_DEBUG\"\non=\"ON\"", - "detail": "pymake.lib.values", - "documentation": {} - }, - { - "label": "interface", - "kind": 5, - "importPath": "pymake.lib.values", - "description": "pymake.lib.values", - "peekOfCode": "interface = \"INTERFACE\"\nglob_recurse = \"GLOB_RECURSE\"\ncmake_cxx_standard = \"CMAKE_CXX_STANDARD\"\ncmake_cxx_flags = \"CMAKE_CXX_FLAGS\"\no3 = \"-O3\"\no2 = \"-O2\"\ncmake_cxx_flags_release = \"CMAKE_CXX_FLAGS_RELEASE\"\ncmake_cxx_flags_debug = \"CMAKE_CXX_FLAGS_DEBUG\"\non=\"ON\"", - "detail": "pymake.lib.values", - "documentation": {} - }, - { - "label": "glob_recurse", - "kind": 5, - "importPath": "pymake.lib.values", - "description": "pymake.lib.values", - "peekOfCode": "glob_recurse = \"GLOB_RECURSE\"\ncmake_cxx_standard = \"CMAKE_CXX_STANDARD\"\ncmake_cxx_flags = \"CMAKE_CXX_FLAGS\"\no3 = \"-O3\"\no2 = \"-O2\"\ncmake_cxx_flags_release = \"CMAKE_CXX_FLAGS_RELEASE\"\ncmake_cxx_flags_debug = \"CMAKE_CXX_FLAGS_DEBUG\"\non=\"ON\"", - "detail": "pymake.lib.values", - "documentation": {} - }, - { - "label": "cmake_cxx_standard", - "kind": 5, - "importPath": "pymake.lib.values", - "description": "pymake.lib.values", - "peekOfCode": "cmake_cxx_standard = \"CMAKE_CXX_STANDARD\"\ncmake_cxx_flags = \"CMAKE_CXX_FLAGS\"\no3 = \"-O3\"\no2 = \"-O2\"\ncmake_cxx_flags_release = \"CMAKE_CXX_FLAGS_RELEASE\"\ncmake_cxx_flags_debug = \"CMAKE_CXX_FLAGS_DEBUG\"\non=\"ON\"", - "detail": "pymake.lib.values", - "documentation": {} - }, - { - "label": "cmake_cxx_flags", - "kind": 5, - "importPath": "pymake.lib.values", - "description": "pymake.lib.values", - "peekOfCode": "cmake_cxx_flags = \"CMAKE_CXX_FLAGS\"\no3 = \"-O3\"\no2 = \"-O2\"\ncmake_cxx_flags_release = \"CMAKE_CXX_FLAGS_RELEASE\"\ncmake_cxx_flags_debug = \"CMAKE_CXX_FLAGS_DEBUG\"\non=\"ON\"", - "detail": "pymake.lib.values", - "documentation": {} - }, - { - "label": "o3", - "kind": 5, - "importPath": "pymake.lib.values", - "description": "pymake.lib.values", - "peekOfCode": "o3 = \"-O3\"\no2 = \"-O2\"\ncmake_cxx_flags_release = \"CMAKE_CXX_FLAGS_RELEASE\"\ncmake_cxx_flags_debug = \"CMAKE_CXX_FLAGS_DEBUG\"\non=\"ON\"", - "detail": "pymake.lib.values", - "documentation": {} - }, - { - "label": "o2", - "kind": 5, - "importPath": "pymake.lib.values", - "description": "pymake.lib.values", - "peekOfCode": "o2 = \"-O2\"\ncmake_cxx_flags_release = \"CMAKE_CXX_FLAGS_RELEASE\"\ncmake_cxx_flags_debug = \"CMAKE_CXX_FLAGS_DEBUG\"\non=\"ON\"", - "detail": "pymake.lib.values", - "documentation": {} - }, - { - "label": "cmake_cxx_flags_release", - "kind": 5, - "importPath": "pymake.lib.values", - "description": "pymake.lib.values", - "peekOfCode": "cmake_cxx_flags_release = \"CMAKE_CXX_FLAGS_RELEASE\"\ncmake_cxx_flags_debug = \"CMAKE_CXX_FLAGS_DEBUG\"\non=\"ON\"", - "detail": "pymake.lib.values", - "documentation": {} - }, - { - "label": "cmake_cxx_flags_debug", - "kind": 5, - "importPath": "pymake.lib.values", - "description": "pymake.lib.values", - "peekOfCode": "cmake_cxx_flags_debug = \"CMAKE_CXX_FLAGS_DEBUG\"\non=\"ON\"", - "detail": "pymake.lib.values", - "documentation": {} - } -] \ No newline at end of file diff --git a/.vscode/settings.json b/.vscode/settings.json deleted file mode 100644 index 679b479..0000000 --- a/.vscode/settings.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "python.analysis.extraPaths": [ - "./pymake" - ] -} \ No newline at end of file diff --git a/dist/pymake-0.1.0-py3-none-any.whl b/dist/pymake-0.1.0-py3-none-any.whl new file mode 100644 index 0000000..91a244b Binary files /dev/null and b/dist/pymake-0.1.0-py3-none-any.whl differ diff --git a/dist/pymake-0.1.0.tar.gz b/dist/pymake-0.1.0.tar.gz new file mode 100644 index 0000000..fc6e6fc Binary files /dev/null and b/dist/pymake-0.1.0.tar.gz differ diff --git a/pymake/.vscode/PythonImportHelper-v2-Completion.json b/pymake/.vscode/PythonImportHelper-v2-Completion.json deleted file mode 100644 index 79faa80..0000000 --- a/pymake/.vscode/PythonImportHelper-v2-Completion.json +++ /dev/null @@ -1,195 +0,0 @@ -[ - { - "label": "*", - "importPath": "lib.tools", - "description": "lib.tools", - "isExtraImport": true, - "detail": "lib.tools", - "documentation": {} - }, - { - "label": "*", - "importPath": "lib.tools", - "description": "lib.tools", - "isExtraImport": true, - "detail": "lib.tools", - "documentation": {} - }, - { - "label": "*", - "importPath": "lib.values", - "description": "lib.values", - "isExtraImport": true, - "detail": "lib.values", - "documentation": {} - }, - { - "label": "*", - "importPath": "lib.values", - "description": "lib.values", - "isExtraImport": true, - "detail": "lib.values", - "documentation": {} - }, - { - "label": "*", - "importPath": "lib.cmake", - "description": "lib.cmake", - "isExtraImport": true, - "detail": "lib.cmake", - "documentation": {} - }, - { - "label": "cmake", - "kind": 6, - "importPath": "lib.cmake", - "description": "lib.cmake", - "peekOfCode": "class cmake:\n __write_stack:\"list[str]\" = []\n __file_name = \"\"\n def __init__(self,version_min:\"str\",file_name:\"str\"=\"CMakeLists.txt\") -> None:\n self.__file_name = file_name\n self.__write_stack.append(f\"cmake_minimum_required(VERSION {version_min})\")\n def write(self)->None:\n with open(file=self.__file_name,mode=\"+w\",encoding=\"utf8\") as f:\n for i in self.__write_stack:\n f.write(i)", - "detail": "lib.cmake", - "documentation": {} - }, - { - "label": "var", - "kind": 2, - "importPath": "lib.tools", - "description": "lib.tools", - "peekOfCode": "def var(name:\"str\")->\"str\":\n return f\"${{{name}}}\"\ndef args_to_str(args:\"list[str]\")->str:\n vars_str = \"\"\n for i in args:\n vars_str=f\"{vars_str} {i}\"\n return vars_str", - "detail": "lib.tools", - "documentation": {} - }, - { - "label": "args_to_str", - "kind": 2, - "importPath": "lib.tools", - "description": "lib.tools", - "peekOfCode": "def args_to_str(args:\"list[str]\")->str:\n vars_str = \"\"\n for i in args:\n vars_str=f\"{vars_str} {i}\"\n return vars_str", - "detail": "lib.tools", - "documentation": {} - }, - { - "label": "cmake_export_compile_cmmands", - "kind": 5, - "importPath": "lib.values", - "description": "lib.values", - "peekOfCode": "cmake_export_compile_cmmands = \"CMAKE_EXPORT_COMPILE_COMMANDS\"\nproject_name=\"PROJECT_NAME\"\npublic = \"PUBLIC\"\nstatic = \"STATIC\"\nshared = \"SHARED\"\nmodule = \"MODULE\"\nprivate = \"PRIVATE\"\ninterface = \"INTERFACE\"\nglob_recurse = \"GLOB_RECURSE\"\ncmake_cxx_standard = \"CMAKE_CXX_STANDARD\"", - "detail": "lib.values", - "documentation": {} - }, - { - "label": "public", - "kind": 5, - "importPath": "lib.values", - "description": "lib.values", - "peekOfCode": "public = \"PUBLIC\"\nstatic = \"STATIC\"\nshared = \"SHARED\"\nmodule = \"MODULE\"\nprivate = \"PRIVATE\"\ninterface = \"INTERFACE\"\nglob_recurse = \"GLOB_RECURSE\"\ncmake_cxx_standard = \"CMAKE_CXX_STANDARD\"\ncmake_cxx_flags = \"CMAKE_CXX_FLAGS\"\no3 = \"-O3\"", - "detail": "lib.values", - "documentation": {} - }, - { - "label": "static", - "kind": 5, - "importPath": "lib.values", - "description": "lib.values", - "peekOfCode": "static = \"STATIC\"\nshared = \"SHARED\"\nmodule = \"MODULE\"\nprivate = \"PRIVATE\"\ninterface = \"INTERFACE\"\nglob_recurse = \"GLOB_RECURSE\"\ncmake_cxx_standard = \"CMAKE_CXX_STANDARD\"\ncmake_cxx_flags = \"CMAKE_CXX_FLAGS\"\no3 = \"-O3\"\no2 = \"-O2\"", - "detail": "lib.values", - "documentation": {} - }, - { - "label": "shared", - "kind": 5, - "importPath": "lib.values", - "description": "lib.values", - "peekOfCode": "shared = \"SHARED\"\nmodule = \"MODULE\"\nprivate = \"PRIVATE\"\ninterface = \"INTERFACE\"\nglob_recurse = \"GLOB_RECURSE\"\ncmake_cxx_standard = \"CMAKE_CXX_STANDARD\"\ncmake_cxx_flags = \"CMAKE_CXX_FLAGS\"\no3 = \"-O3\"\no2 = \"-O2\"\ncmake_cxx_flags_release = \"CMAKE_CXX_FLAGS_RELEASE\"", - "detail": "lib.values", - "documentation": {} - }, - { - "label": "module", - "kind": 5, - "importPath": "lib.values", - "description": "lib.values", - "peekOfCode": "module = \"MODULE\"\nprivate = \"PRIVATE\"\ninterface = \"INTERFACE\"\nglob_recurse = \"GLOB_RECURSE\"\ncmake_cxx_standard = \"CMAKE_CXX_STANDARD\"\ncmake_cxx_flags = \"CMAKE_CXX_FLAGS\"\no3 = \"-O3\"\no2 = \"-O2\"\ncmake_cxx_flags_release = \"CMAKE_CXX_FLAGS_RELEASE\"\ncmake_cxx_flags_debug = \"CMAKE_CXX_FLAGS_DEBUG\"", - "detail": "lib.values", - "documentation": {} - }, - { - "label": "private", - "kind": 5, - "importPath": "lib.values", - "description": "lib.values", - "peekOfCode": "private = \"PRIVATE\"\ninterface = \"INTERFACE\"\nglob_recurse = \"GLOB_RECURSE\"\ncmake_cxx_standard = \"CMAKE_CXX_STANDARD\"\ncmake_cxx_flags = \"CMAKE_CXX_FLAGS\"\no3 = \"-O3\"\no2 = \"-O2\"\ncmake_cxx_flags_release = \"CMAKE_CXX_FLAGS_RELEASE\"\ncmake_cxx_flags_debug = \"CMAKE_CXX_FLAGS_DEBUG\"\non=\"ON\"", - "detail": "lib.values", - "documentation": {} - }, - { - "label": "interface", - "kind": 5, - "importPath": "lib.values", - "description": "lib.values", - "peekOfCode": "interface = \"INTERFACE\"\nglob_recurse = \"GLOB_RECURSE\"\ncmake_cxx_standard = \"CMAKE_CXX_STANDARD\"\ncmake_cxx_flags = \"CMAKE_CXX_FLAGS\"\no3 = \"-O3\"\no2 = \"-O2\"\ncmake_cxx_flags_release = \"CMAKE_CXX_FLAGS_RELEASE\"\ncmake_cxx_flags_debug = \"CMAKE_CXX_FLAGS_DEBUG\"\non=\"ON\"", - "detail": "lib.values", - "documentation": {} - }, - { - "label": "glob_recurse", - "kind": 5, - "importPath": "lib.values", - "description": "lib.values", - "peekOfCode": "glob_recurse = \"GLOB_RECURSE\"\ncmake_cxx_standard = \"CMAKE_CXX_STANDARD\"\ncmake_cxx_flags = \"CMAKE_CXX_FLAGS\"\no3 = \"-O3\"\no2 = \"-O2\"\ncmake_cxx_flags_release = \"CMAKE_CXX_FLAGS_RELEASE\"\ncmake_cxx_flags_debug = \"CMAKE_CXX_FLAGS_DEBUG\"\non=\"ON\"", - "detail": "lib.values", - "documentation": {} - }, - { - "label": "cmake_cxx_standard", - "kind": 5, - "importPath": "lib.values", - "description": "lib.values", - "peekOfCode": "cmake_cxx_standard = \"CMAKE_CXX_STANDARD\"\ncmake_cxx_flags = \"CMAKE_CXX_FLAGS\"\no3 = \"-O3\"\no2 = \"-O2\"\ncmake_cxx_flags_release = \"CMAKE_CXX_FLAGS_RELEASE\"\ncmake_cxx_flags_debug = \"CMAKE_CXX_FLAGS_DEBUG\"\non=\"ON\"", - "detail": "lib.values", - "documentation": {} - }, - { - "label": "cmake_cxx_flags", - "kind": 5, - "importPath": "lib.values", - "description": "lib.values", - "peekOfCode": "cmake_cxx_flags = \"CMAKE_CXX_FLAGS\"\no3 = \"-O3\"\no2 = \"-O2\"\ncmake_cxx_flags_release = \"CMAKE_CXX_FLAGS_RELEASE\"\ncmake_cxx_flags_debug = \"CMAKE_CXX_FLAGS_DEBUG\"\non=\"ON\"", - "detail": "lib.values", - "documentation": {} - }, - { - "label": "o3", - "kind": 5, - "importPath": "lib.values", - "description": "lib.values", - "peekOfCode": "o3 = \"-O3\"\no2 = \"-O2\"\ncmake_cxx_flags_release = \"CMAKE_CXX_FLAGS_RELEASE\"\ncmake_cxx_flags_debug = \"CMAKE_CXX_FLAGS_DEBUG\"\non=\"ON\"", - "detail": "lib.values", - "documentation": {} - }, - { - "label": "o2", - "kind": 5, - "importPath": "lib.values", - "description": "lib.values", - "peekOfCode": "o2 = \"-O2\"\ncmake_cxx_flags_release = \"CMAKE_CXX_FLAGS_RELEASE\"\ncmake_cxx_flags_debug = \"CMAKE_CXX_FLAGS_DEBUG\"\non=\"ON\"", - "detail": "lib.values", - "documentation": {} - }, - { - "label": "cmake_cxx_flags_release", - "kind": 5, - "importPath": "lib.values", - "description": "lib.values", - "peekOfCode": "cmake_cxx_flags_release = \"CMAKE_CXX_FLAGS_RELEASE\"\ncmake_cxx_flags_debug = \"CMAKE_CXX_FLAGS_DEBUG\"\non=\"ON\"", - "detail": "lib.values", - "documentation": {} - }, - { - "label": "cmake_cxx_flags_debug", - "kind": 5, - "importPath": "lib.values", - "description": "lib.values", - "peekOfCode": "cmake_cxx_flags_debug = \"CMAKE_CXX_FLAGS_DEBUG\"\non=\"ON\"", - "detail": "lib.values", - "documentation": {} - } -] \ No newline at end of file