Yubico / yubikey-neo-manager

Cross platform personalization tool for the YubiKey NEO
https://developers.yubico.com/yubikey-neo-manager/
BSD 2-Clause "Simplified" License
56 stars 12 forks source link

qt_resources.py is in wrong folder #14

Closed ceribik closed 10 years ago

ceribik commented 10 years ago

qt_resources.py is currently in the base folder, but it should be in neoman/

$ neoman 
Traceback (most recent call last):
  File "/usr/bin/neoman", line 3, in <module>
    from neoman import main
  File "/usr/lib/python2.7/site-packages/neoman/main.py", line 30, in <module>
    import neoman.qt_resources
ImportError: No module named qt_resources
dainnilsson commented 10 years ago

That's the wrong qt_resources.py file actually. The one in the root is used by setup.py to add the command used to generate the qt_resources.py file in neoman. The naming is a bit confusing. This command is invoked as part of the build process, but you can do it manually by running "python setup.py qt_resources"

ceribik commented 10 years ago

Hmm interesting. Thanks for the clarification