11[build-system ]
22requires = [
3- " setuptools>= 68.0.0,<69 " ,
4- " wheel>=0.40.0,<0.41 " ,
3+ " setuptools== 68.0.0" ,
4+ " wheel==0.41.1 " ,
55]
66build-backend = " setuptools.build_meta"
77
@@ -10,7 +10,7 @@ version="1.16.1"
1010name = " icloudpd"
1111description = " icloudpd is a command-line tool to download photos and videos from iCloud."
1212readme = " README_PYPI.md"
13- requires-python = " >=3.7 ,<3.12"
13+ requires-python = " >=3.8 ,<3.12"
1414keywords = [" icloud" , " photo" ]
1515license = {file =" LICENSE.md" }
1616authors =[
@@ -23,41 +23,49 @@ classifiers = [
2323 " License :: OSI Approved :: MIT License" ,
2424]
2525dependencies = [
26- " requests>=2.28.2,<3 " ,
27- " schema>= 0.7.5,<0.8 " ,
28- " click>= 8.1.3,<9 " ,
29- " python-dateutil>= 2.8.2,<3 " ,
30- " tqdm>=4.64.1,<5 " ,
31- " piexif>= 1.1.3,<2 " ,
32- " urllib3>= 1.26.14,<2 " ,
26+ " requests==2.31.0 " ,
27+ " schema== 0.7.5" ,
28+ " click== 8.1.6 " ,
29+ " python-dateutil== 2.8.2" ,
30+ " tqdm==4.66.0 " ,
31+ " piexif== 1.1.3" ,
32+ " urllib3== 1.26.16 " ,
3333 # from pyicloud_ipd
34- " six>= 1.16.0,<2 " ,
35- " tzlocal>=4.2,<5 " ,
36- " pytz>= 2022.7.1,<2023 " ,
37- " certifi>= 2022.12.7,<2023 " ,
38- " future>= 0.18.3,<0.19 " ,
39- " keyring>= 23.13.1,<24 " ,
40- " keyrings-alt>= 4.2.0,<5 "
34+ " six== 1.16.0" ,
35+ " tzlocal==4.3.1 " ,
36+ " pytz== 2022.7.1" ,
37+ " certifi== 2022.12.7" ,
38+ " future== 0.18.3" ,
39+ " keyring== 23.13.1" ,
40+ " keyrings-alt== 4.2.0"
4141]
4242
4343[project .optional-dependencies ]
4444dev = [
45- " twine>= 4.0.0,<5 " ,
46- " pyinstaller>=5.7.0,<6 " ,
47- " wheel>=0.40.0,<0.41 " ,
48- " auditwheel>= 5.4.0,<5.5 "
45+ " twine== 4.0.2 " ,
46+ " pyinstaller==5.13.0 " ,
47+ " wheel==0.41.1 " ,
48+ " auditwheel== 5.4.0"
4949]
5050test = [
51- " pytest>=7.2.1,<8" ,
52- " mock>=5.0.1,<6" ,
53- " freezegun>=1.2.2,<2" ,
54- " vcrpy>=4.2.1,<5" ,
55- " pytest-cov>=4.0.0,<5" ,
56- " pylint>=2.15.10,<3" ,
57- " coveralls>=3.3.1,<4" ,
58- " autopep8>=2.0.1,<3" ,
59- " pytest-timeout>=2.1.0,<3" ,
60- " pytest-xdist>=3.1.0,<4"
51+ " pytest==7.4.0" ,
52+ " mock==5.1.0" ,
53+ " freezegun==1.2.2" ,
54+ " vcrpy==4.4.0" ,
55+ " pytest-cov==4.1.0" ,
56+ " pylint==2.17.5" ,
57+ " coveralls==3.3.1" ,
58+ " autopep8==2.0.2" ,
59+ " pytest-timeout==2.1.0" ,
60+ " pytest-xdist==3.3.1" ,
61+ " mypy==1.5.0" ,
62+ " types-pytz==2022.7.1.2" ,
63+ " types-tzlocal==4.3.0.0" ,
64+ " types-requests==2.31.0.2" ,
65+ " types-six==1.16.0" ,
66+ " types-urllib3==1.26.16" ,
67+ " types-tqdm==4.66.0.1" ,
68+ " types-mock==5.1.0.1"
6169]
6270
6371[project .urls ]
@@ -72,12 +80,18 @@ log_format = "%(levelname)-8s %(message)s"
7280log_date_format = " %Y-%m-%d %H:%M:%S"
7381timeout = 300
7482testpaths = [
75- " tests"
83+ " tests" ,
84+ " src" # needed for doctests
7685]
7786pythonpath = [
7887 " src"
7988]
89+ addopts = " --doctest-modules"
8090
8191[tool .setuptools .packages .find ]
8292where = [" src" ] # list of folders that contain the packages (["."] by default)
8393exclude = [" starters" ]
94+
95+ [[tool .mypy .overrides ]]
96+ module = [' piexif.*' , ' future.*' , ' vcr.*' ]
97+ ignore_missing_imports = true
0 commit comments