diff --git a/.gitignore b/.gitignore index d0780a24..6e7fdaa3 100644 --- a/.gitignore +++ b/.gitignore @@ -25,3 +25,5 @@ __pycache__/ src/*.egg-info/ .venv/ .vscode/ +_ReSharper.Caches/ +TestResults/ diff --git a/dali-rp2.pyproj b/dali-rp2.pyproj new file mode 100644 index 00000000..cace7b5b --- /dev/null +++ b/dali-rp2.pyproj @@ -0,0 +1,119 @@ + + + + Debug + 2.0 + {21de6965-e7a9-45bf-bc35-9aafe37f7ddf} + + src\dali\plugin\country\us.py + + . + . + {888888a0-9f3d-457c-b088-3a5042f75d52} + Standard Python launcher + MSBuild|.venv|$(MSBuildProjectFullPath) + -t 1 -s -o output -p test_ config\test_config.ini + False + pytest + test*.py + tests + LOG_LEVEL=DEBUG + + + + + 10.0 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + .venv + .venv (Python 3.9) + Scripts\python.exe + Scripts\pythonw.exe + 3.9 + X64 + PYTHONPATH + + + + \ No newline at end of file diff --git a/dali-rp2.sln b/dali-rp2.sln new file mode 100644 index 00000000..580b7a18 --- /dev/null +++ b/dali-rp2.sln @@ -0,0 +1,23 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.6.33513.286 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{888888A0-9F3D-457C-B088-3A5042F75D52}") = "dali-rp2", "dali-rp2.pyproj", "{21DE6965-E7A9-45BF-BC35-9AAFE37F7DDF}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {21DE6965-E7A9-45BF-BC35-9AAFE37F7DDF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {21DE6965-E7A9-45BF-BC35-9AAFE37F7DDF}.Release|Any CPU.ActiveCfg = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {939DD0FF-121C-4BCB-9181-BCB6BBEEA96E} + EndGlobalSection +EndGlobal diff --git a/src/dali/plugin/country/jp.py b/src/dali/plugin/country/jp.py index 4712cca6..86045812 100644 --- a/src/dali/plugin/country/jp.py +++ b/src/dali/plugin/country/jp.py @@ -21,3 +21,8 @@ # JP-specific entry point def dali_entry() -> None: dali_main(JP()) + +# This traditional entry point is used for debugging purposes only, dali_entry() +# is normally called through the use of an installed console script in setup.py. +if __name__ == '__main__': + dali_entry() diff --git a/src/dali/plugin/country/us.py b/src/dali/plugin/country/us.py index 8fd497bb..658df9cb 100644 --- a/src/dali/plugin/country/us.py +++ b/src/dali/plugin/country/us.py @@ -21,3 +21,8 @@ # US-specific entry point def dali_entry() -> None: dali_main(US()) + +# This traditional entry point is used for debugging purposes only, dali_entry() +# is normally called through the use of an installed console script in setup.py. +if __name__ == '__main__': + dali_entry()