Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ to install and begin creating APKs and AABs.

(for the develop branch: `pip install git+https://github.com/kivy/python-for-android.git`)

Test that theinstall works with:
Test that the install works with:

p4a --version

Expand Down
6 changes: 3 additions & 3 deletions pythonforandroid/pythonpackage.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,17 @@
Usage examples:

# Getting package name from pip reference:
from pytonforandroid.pythonpackage import get_package_name
from pythonforandroid.pythonpackage import get_package_name
print(get_package_name("pillow"))
# Outputs: "Pillow" (note the spelling!)

# Getting package dependencies:
from pytonforandroid.pythonpackage import get_package_dependencies
from pythonforandroid.pythonpackage import get_package_dependencies
print(get_package_dependencies("pep517"))
# Outputs: "['pytoml']"

# Get package name from arbitrary package source:
from pytonforandroid.pythonpackage import get_package_name
from pythonforandroid.pythonpackage import get_package_name
print(get_package_name("/some/local/project/folder/"))
# Outputs package name

Expand Down