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