-
-
Notifications
You must be signed in to change notification settings - Fork 55
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #216 from Kozea/in-line
Use ABI-level in-line CFFI mode
- Loading branch information
Showing
7 changed files
with
56 additions
and
103 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,5 @@ | ||
__pycache__ | ||
cairocffi/_ffi*.py | ||
cairocffi/_generated | ||
*.egg | ||
*.egg-info | ||
/build | ||
|
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,56 +1,62 @@ | ||
[build-system] | ||
requires = ["setuptools >= 61.0.0", "cffi >= 1.1.0"] | ||
build-backend = "build" | ||
backend-path = ["utils"] | ||
requires = ['flit_core >=3.2,<4'] | ||
build-backend = 'flit_core.buildapi' | ||
|
||
[project] | ||
name = "cairocffi" | ||
description = "cffi-based cairo bindings for Python" | ||
readme = {file = "README.rst", content-type = "text/x-rst"} | ||
requires-python = ">=3.7" | ||
license = {file = "LICENSE"} | ||
keywords = ["cairo", "cffi", "binding"] | ||
authors = [ | ||
{name = "Simon Sapin", email = "[email protected]"} | ||
name = 'cairocffi' | ||
description = 'cffi-based cairo bindings for Python' | ||
keywords = ['cairo', 'cffi', 'binding'] | ||
authors = [{name = 'Simon Sapin', email = '[email protected]'}] | ||
maintainers = [{name = 'CourtBouillon', email = '[email protected]'}] | ||
requires-python = '>=3.7' | ||
readme = {file = 'README.rst', content-type = 'text/x-rst'} | ||
license = {file = 'LICENSE'} | ||
dependencies = [ | ||
'cffi >= 1.1.0', | ||
] | ||
classifiers = [ | ||
"Development Status :: 5 - Production/Stable", | ||
"Intended Audience :: Developers", | ||
"License :: OSI Approved :: BSD License", | ||
"Operating System :: POSIX :: Linux", | ||
"Operating System :: MacOS :: MacOS X", | ||
"Operating System :: Microsoft :: Windows", | ||
"Programming Language :: Python :: 3 :: Only", | ||
"Programming Language :: Python :: 3.7", | ||
"Programming Language :: Python :: 3.8", | ||
"Programming Language :: Python :: 3.9", | ||
"Programming Language :: Python :: 3.10", | ||
"Programming Language :: Python :: 3.11", | ||
"Topic :: Multimedia :: Graphics" | ||
] | ||
dependencies = [ | ||
"cffi >= 1.1.0" | ||
'Development Status :: 5 - Production/Stable', | ||
'Intended Audience :: Developers', | ||
'License :: OSI Approved :: BSD License', | ||
'Operating System :: POSIX :: Linux', | ||
'Operating System :: MacOS :: MacOS X', | ||
'Operating System :: Microsoft :: Windows', | ||
'Programming Language :: Python :: 3 :: Only', | ||
'Programming Language :: Python :: 3.7', | ||
'Programming Language :: Python :: 3.8', | ||
'Programming Language :: Python :: 3.9', | ||
'Programming Language :: Python :: 3.10', | ||
'Programming Language :: Python :: 3.11', | ||
'Topic :: Multimedia :: Graphics', | ||
] | ||
dynamic = ["version"] | ||
dynamic = ['version'] | ||
|
||
[tool.setuptools.dynamic] | ||
version = {attr = "cairocffi.VERSION"} | ||
version = {attr = 'cairocffi.VERSION'} | ||
|
||
[project.urls] | ||
Documentation = "https://cairocffi.readthedocs.io/" | ||
Code = "https://github.com/Kozea/cairocffi/" | ||
Issues = "https://github.com/Kozea/cairocffi/issues" | ||
Donation = "https://opencollective.com/courtbouillon" | ||
Documentation = 'https://cairocffi.readthedocs.io/' | ||
Code = 'https://github.com/Kozea/cairocffi/' | ||
Issues = 'https://github.com/Kozea/cairocffi/issues' | ||
Changelog = 'https://cairocffi.readthedocs.io/en/stable/changelog.html' | ||
Donation = 'https://opencollective.com/courtbouillon' | ||
|
||
[project.optional-dependencies] | ||
doc = ["sphinx", "sphinx_rtd_theme"] | ||
test = ["pytest", "flake8", "isort", "numpy", "pikepdf"] | ||
xcb = ["xcffib >= 0.3.2"] | ||
doc = ['sphinx', 'sphinx_rtd_theme'] | ||
test = ['pytest', 'flake8', 'isort', 'numpy', 'pikepdf'] | ||
xcb = ['xcffib >= 1.4.0'] | ||
|
||
[tool.flit.sdist] | ||
exclude = ['.*'] | ||
|
||
[tool.coverage.run] | ||
branch = true | ||
include = ['cairocffi/*'] | ||
|
||
[tool.pytest.ini_options] | ||
addopts = "--pyargs cairocffi" | ||
norecursedirs = "build dist .cache .eggs .git" | ||
[tool.coverage.report] | ||
exclude_lines = ['pragma: no cover', 'def __repr__', 'raise NotImplementedError'] | ||
omit = ['.*'] | ||
|
||
[tool.isort] | ||
default_section = "FIRSTPARTY" | ||
default_section = 'FIRSTPARTY' | ||
multi_line_output = 4 |
This file was deleted.
Oops, something went wrong.