Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • P PyAV
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 37
    • Issues 37
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 26
    • Merge requests 26
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • PyAV
  • PyAV
  • Merge requests
  • !717

Add cimport support

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Administrator requested to merge github/fork/pupil-labs/cimport-support into main Oct 30, 2020
  • Overview 1
  • Commits 2
  • Pipelines 0
  • Changes 10

Created by: papr

Attempt to implement #716 (closed)

Test setup:

pip install git+https://github.com/romanroibu/pupil-core-pyav-extension@a6e28fd0fd089af08182be1ca151084bc63beb03
python -c "import pupil_av.test"

pupil_av/test.pyx content:

from av.buffer cimport Buffer

cdef Buffer test_buffer = Buffer()
print(test_buffer)

Therefore the expected output of the test setup is <av.buffer.Buffer object at 0xaddress>.

In order for this to work, pupil-core-pyav-extension requires av to be a build requirement (defined in pyproject.toml) and to be a runtime requirement (defined in setup.cfg). Currently, both point to this PR.

To be fixed

  • Currently, this PR only includes pxd files that are part of the av folder. It would be great if we found a solution to include the include/*.pxd files as well.
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: github/fork/pupil-labs/cimport-support