dioptic.profileparser 0.2__tar.gz → 0.2.1__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.
Files changed (19) hide show
  1. {dioptic.profileparser-0.2 → dioptic.profileparser-0.2.1}/.github/workflows/pypi-packages.yml +1 -1
  2. {dioptic.profileparser-0.2 → dioptic.profileparser-0.2.1}/PKG-INFO +1 -1
  3. {dioptic.profileparser-0.2 → dioptic.profileparser-0.2.1}/dioptic.profileparser.egg-info/PKG-INFO +1 -1
  4. {dioptic.profileparser-0.2 → dioptic.profileparser-0.2.1}/python/CMakeLists.txt +2 -8
  5. {dioptic.profileparser-0.2 → dioptic.profileparser-0.2.1}/python/pyprofileparser.cpp +1 -1
  6. {dioptic.profileparser-0.2 → dioptic.profileparser-0.2.1}/setup.py +6 -1
  7. {dioptic.profileparser-0.2 → dioptic.profileparser-0.2.1}/.gitignore +0 -0
  8. {dioptic.profileparser-0.2 → dioptic.profileparser-0.2.1}/.gitlab-ci.yml +0 -0
  9. {dioptic.profileparser-0.2 → dioptic.profileparser-0.2.1}/LICENSE +0 -0
  10. {dioptic.profileparser-0.2 → dioptic.profileparser-0.2.1}/README.md +0 -0
  11. {dioptic.profileparser-0.2 → dioptic.profileparser-0.2.1}/cpp/peglib.h +0 -0
  12. {dioptic.profileparser-0.2 → dioptic.profileparser-0.2.1}/cpp/processprofile.hpp +0 -0
  13. {dioptic.profileparser-0.2 → dioptic.profileparser-0.2.1}/dioptic.profileparser.egg-info/SOURCES.txt +0 -0
  14. {dioptic.profileparser-0.2 → dioptic.profileparser-0.2.1}/dioptic.profileparser.egg-info/dependency_links.txt +0 -0
  15. {dioptic.profileparser-0.2 → dioptic.profileparser-0.2.1}/dioptic.profileparser.egg-info/top_level.txt +0 -0
  16. {dioptic.profileparser-0.2 → dioptic.profileparser-0.2.1}/js/CMakeLists.txt +0 -0
  17. {dioptic.profileparser-0.2 → dioptic.profileparser-0.2.1}/js/profile_parser_js.cpp +0 -0
  18. {dioptic.profileparser-0.2 → dioptic.profileparser-0.2.1}/pyproject.toml +0 -0
  19. {dioptic.profileparser-0.2 → dioptic.profileparser-0.2.1}/setup.cfg +0 -0
@@ -25,7 +25,7 @@ jobs:
25
25
  runs-on: windows-latest
26
26
  strategy:
27
27
  matrix:
28
- python-version: ["3.9", "3.10", "3.11"]
28
+ python-version: ["3.9", "3.10", "3.11", "3.12"]
29
29
  steps:
30
30
  - uses: actions/checkout@v3
31
31
  - uses: ilammy/msvc-dev-cmd@v1
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: dioptic.profileparser
3
- Version: 0.2
3
+ Version: 0.2.1
4
4
  Summary: Parser library for ARGOS declarative profiles.
5
5
  Home-page: https://github.com/dioptic/profileparser
6
6
  Author: Peter Würtz
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: dioptic.profileparser
3
- Version: 0.2
3
+ Version: 0.2.1
4
4
  Summary: Parser library for ARGOS declarative profiles.
5
5
  Home-page: https://github.com/dioptic/profileparser
6
6
  Author: Peter Würtz
@@ -6,18 +6,12 @@ if (NOT CMAKE_BUILD_TYPE OR CMAKE_BUILD_TYPE STREQUAL "")
6
6
  set(CMAKE_BUILD_TYPE "Release" CACHE STRING "" FORCE)
7
7
  endif()
8
8
 
9
- if(WIN32)
10
- # Prevent pybind11 from sharing resources with other, potentially ABI incompatible modules
11
- # https://github.com/pybind/pybind11/issues/2898
12
- add_definitions(-DPYBIND11_COMPILER_TYPE="_${PROJECT_NAME}_abi")
13
- endif()
14
-
15
9
  # Fetch pybind11 library
16
10
  include(FetchContent)
17
11
  FetchContent_Declare(
18
12
  pybind11
19
- GIT_REPOSITORY https://github.com/pybind/pybind11
20
- GIT_TAG v2.11.1
13
+ GIT_REPOSITORY https://github.com/pwuertz/pybind11
14
+ GIT_TAG fix_2898
21
15
  )
22
16
  FetchContent_MakeAvailable(pybind11)
23
17
 
@@ -8,7 +8,7 @@
8
8
  using namespace std::string_view_literals;
9
9
  namespace py = pybind11;
10
10
 
11
- constexpr auto VERSION = "0.2"sv;
11
+ constexpr auto VERSION = "0.2.1"sv;
12
12
 
13
13
  struct Convert {
14
14
  // Profile data types to python conversion
@@ -1,3 +1,4 @@
1
+ import sys
1
2
  import pathlib
2
3
  from setuptools import setup
3
4
  from cmake_build_extension import BuildExtension, CMakeExtension
@@ -8,7 +9,7 @@ long_description_content_type="text/markdown"
8
9
 
9
10
  setup(
10
11
  name="dioptic.profileparser",
11
- version="0.2",
12
+ version="0.2.1",
12
13
  author="Peter Würtz",
13
14
  author_email="pwuertz@gmail.com",
14
15
  url="https://github.com/dioptic/profileparser",
@@ -20,6 +21,10 @@ setup(
20
21
  name="dioptic.pyprofileparser",
21
22
  source_dir="python",
22
23
  install_prefix=".",
24
+ cmake_configure_options=[
25
+ f"-DPYTHON_EXECUTABLE={pathlib.Path(sys.executable)}",
26
+ f"-DPYTHON3_EXECUTABLE={pathlib.Path(sys.executable)}",
27
+ ],
23
28
  )],
24
29
  cmdclass=dict(build_ext=BuildExtension),
25
30
  )