diff --git a/canopen/py.typed b/canopen/py.typed new file mode 100644 index 00000000..e69de29b diff --git a/pyproject.toml b/pyproject.toml index 403805fb..bffee508 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,42 @@ [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 = "christiansandberg@me.com"}, + {name = "André Colomb", email = "src@andre.colomb.de"}, + {name = "André Filipe Silva", email = "afsilva.work@gmail.com"}, +] +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", +] diff --git a/setup.cfg b/setup.cfg deleted file mode 100644 index 7d33e805..00000000 --- a/setup.cfg +++ /dev/null @@ -1,29 +0,0 @@ -[metadata] -name = canopen -description = CANopen stack implementation -long_description = file: README.rst -project_urls = - Documentation = http://canopen.readthedocs.io/en/stable/ - Source Code = https://github.com/christiansandberg/canopen -author = Christian Sandberg -author_email = christiansandberg@me.com -classifier = - 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 - -[options] -packages = find: -python_requires = >=3.6 -install_requires = - python-can >= 3.0.0 -include_package_data = True - -[tool:pytest] -testpaths = - test -filterwarnings = - ignore::DeprecationWarning