Staging
v0.8.1
https://github.com/python/cpython
Revision b007a9be6fab6d55deae070e5eaef9755794e169 authored by Miss Islington (bot) on 14 September 2020, 19:47:40 UTC, committed by GitHub on 14 September 2020, 19:47:40 UTC

NuGet automatically includes .props file from the build directory in the
target using the package, but only if the .props file has the correct
name: it must be $(id).props

Rename python.props correspondingly in all the nuspec variants. Also
keep python.props as it were for backward compatibility.
(cherry picked from commit 7c11a9accabe3720940f334eb1226bb7bb9179c7)

Co-authored-by: Václav Slavík <vaclav@slavik.io>
1 parent 3c618d0
Raw File
Tip revision: b007a9be6fab6d55deae070e5eaef9755794e169 authored by Miss Islington (bot) on 14 September 2020, 19:47:40 UTC
bpo-41744: Package python.props with correct name in NuGet package (GH-22154)
Tip revision: b007a9b
getversion.c

/* Return the full version string. */

#include "Python.h"

#include "patchlevel.h"

const char *
Py_GetVersion(void)
{
    static char version[250];
    PyOS_snprintf(version, sizeof(version), "%.80s (%.80s) %.80s",
                  PY_VERSION, Py_GetBuildInfo(), Py_GetCompiler());
    return version;
}
back to top