coolbho3k / manuf

Parser library for Wireshark's OUI database.
Other
120 stars 36 forks source link

Strange import path #8

Closed Informatic closed 4 years ago

Informatic commented 7 years ago

Hey, It seems like current version published on pip (and master here as well) exposes MacParser class in manuf.manuf.MacParser path. This is pretty strange, and makes an example in README slightly wrong (import manuf ; p = manuf.MacParser())

You can either from .manuf import MacParser in manuf/__init__.py as a backward-compatible solution, or just get rid of manuf.py all together and move everything over to __init__.py.