• Skip to sidebar navigation
  • Skip to content

Bitbucket

  • More
    ProjectsRepositories
  • Help
    • Online help
    • Learn Git
    • Welcome to Bitbucket
    • Keyboard shortcuts
  • Log In
Alexander Dahl
  1. Alexander Dahl

buildroot

Public
Actions
  • Clone
  • Compare

Learn more about cloning repositories

You have read-only access

Navigation
  • Source
  • Commits
  • Branches
  • All Branches Graph
  • Forks
  1. Alexander Dahl
  2. buildroot

Source

buildroot/package/python-nfc/python-nfc-add-setup-py.patch
Simon DawsonSimon Dawson committed 5b1e84b6e0610 Jan 2014
Raw file
Source viewDiff to previous
xxxxxxxxxx
 
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
+      )
  • Git repository management for enterprise teams powered by Atlassian Bitbucket
  • Atlassian Bitbucket v6.7.2
  • Documentation
  • Request a feature
  • About
  • Contact Atlassian
Atlassian

Everything looks good. We'll let you know here if there's anything you should know about.