-
Notifications
You must be signed in to change notification settings - Fork 198
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
build: Modernize, use setuptools 69 #428
Changes from 2 commits
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 |
---|---|---|
@@ -1,6 +1,40 @@ | ||
[build-system] | ||
requires = ["setuptools>=45", "wheel", "setuptools_scm>=6.2"] | ||
requires = ["setuptools>=69", "wheel", "setuptools_scm>=8"] | ||
build-backend = "setuptools.build_meta" | ||
|
||
[project] | ||
name = "canopen" | ||
authors = [ | ||
{name = "Christian Sandberg", email = "[email protected]"}, | ||
] | ||
description = "CANopen stack implementation" | ||
readme = "README.rst" | ||
requires-python = ">=3.6" | ||
license = {file = "LICENSE.txt"} | ||
classifiers = [ | ||
"Development Status :: 5 - Production/Stable", | ||
"License :: OSI Approved :: MIT License", | ||
"Operating System :: OS Independent", | ||
"Programming Language :: Python :: 3 :: Only", | ||
"Intended Audience :: Developers", | ||
"Topic :: Scientific/Engineering", | ||
] | ||
dependencies = [ | ||
"python-can >= 3.0.0", | ||
] | ||
dynamic = ["version"] | ||
|
||
[project.urls] | ||
documentation = "https://canopen.readthedocs.io/en/stable/" | ||
repository = "https://github.com/christiansandberg/canopen" | ||
|
||
[tool.setuptools_scm] | ||
write_to = "canopen/_version.py" | ||
version_file = "canopen/_version.py" | ||
|
||
[tool.pytest.ini_options] | ||
testpaths = [ | ||
"test", | ||
] | ||
filterwarnings = [ | ||
"ignore::DeprecationWarning", | ||
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. Could this be useful to see anyway? 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. Maybe so. I suggest we leave it be until after the release. The only warnings I get currently are for
acolomb marked this conversation as resolved.
Show resolved
Hide resolved
|
||
] |
This file was deleted.
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.
Feel free to add more people here. 🙂
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.
Alright, I added myself and @af-silva, completing the top-three list of contributors according to GitHub.
Email address taken from one of your commits, @af-silva, hope that's alright?
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.
@acolomb It is ok :)
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.
I counted up the PRs that go into this release, and a large fraction of them are mine. Please feel free to use my name and email ([email protected]) in any release notes.