5a5145271b552c1aacdb258729e6600c16fbb598
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / buildroot-2015.05 / package / python-nfc / 0001-add-setup-py.patch
1 Add simple setup.py
2
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.
6
7 Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8
9 Index: b/setup.py
10 ===================================================================
11 --- /dev/null
12 +++ b/setup.py
13 @@ -0,0 +1,13 @@
14 +#!/usr/bin/env python
15 +
16 +from distutils.core import setup
17 +
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 +      )