Opened 20 years ago

Closed 20 years ago

Last modified 20 years ago

#26 closed defect (fixed)

Loading module inside a package can't find C-extension

Reported by: ole Owned by: ole
Priority: normal Milestone: AnuGA ready for release
Component: Architecture and API Version: 1.0
Severity: normal Keywords:
Cc:

Description

When loading a module inside a package Python can't find it's C-extension.

Example

import pyvolution.util

then util can't find its C-extension even though it exists within the pyvolution directory.

It could be solved by adding pyvolution to the PYTHONPATH, but it seems silly.

Change History (3)

comment:1 Changed 20 years ago by ole

Owner: changed from someone to ole
Status: newassigned

comment:2 Changed 20 years ago by ole

Resolution: fixed
Status: assignedclosed

comment:3 Changed 20 years ago by ole

Component: DocumentationArchitecture and API
Note: See TracTickets for help on using tickets.