55import sys
66from setuptools import setup
77from os .path import dirname , join
8- import codecs
98import os
109import re
11- import io
1210
1311here = os .path .abspath (os .path .dirname (__file__ ))
1412
3028def 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
4543curdir = 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
5149setup (
@@ -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