-
Notifications
You must be signed in to change notification settings - Fork 91
WIP for Support Pillow 11 and Python up to 3.13 #139
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
base: master
Are you sure you want to change the base?
Changes from all commits
290379f
d394690
b934945
9f6b4b9
15cb784
f8bbf7e
a8e962f
0ed3031
8cb8123
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -113,6 +113,7 @@ venv/ | |
ENV/ | ||
env.bak/ | ||
venv.bak/ | ||
.idea | ||
|
||
# Spyder project settings | ||
.spyderproject | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
.PHONY: all install nopyc clean test docs local | ||
|
||
SHELL := /usr/bin/env bash | ||
PYTHON_BIN ?= python | ||
PROJECT_VENV ?= venv | ||
|
||
all: local test | ||
|
||
venv: | ||
$(PYTHON_BIN) -m pip install virtualenv --user | ||
$(PYTHON_BIN) -m virtualenv $(PROJECT_VENV) | ||
|
||
install: venv | ||
@( \ | ||
source $(PROJECT_VENV)/bin/activate; \ | ||
python -m pip install .; \ | ||
) | ||
|
||
nopyc: | ||
find . -name '*.pyc' | xargs rm -f || true | ||
find . -name __pycache__ | xargs rm -rf || true | ||
|
||
clean: nopyc | ||
rm -rf build dist *.egg-info $(PROJECT_VENV) | ||
|
||
test: install | ||
@( \ | ||
source $(PROJECT_VENV)/bin/activate; \ | ||
python -m pip install -r ext/requirements-dev.txt -r docs/requirements-docs.txt; \ | ||
coverage run -m unittest discover -s tests && coverage report && coverage xml && coverage html; \ | ||
) | ||
|
||
docs: install | ||
@( \ | ||
source $(PROJECT_VENV)/bin/activate; \ | ||
python -m pip install -r ext/requirements-dev.txt; \ | ||
sphinx-build -M html docs build/docs -n; \ | ||
) | ||
|
||
local: | ||
@rm -rf *.egg-info dist | ||
@( \ | ||
$(PYTHON_BIN) -m pip install --upgrade pip; \ | ||
$(PYTHON_BIN) -m pip install --upgrade build; \ | ||
$(PYTHON_BIN) -m build; \ | ||
$(PYTHON_BIN) -m pip install dist/*.tar.gz; \ | ||
) |
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -63,13 +63,6 @@ | |
# The full version, including alpha/beta/rc tags. | ||
release = 'v0.4.7' | ||
|
||
# The language for content autogenerated by Sphinx. Refer to documentation | ||
# for a list of supported languages. | ||
# | ||
# This is also used if you do content translation via gettext catalogs. | ||
# Usually you set "language" from the command line for these cases. | ||
language = None | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Not needed with latest version of Sphinx |
||
|
||
# List of patterns, relative to source directory, that match files and | ||
# directories to ignore when looking for source files. | ||
# This pattern also affects html_static_path and html_extra_path. | ||
|
@@ -89,7 +82,6 @@ | |
# a list of builtin themes. | ||
|
||
html_theme = "sphinx_rtd_theme" | ||
html_theme_path = [sphinx_rtd_theme.get_html_theme_path()] | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Not needed anymore with latest version of Sphinx |
||
|
||
# Add any paths that contain custom static files (such as style sheets) here, | ||
# relative to this directory. They are copied after the builtin static files, | ||
|
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
-e . | ||
Sphinx | ||
sphinx-rtd-theme |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
pillow ~= 9.5.0 | ||
requests ~= 2.30.0 | ||
pillow ~= 11.3 | ||
requests ~= 2.30 | ||
coverage >= 6.3.1 | ||
codecov >= 2.1.12 | ||
webdriver_manager ~= 3.8.6 | ||
selenium ~= 4.9.1 | ||
webdriver_manager ~= 4.0 | ||
selenium >= 4.34 | ||
beautifulsoup4 >= 4.13 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Quality of life improvements for you and anyone else trying to develop on this. Simply run
make test
and your dev env will be provisioned and tests run.make local
will install the built version of the library in to your localpip
cache.make docs
, well, docs :).