You're Invited:Meet the Socket Team at RSAC and BSidesSF 2026, March 23–26.RSVP
Socket
Book a DemoSign in
Socket

cppython

Package Overview
Dependencies
Maintainers
1
Versions
121
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cppython - pypi Package Compare versions

Comparing version
0.7.1.dev30
to
0.7.1.dev31
+4
-1
cppython/builder.py

@@ -15,2 +15,3 @@ """Everything needed to build a CPPython project

from cppython_core.resolution import (
PluginBuildData,
resolve_cppython,

@@ -46,2 +47,3 @@ resolve_cppython_plugin,

cppython_configuration: CPPythonLocalConfiguration,
plugin_build_date: PluginBuildData,
) -> CoreData:

@@ -54,2 +56,3 @@ """Parses and returns resolved data from all configuration sources

cppython_configuration: Tool configuration
plugin_build_date: Build data

@@ -74,3 +77,3 @@ Raises:

cppython_data = resolve_cppython(cppython_configuration, global_configuration, project_data)
cppython_data = resolve_cppython(cppython_configuration, global_configuration, project_data, plugin_build_date)

@@ -77,0 +80,0 @@ return CoreData(project_data=project_data, pep621_data=pep621_data, cppython_data=cppython_data)

+7
-10

@@ -9,3 +9,3 @@ """Manages data flow to and from plugins

from cppython_core.exceptions import ConfigError, PluginError
from cppython_core.resolution import resolve_name
from cppython_core.resolution import PluginBuildData, resolve_name
from cppython_core.schema import CoreData, Interface, ProjectConfiguration, PyProject

@@ -38,11 +38,4 @@ from pydantic import ValidationError

try:
if (pyproject := PyProject(**pyproject_data)) is None:
raise ConfigError("Table [project] is not defined")
pyproject = PyProject(**pyproject_data)
if pyproject.tool is None:
raise ConfigError("Table [tool] is not defined")
if pyproject.tool.cppython is None:
raise ConfigError("Table [tool.cppython] is not defined")
builder = Builder(self.logger)

@@ -69,4 +62,8 @@

pyproject_build_data = PluginBuildData(generator_type=generator_type, provider_type=provider_type)
# Once the plugins are resolved, the core data is complete and can be generated
self._core_data = builder.generate_core_data(configuration, pyproject.project, pyproject.tool.cppython)
self._core_data = builder.generate_core_data(
configuration, pyproject.project, pyproject.tool.cppython, pyproject_build_data
)

@@ -73,0 +70,0 @@ # Create the chosen plugins

Metadata-Version: 2.1
Name: cppython
Version: 0.7.1.dev30
Version: 0.7.1.dev31
Summary: A Python management solution for C++ dependencies

@@ -5,0 +5,0 @@ License: MIT

@@ -19,3 +19,3 @@ [project]

]
version = "0.7.1.dev30"
version = "0.7.1.dev31"

@@ -22,0 +22,0 @@ [project.license-files]