IncludeCPP 2.5__tar.gz → 2.5.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {includecpp-2.5 → includecpp-2.5.2}/IncludeCPP.egg-info/PKG-INFO +2 -2
- {includecpp-2.5 → includecpp-2.5.2}/PKG-INFO +2 -2
- {includecpp-2.5 → includecpp-2.5.2}/README.md +1 -1
- {includecpp-2.5 → includecpp-2.5.2}/includecpp/__init__.py +1 -1
- {includecpp-2.5 → includecpp-2.5.2}/includecpp/cli/commands.py +8 -2
- {includecpp-2.5 → includecpp-2.5.2}/includecpp/core/error_formatter.py +8 -21
- {includecpp-2.5 → includecpp-2.5.2}/pyproject.toml +1 -1
- {includecpp-2.5 → includecpp-2.5.2}/setup.py +1 -1
- {includecpp-2.5 → includecpp-2.5.2}/IncludeCPP.egg-info/SOURCES.txt +0 -0
- {includecpp-2.5 → includecpp-2.5.2}/IncludeCPP.egg-info/dependency_links.txt +0 -0
- {includecpp-2.5 → includecpp-2.5.2}/IncludeCPP.egg-info/entry_points.txt +0 -0
- {includecpp-2.5 → includecpp-2.5.2}/IncludeCPP.egg-info/requires.txt +0 -0
- {includecpp-2.5 → includecpp-2.5.2}/IncludeCPP.egg-info/top_level.txt +0 -0
- {includecpp-2.5 → includecpp-2.5.2}/LICENSE +0 -0
- {includecpp-2.5 → includecpp-2.5.2}/MANIFEST.in +0 -0
- {includecpp-2.5 → includecpp-2.5.2}/includecpp/__init__.pyi +0 -0
- {includecpp-2.5 → includecpp-2.5.2}/includecpp/__main__.py +0 -0
- {includecpp-2.5 → includecpp-2.5.2}/includecpp/cli/__init__.py +0 -0
- {includecpp-2.5 → includecpp-2.5.2}/includecpp/cli/config_parser.py +0 -0
- {includecpp-2.5 → includecpp-2.5.2}/includecpp/core/__init__.py +0 -0
- {includecpp-2.5 → includecpp-2.5.2}/includecpp/core/build_manager.py +0 -0
- {includecpp-2.5 → includecpp-2.5.2}/includecpp/core/cpp_api.py +0 -0
- {includecpp-2.5 → includecpp-2.5.2}/includecpp/core/cpp_api.pyi +0 -0
- {includecpp-2.5 → includecpp-2.5.2}/includecpp/core/exceptions.py +0 -0
- {includecpp-2.5 → includecpp-2.5.2}/includecpp/core/path_discovery.py +0 -0
- {includecpp-2.5 → includecpp-2.5.2}/includecpp/generator/__init__.py +0 -0
- {includecpp-2.5 → includecpp-2.5.2}/includecpp/generator/parser.cpp +0 -0
- {includecpp-2.5 → includecpp-2.5.2}/includecpp/generator/parser.h +0 -0
- {includecpp-2.5 → includecpp-2.5.2}/includecpp/generator/type_resolver.cpp +0 -0
- {includecpp-2.5 → includecpp-2.5.2}/includecpp/generator/type_resolver.h +0 -0
- {includecpp-2.5 → includecpp-2.5.2}/includecpp/templates/cpp.proj.template +0 -0
- {includecpp-2.5 → includecpp-2.5.2}/requirements.txt +0 -0
- {includecpp-2.5 → includecpp-2.5.2}/setup.cfg +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: IncludeCPP
|
|
3
|
-
Version: 2.5
|
|
3
|
+
Version: 2.5.2
|
|
4
4
|
Summary: Professional C++ Python bindings with type-generic templates, pystubs and native threading
|
|
5
5
|
Home-page: https://github.com/includecpp/includecpp
|
|
6
6
|
Author: IncludeCPP Team
|
|
@@ -368,5 +368,5 @@ api.exists("module_name") # Check if module exists
|
|
|
368
368
|
---
|
|
369
369
|
|
|
370
370
|
**License:** MIT
|
|
371
|
-
**Version:** 2.5
|
|
371
|
+
**Version:** 2.5.2
|
|
372
372
|
**Repository:** https://github.com/liliassg/IncludeCPP
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: IncludeCPP
|
|
3
|
-
Version: 2.5
|
|
3
|
+
Version: 2.5.2
|
|
4
4
|
Summary: Professional C++ Python bindings with type-generic templates, pystubs and native threading
|
|
5
5
|
Home-page: https://github.com/includecpp/includecpp
|
|
6
6
|
Author: IncludeCPP Team
|
|
@@ -368,5 +368,5 @@ api.exists("module_name") # Check if module exists
|
|
|
368
368
|
---
|
|
369
369
|
|
|
370
370
|
**License:** MIT
|
|
371
|
-
**Version:** 2.5
|
|
371
|
+
**Version:** 2.5.2
|
|
372
372
|
**Repository:** https://github.com/liliassg/IncludeCPP
|
|
@@ -546,8 +546,9 @@ def _check_for_updates_silent():
|
|
|
546
546
|
help='Fast incremental rebuild of single plugin (e.g., algorithms.cp)')
|
|
547
547
|
@click.option('--all', 'fast_all', is_flag=True, help='With --fast: rebuild all plugins incrementally')
|
|
548
548
|
@click.option('--info', is_flag=True, help='Show detailed analysis report of the last build')
|
|
549
|
+
@click.argument('module_args', nargs=-1)
|
|
549
550
|
def rebuild(clean, full, verbose, no_incremental, incremental, parallel, jobs, modules,
|
|
550
|
-
build_paths, fast_plugin, fast_all, info):
|
|
551
|
+
build_paths, fast_plugin, fast_all, info, module_args):
|
|
551
552
|
"""v2.0: Rebuild C++ modules with incremental and parallel support."""
|
|
552
553
|
from ..core.build_manager import BuildManager
|
|
553
554
|
from ..core.error_formatter import BuildErrorFormatter, BuildSuccessFormatter
|
|
@@ -555,6 +556,11 @@ def rebuild(clean, full, verbose, no_incremental, incremental, parallel, jobs, m
|
|
|
555
556
|
import json
|
|
556
557
|
from datetime import datetime
|
|
557
558
|
|
|
559
|
+
# Combine -m modules with positional arguments
|
|
560
|
+
# Allows both: includecpp rebuild -m gamekit AND includecpp rebuild gamekit
|
|
561
|
+
all_modules = list(modules) + list(module_args)
|
|
562
|
+
modules = tuple(all_modules) if all_modules else modules
|
|
563
|
+
|
|
558
564
|
# v2.4.13: Check for updates (non-blocking)
|
|
559
565
|
update_info = _check_for_updates_silent()
|
|
560
566
|
if update_info:
|
|
@@ -1259,7 +1265,7 @@ def get(module_name):
|
|
|
1259
1265
|
click.echo(f"| from includecpp import CppApi")
|
|
1260
1266
|
click.echo(f"|")
|
|
1261
1267
|
click.echo(f"| cpp = CppApi()")
|
|
1262
|
-
click.echo(f"| {module_name} = cpp.{module_name}")
|
|
1268
|
+
click.echo(f"| {module_name} = cpp.include(\"{module_name}\")")
|
|
1263
1269
|
click.echo(f"|")
|
|
1264
1270
|
if functions:
|
|
1265
1271
|
first_func = functions[0].get('name', 'function')
|
|
@@ -637,32 +637,19 @@ but '{bad_class}' doesn't have a member called '{bad_method}'.
|
|
|
637
637
|
|
|
638
638
|
return f"""
|
|
639
639
|
+======================================================================+
|
|
640
|
-
|
|
|
640
|
+
| BUILD ERROR - TRY REBUILDING WITH --full |
|
|
641
641
|
+======================================================================+
|
|
642
|
-
|
|
643
|
-
The error occurred in 'bindings.cpp' - this is an AUTO-GENERATED file.
|
|
644
|
-
You should NOT edit bindings.cpp directly.
|
|
645
642
|
{specific_hint}
|
|
646
|
-
|
|
647
|
-
Your .cp plugin file contains incorrect METHOD() or CONSTRUCTOR() entries
|
|
648
|
-
that don't match the actual C++ code.
|
|
649
|
-
|
|
650
|
-
This usually happens when:
|
|
651
|
-
- The .cp file was generated with an older version of IncludeCPP
|
|
652
|
-
- The C++ code changed but the .cp file wasn't regenerated
|
|
653
|
-
- The plugin generator had a bug (now fixed in v2.4.11+)
|
|
643
|
+
The plugin generator may be outdated. Run:
|
|
654
644
|
|
|
655
|
-
|
|
656
|
-
1. Delete the old .cp file:
|
|
657
|
-
del plugins\\{module if module else '<module_name>'}.cp
|
|
645
|
+
includecpp rebuild --full
|
|
658
646
|
|
|
659
|
-
|
|
660
|
-
includecpp plugin {module if module else '<name>'} include/<source>.cpp include/<header>.h
|
|
661
|
-
|
|
662
|
-
3. Rebuild:
|
|
663
|
-
includecpp rebuild --full
|
|
647
|
+
This rebuilds the generator and all modules from scratch.
|
|
664
648
|
|
|
665
|
-
|
|
649
|
+
If that doesn't work, regenerate your .cp file:
|
|
650
|
+
1. del plugins\\{module if module else '<module_name>'}.cp
|
|
651
|
+
2. includecpp plugin {module if module else '<name>'} include/<source>.cpp include/<header>.h
|
|
652
|
+
3. includecpp rebuild --full
|
|
666
653
|
"""
|
|
667
654
|
|
|
668
655
|
@staticmethod
|
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "IncludeCPP"
|
|
7
|
-
version = "2.5"
|
|
7
|
+
version = "2.5.2"
|
|
8
8
|
description = "Professional C++ Python bindings with type-generic templates, pystubs and native threading"
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
requires-python = ">=3.8"
|
|
@@ -6,7 +6,7 @@ long_description = (this_directory / "README.md").read_text(encoding="utf-8")
|
|
|
6
6
|
|
|
7
7
|
setup(
|
|
8
8
|
name="IncludeCPP",
|
|
9
|
-
version="2.5",
|
|
9
|
+
version="2.5.2",
|
|
10
10
|
author="IncludeCPP Team",
|
|
11
11
|
author_email="contact@includecpp.dev",
|
|
12
12
|
description="Professional C++ Python bindings with type-generic templates and native threading",
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|