From ddfbc1b72a706297ef36427bdddeb7f26890d356 Mon Sep 17 00:00:00 2001 From: Elton Cardoso do Nascimento <43186596+EltonCN@users.noreply.github.com> Date: Fri, 18 Oct 2024 19:55:12 -0300 Subject: [PATCH] Change setup.cfg to pyproject.toml --- pyproject.toml | 41 +++++++++++++++++++++++++++++++++++++---- setup.cfg | 33 --------------------------------- 2 files changed, 37 insertions(+), 37 deletions(-) delete mode 100644 setup.cfg diff --git a/pyproject.toml b/pyproject.toml index b5a3c46..0931aee 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,39 @@ [build-system] -requires = [ - "setuptools>=42", - "wheel" +requires = ["setuptools>=61.2"] +build-backend = "setuptools.build_meta" + +[project] +name = "cst_python" +version = "0.1.0" +authors = [{name = "H.IAAC", email = "hiaac@unicamp.br"}] +description = "Python module of the CST, the Cognitive Systems Toolkit, a toolkit for the construction of cognitive systems and cognitive architectures." +classifiers = [ + "Programming Language :: Python :: 3", + "Operating System :: OS Independent", + "Topic :: Scientific/Engineering", + "Topic :: Scientific/Engineering :: Artificial Intelligence", + "Intended Audience :: Science/Research", + "License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)", ] -build-backend = "setuptools.build_meta" \ No newline at end of file + +[project.readme] +file = "README.md" +content-type = "text/markdown" + +[project.urls] +Homepage = "https://hiaac.unicamp.br" +"Bug Tracker" = "https://github.com/H-IAAC/CST-Python/issues" +# Documentation = + +[project.optional-dependencies] +tests = ["mypy", "testbook", "ipython", "ipykernel", "numpy", "matplotlib"] + +[tool.setuptools] +include-package-data = true +package-dir = {"" = "src"} +# install_requires = +# numpy + +[tool.setuptools.packages.find] +where = ["src"] +namespaces = false diff --git a/setup.cfg b/setup.cfg deleted file mode 100644 index d997eed..0000000 --- a/setup.cfg +++ /dev/null @@ -1,33 +0,0 @@ -[metadata] -name = cst_python -version = 0.1.0 -author = H.IAAC -author_email = hiaac@unicamp.br -description = Python module of the CST, the Cognitive Systems Toolkit, a toolkit for the construction of cognitive systems and cognitive architectures. -long_description = file: README.md -long_description_content_type = text/markdown -url = https://hiaac.unicamp.br -project_urls = - Bug Tracker = https://github.com/H-IAAC/CST-Python/issues -# Documentation = -classifiers = - Programming Language :: Python :: 3 - Operating System :: OS Independent - Topic :: Scientific/Engineering - Topic :: Scientific/Engineering :: Artificial Intelligence - Intended Audience :: Science/Research - License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3) - -[options] -include_package_data = True -package_dir = - = src -packages = find: -#install_requires = -# numpy - -[options.packages.find] -where = src - -[options.extras_require] -tests = mypy; testbook; ipython; ipykernel; numpy; matplotlib \ No newline at end of file