Skip to content

Commit e414eb5

Browse files
committed
Changed bdist_apk to apk command
1 parent e96a6d7 commit e414eb5

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

pythonforandroid/bdist_apk.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ def finalize_options(self):
4444
# provide them
4545
if not argv_contains('--name'):
4646
name = self.distribution.get_name()
47-
print('name is', name)
4847
sys.argv.append('--name={}'.format(name))
4948
self.name = name
5049

@@ -57,7 +56,6 @@ def finalize_options(self):
5756

5857
if not argv_contains('--version'):
5958
version = self.distribution.get_version()
60-
print('version is', version)
6159
sys.argv.append('--version={}'.format(version))
6260

6361
if not argv_contains('--arch'):
@@ -107,7 +105,6 @@ def prepare_build_dir(self):
107105

108106
# This feels ridiculous, but how else to define the main.py dir?
109107
# Maybe should just fail?
110-
print('main_py_dirs', main_py_dirs)
111108
if len(main_py_dirs) == 0:
112109
print('ERROR: Could not find main.py, so no app build dir defined')
113110
print('You should name your app entry point main.py')
@@ -118,7 +115,6 @@ def prepare_build_dir(self):
118115

119116
sys.argv.append('--private={}'.format(join(realpath(curdir), bdist_dir,
120117
dirname(main_py_dirs[0]))))
121-
print('new argv', sys.argv)
122118

123119

124120
def _set_user_options():

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ def recursively_include(results, directory, patterns):
5757
'p4a = pythonforandroid.toolchain:main',
5858
],
5959
'distutils.commands': [
60-
'bdist_apk = pythonforandroid.bdist_apk:BdistAPK',
60+
'apk = pythonforandroid.bdist_apk:BdistAPK',
6161
],
6262
},
6363
classifiers = [

0 commit comments

Comments
 (0)