Skip to content

Packaging and dependencies #47

@Cheaterman

Description

@Cheaterman

Since #42 we no longer have a hard dependency on pyzbar. I asked the PyPA people how to handle that (possibly with extras) but it doesn't seem like require_extras supports negative requirements (which is what would be ideal here).

The other suggestion was to publish zbarcam as a mostly empty package, with a dependency on zbarcam-pyzbar, and have zbarcam-pyzbar and zbarcam-zbarlight be separate packages on PyPI. That way, if someone cares about the backend, they install the backend-specific package ; if not, they just install zbarcam as usual and get pyzbar as usual.

I'm not sure what you guys feel like would be more correct (and least problematic for existing users), so that's why I opened this issue. Let's discuss :-)

Metadata

Metadata

Assignees

No one assigned

    Labels

    dependenciesPull requests that update a dependency fileenhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions