-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Remove tests from wheel distribution (icloud-photos-downloader#655)
- Loading branch information
1 parent
76c7276
commit e65e122
Showing
62 changed files
with
380 additions
and
408 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,83 @@ | ||
[build-system] | ||
requires = [ | ||
"setuptools>=68.0.0,<69", | ||
"wheel>=0.40.0,<0.41", | ||
] | ||
build-backend = "setuptools.build_meta" | ||
|
||
[project] | ||
version="1.14.2" | ||
name = "icloudpd" | ||
description = "icloudpd is a command-line tool to download photos and videos from iCloud." | ||
readme = "README_PYPI.md" | ||
requires-python = ">=3.7,<3.12" | ||
keywords = ["icloud", "photo"] | ||
license = {file="LICENSE.md"} | ||
authors=[ | ||
{name = "The iCloud Photo Downloader Authors"} | ||
] | ||
classifiers = [ | ||
"Intended Audience :: Developers", | ||
"Operating System :: OS Independent", | ||
"Programming Language :: Python", | ||
"Programming Language :: Python :: 3", | ||
"License :: OSI Approved :: MIT License", | ||
] | ||
dependencies = [ | ||
"requests>=2.28.2,<3", | ||
"schema>=0.7.5,<0.8", | ||
"click>=8.1.3,<9", | ||
"python-dateutil>=2.8.2,<3", | ||
"tqdm>=4.64.1,<5", | ||
"piexif>=1.1.3,<2", | ||
"urllib3>=1.26.14,<2", | ||
# from pyicloud_ipd | ||
"six>=1.16.0,<2", | ||
"tzlocal>=4.2,<5", | ||
"pytz>=2022.7.1,<2023", | ||
"certifi>=2022.12.7,<2023", | ||
"future>=0.18.3,<0.19", | ||
"keyring>=23.13.1,<24", | ||
"keyrings-alt>=4.2.0,<5" | ||
] | ||
|
||
[project.optional-dependencies] | ||
dev = [ | ||
"twine>=4.0.0,<5", | ||
"pyinstaller>=5.7.0,<6", | ||
"wheel>=0.40.0,<0.41" | ||
] | ||
test = [ | ||
"pytest>=7.2.1,<8", | ||
"mock>=5.0.1,<6", | ||
"freezegun>=1.2.2,<2", | ||
"vcrpy>=4.2.1,<5", | ||
"pytest-cov>=4.0.0,<5", | ||
"pylint>=2.15.10,<3", | ||
"coveralls>=3.3.1,<4", | ||
"autopep8>=2.0.1,<3", | ||
"pytest-timeout>=2.1.0,<3", | ||
"pytest-xdist>=3.1.0,<4" | ||
] | ||
|
||
[project.urls] | ||
Homepage="https://github.com/icloud-photos-downloader/icloud_photos_downloader" | ||
|
||
[project.scripts] | ||
icloudpd = "icloudpd.base:main" | ||
icloud = "pyicloud_ipd.cmdline:main" | ||
|
||
[tool.pytest.ini_options] | ||
log_format = "%(levelname)-8s %(message)s" | ||
log_date_format = "%Y-%m-%d %H:%M:%S" | ||
timeout = 300 | ||
testpaths = [ | ||
"tests" | ||
] | ||
pythonpath = [ | ||
"src" | ||
] | ||
|
||
[tool.setuptools.packages.find] | ||
where = ["src"] # list of folders that contain the packages (["."] by default) | ||
exclude = ["starters"] |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
#!/bin/bash | ||
# this is used to setup development env (all required dependencies for all cases) | ||
set -euo pipefail | ||
python3 -m pip install -r requirements-pip.txt | ||
pip3 install -r requirements.txt -r requirements-test.txt -r requirements-dev.txt | ||
pip3 install -e .[test,dev] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
#!/bin/bash | ||
# (There are some small differences between Python 2 and 3) | ||
set -euo pipefail | ||
echo "Running pylint for Python 3..." | ||
python3 -m pylint icloudpd/ | ||
echo "Running pylint..." | ||
python3 -m pylint src/icloudpd |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Empty file.
File renamed without changes.
0
icloud.py → src/starters/icloud.py
100755 → 100644
File renamed without changes.
0
icloudpd.py → src/starters/icloudpd.py
100755 → 100644
File renamed without changes.
Oops, something went wrong.