Skip to content

Commit 14bc7d8

Browse files
committed
Added bdist_apk Command
1 parent 25aa9a9 commit 14bc7d8

File tree

2 files changed

+15
-1
lines changed

2 files changed

+15
-1
lines changed

pythonforandroid/bdist_apk.py

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
from __future__ import print_function
2+
from setuptools import Command
3+
from pythonforandroid import toolchain
4+
5+
class BdistAPK(Command):
6+
user_options = []
7+
def initialize_options(sel):
8+
print('initialising!')
9+
10+
def finalize_options(self):
11+
print('finalising!')
12+
13+
def run(self):
14+
print('running!')

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
'python-for-android = pythonforandroid.toolchain:ToolchainCL',
1717
],
1818
'distutils.commands': [
19-
'apktest = pythonforandroid.toolchain:test_setuptools_entry',
19+
'apktest = pythonforandroid.bdist_apk:BdistAPK',
2020
],
2121
},
2222
)

0 commit comments

Comments
 (0)