Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow installation on Windows #902

Merged
merged 1 commit into from
Nov 1, 2016
Merged
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
11 changes: 9 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,14 @@

data_files = []


if os.name == 'nt':
install_reqs = ['appdirs', 'colorama>=0.3.3', 'jinja2',
'six']
else:
install_reqs = ['appdirs', 'colorama>=0.3.3', 'sh>=1.10', 'jinja2',
'six']

# By specifying every file manually, package_data will be able to
# include them in binary distributions. Note that we have to add
# everything as a 'pythonforandroid' rule, using '' apparently doesn't
Expand Down Expand Up @@ -50,8 +58,7 @@ def recursively_include(results, directory, patterns):
author_email='kivy-dev@googlegroups.com',
url='https://github.com/kivy/python-for-android',
license='MIT',
install_requires=['appdirs', 'colorama>=0.3.3', 'sh>=1.10', 'jinja2',
'six'],
install_requires=install_reqs,
entry_points={
'console_scripts': [
'python-for-android = pythonforandroid.toolchain:main',
Expand Down