python-nfc-add-setup-py.patch 745 B

1234567891011121314151617181920212223242526
  1. Add simple setup.py
  2. Having a setup.py allows to easily get the .py files compiled into
  3. .pyc, which is good because by default, Buildroot only keeps .pyc
  4. files on the target.
  5. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
  6. Index: b/setup.py
  7. ===================================================================
  8. --- /dev/null
  9. +++ b/setup.py
  10. @@ -0,0 +1,13 @@
  11. +#!/usr/bin/env python
  12. +
  13. +from distutils.core import setup
  14. +
  15. +setup(name='NFC',
  16. + version='1.0',
  17. + description='Python NFC',
  18. + author='Stephen Tiedemann',
  19. + author_email='stephen.tiedemann@googlemail.com',
  20. + url='https://launchpad.net/nfcpy',
  21. + packages=['nfc', 'nfc/dev', 'nfc/llcp', 'nfc/ndef',
  22. + 'nfc/snep'],
  23. + )