-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Migrate to pyproject.yaml based configuration
- Loading branch information
1 parent
4799e5a
commit aada313
Showing
3 changed files
with
59 additions
and
61 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,7 +1,54 @@ | ||
[build-system] | ||
requires = [ | ||
"setuptools>=40.8.0", | ||
"setuptools>=61.0.0", | ||
"wheel", | ||
"cffi>=1.12.0; python_implementation != 'PyPy'", | ||
] | ||
build-backend = "setuptools.build_meta" | ||
|
||
[project] | ||
name = "pywlroots" | ||
description = "Python binding to the wlroots library using cffi" | ||
authors = [{name = "Sean Vig", email = "[email protected]"}] | ||
requires-python = ">=3.7" | ||
license = {text = "MIT"} | ||
readme = "README.rst" | ||
classifiers = [ | ||
"Development Status :: 2 - Pre-Alpha", | ||
"Operating System :: POSIX", | ||
"Operating System :: POSIX :: Linux", | ||
"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", | ||
"Programming Language :: Python :: Implementation :: CPython", | ||
"Programming Language :: Python :: Implementation :: PyPy", | ||
"Topic :: Desktop Environment :: Window Managers", | ||
"Topic :: Software Development :: Libraries", | ||
] | ||
dependencies = [ | ||
"cffi >= 1.12.0; python_implementation != 'PyPy'", | ||
"pywayland >= 0.4.14", | ||
"xkbcommon >= 0.2", | ||
] | ||
dynamic = ["version"] | ||
|
||
[project.optional-dependencies] | ||
test = ["pytest"] | ||
|
||
[project.urls] | ||
homepage = "https://github.com/flacjacket/pywlroots" | ||
|
||
[tool.setuptools] | ||
zip-safe = false | ||
|
||
[tool.setuptools.packages.find] | ||
include = ["wlroots*"] | ||
|
||
[tool.setuptools.package-data] | ||
wlroots = ["py.typed", "include/*.h"] | ||
|
||
[tool.setuptools.dynamic] | ||
version = {attr = "version.version"} |
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,52 +1,3 @@ | ||
[metadata] | ||
name = pywlroots | ||
version = attr:version.version | ||
url = https://github.com/flacjacket/pywlroots | ||
license = MIT | ||
license_files = | ||
LICENSE | ||
description = Python binding to the wlroots library using cffi | ||
long_description = file: README.rst | ||
long_description_content_type = text/x-rst | ||
author = Sean Vig | ||
author_email = [email protected] | ||
classifiers = | ||
Development Status :: 2 - Pre-Alpha | ||
Operating System :: POSIX | ||
Operating System :: POSIX :: Linux | ||
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 :: Implementation :: CPython | ||
Programming Language :: Python :: Implementation :: PyPy | ||
Topic :: Desktop Environment :: Window Managers | ||
Topic :: Software Development :: Libraries | ||
project_urls = | ||
Code = https://github.com/flacjacket/pywlroots/ | ||
Issue tracker = https://github.com/flacjacket/pywlroots/issues | ||
|
||
[options] | ||
packages = find: | ||
python_requires >= 3.7 | ||
install_requires = | ||
cffi >= 1.12.0 | ||
pywayland >= 0.4.14 | ||
xkbcommon >= 0.2 | ||
zip_safe = False | ||
|
||
[options.extras_require] | ||
test = | ||
pytest | ||
|
||
[options.package_data] | ||
wlroots = py.typed, include/*.h | ||
|
||
[options.packages.find] | ||
include = | ||
wlroots* | ||
|
||
[flake8] | ||
max-line-length = 120 | ||
|
||
|