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

:rotating light: Fix linting for setup.py #2158

Merged
merged 2 commits into from
Apr 26, 2020
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
6 changes: 3 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
from io import open # for open(..,encoding=...) parameter in python 2
from os import walk
from os.path import join, dirname, sep
import os
import re
from setuptools import setup, find_packages

Expand All @@ -17,7 +16,6 @@
data_files = []



# must be a single statement since buildozer is currently parsing it, refs:
# https://github.com/kivy/buildozer/issues/722
install_reqs = [
Expand All @@ -27,6 +25,7 @@
]
# (pep517 and toml are used by pythonpackage.py)


# 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 All @@ -42,6 +41,7 @@ def recursively_include(results, directory, patterns):
results[directory] = []
results[directory].append(join(*filename.split(sep)[1:]))


recursively_include(package_data, 'pythonforandroid/recipes',
['*.patch', 'Setup*', '*.pyx', '*.py', '*.c', '*.h',
'*.mk', '*.jam', ])
Expand Down Expand Up @@ -104,7 +104,7 @@ def recursively_include(results, directory, patterns):
'aar = pythonforandroid.bdistapk:BdistAAR',
],
},
classifiers = [
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ commands =

[testenv:pep8]
deps = flake8
commands = flake8 pythonforandroid/ tests/ ci/
commands = flake8 pythonforandroid/ tests/ ci/ setup.py

[flake8]
ignore =
Expand Down