Skip to content

Commit f2c17c7

Browse files
committed
Split default.spec so it's easier for the user to navigate
1 parent 2597e4e commit f2c17c7

File tree

2 files changed

+10
-8
lines changed

2 files changed

+10
-8
lines changed

buildozer/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
77
'''
88

9-
__version__ = '1.5.1.dev0'
9+
__version__ = '1.5.2.dev0'
1010

1111
import json
1212
from fnmatch import fnmatch

setup.py

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,8 @@
55
import sys
66
from setuptools import setup
77
from os.path import dirname, join
8-
import codecs
98
import os
109
import re
11-
import io
1210

1311
here = os.path.abspath(os.path.dirname(__file__))
1412

@@ -30,7 +28,7 @@
3028
def find_version(*file_paths):
3129
# Open in Latin-1 so that we avoid encoding errors.
3230
# Use codecs.open for Python 2 compatibility
33-
with codecs.open(os.path.join(here, *file_paths), 'r', 'utf-8') as f:
31+
with open(os.path.join(here, *file_paths), encoding='utf-8') as f:
3432
version_file = f.read()
3533

3634
# The version line must have the form
@@ -43,9 +41,9 @@ def find_version(*file_paths):
4341

4442

4543
curdir = dirname(__file__)
46-
with io.open(join(curdir, "README.md"), encoding="utf-8") as fd:
44+
with open(join(curdir, "README.md"), encoding="utf-8") as fd:
4745
readme = fd.read()
48-
with io.open(join(curdir, "CHANGELOG.md"), encoding="utf-8") as fd:
46+
with open(join(curdir, "CHANGELOG.md"), encoding="utf-8") as fd:
4947
changelog = fd.read()
5048

5149
setup(
@@ -68,7 +66,8 @@ def find_version(*file_paths):
6866
packages=[
6967
'buildozer', 'buildozer.targets', 'buildozer.libs', 'buildozer.scripts'
7068
],
71-
package_data={'buildozer': ['default.spec', 'default-*.json']},
69+
package_data={'buildozer': ['default.spec', 'default-android.json',
70+
'default-ios.json', 'default-osx.json']},
7271
include_package_data=True,
7372
install_requires=[
7473
'pexpect',
@@ -79,7 +78,7 @@ def find_version(*file_paths):
7978
# here.
8079
# Restricted version because python-for-android's recipes can't handle
8180
# later versions.
82-
'cython<3.0'
81+
'cython<3.12'
8382
],
8483
extras_require={
8584
'test': ['pytest'],
@@ -95,6 +94,9 @@ def find_version(*file_paths):
9594
'Programming Language :: Python :: 3.9',
9695
'Programming Language :: Python :: 3.10',
9796
'Programming Language :: Python :: 3.11',
97+
'Programming Language :: Python :: 3.12',
98+
'Programming Language :: Python :: 3.13',
99+
'Programming Language :: Python :: 3.14',
98100
],
99101
entry_points={
100102
'console_scripts': [

0 commit comments

Comments
 (0)