Extra Python <-> .NET marshallers
Перейти к файлу
Victor 62cb929e77
Ensure new tests can be easily authored and are run by CI #2
Tests now consume two environment variables: PYTHON_VERSION and PYTHON_HOME, which are set in CI.

This also adds a note into README, explaining how to run tests manually.
2020-04-12 17:58:18 -07:00
.github/workflows Ensure new tests can be easily authored and are run by CI #2 2020-04-12 17:58:18 -07:00
src skeleton solution 2020-03-09 18:14:59 -07:00
tests Ensure new tests can be easily authored and are run by CI #2 2020-04-12 17:58:18 -07:00
.editorconfig skeleton solution 2020-03-09 18:14:59 -07:00
.gitignore Ensure new tests can be easily authored and are run by CI #2 2020-04-12 17:58:18 -07:00
Codecs.sln enable CI 2020-03-09 18:29:23 -07:00
LICENSE Initial commit 2020-03-09 17:59:03 -07:00
README.rst Ensure new tests can be easily authored and are run by CI #2 2020-04-12 17:58:18 -07:00

README.rst

Extra marshaling codecs for Python.NET
======================================

Running tests manually
----------------------

Set PYTHON_HOME and PYTHON_VERSION environment variables. If using Visual Studio,
this has to be done before launching Visual Studio.

Alternatively,
create LAUNCH.cs file in Codecs.Tests project, and add the following code there:

.. code-block:: csharp

    partial class TestsRuntimeConfig
    {
        static TestsRuntimeConfig()
        {
            Environment.SetEnvironmentVariable("PYTHON_HOME", @"PATH/TO/PYHOME");
            Environment.SetEnvironmentVariable("PYTHON_VERSION", "3.5");
        }
    }

Resources
---------
Mailing list: https://mail.python.org/mailman/listinfo/pythondotnet
Chat: https://gitter.im/pythonnet/pythonnet