diff --git a/python/subprojects/seco/pyproject.toml b/python/subprojects/seco/pyproject.toml new file mode 100644 index 000000000..a2bdbc3bf --- /dev/null +++ b/python/subprojects/seco/pyproject.toml @@ -0,0 +1,46 @@ +[build-system] +requires = [ + "setuptools", +] + +[project] +name = "mlrl-seco" +description = "A scikit-learn implementation of a Separate-and-Conquer (SeCo) multi-label rule learning algorithm" +readme = "README.md" +authors = [ + { name="Michael Rapp", email="michael.rapp.ml@gmail.com" }, +] +keywords = [ + "machine learning", + "scikit-learn", + "multi-label classification", + "rule learning", + "separate-and-conquer", +] +classifiers = [ + "Development Status :: 5 - Production/Stable", + "Intended Audience :: Science/Research", + "License :: OSI Approved :: MIT License", + "Programming Language :: C++", + "Programming Language :: Cython", + "Programming Language :: Python :: 3", + "Operating System :: POSIX :: Linux", + "Operating System :: MacOS", + "Operating System :: Microsoft :: Windows", + "Topic :: Scientific/Engineering :: Artificial Intelligence", + "Topic :: Software Development :: Libraries :: Python Modules", +] +dynamic = [ + "version", + "requires-python", + "dependencies", + "optional-dependencies", +] + +[project.urls] +homepage = "https://github.com/mrapp-ke/MLRL-Boomer" +source = "https://github.com/mrapp-ke/MLRL-Boomer.git" +download = "https://github.com/mrapp-ke/MLRL-Boomer/releases" +changelog = "https://raw.githubusercontent.com/mrapp-ke/MLRL-Boomer/refs/heads/main/CHANGELOG.md" +documentation = "https://mlrl-boomer.readthedocs.io/en/latest" +issues = "https://github.com/mrapp-ke/MLRL-Boomer/issues" diff --git a/python/subprojects/seco/setup.py b/python/subprojects/seco/setup.py index a337b4ee5..4a4200fa2 100644 --- a/python/subprojects/seco/setup.py +++ b/python/subprojects/seco/setup.py @@ -66,45 +66,7 @@ def find_extensions(directory): return extensions -setup(name='mlrl-seco', - version=VERSION, - description='A scikit-learn implementation of a separate-and-conquer multi-label rule learning algorithm', - long_description=(Path(__file__).resolve().parent / 'README.md').read_text(), - long_description_content_type='text/markdown', - author='Michael Rapp', - author_email='michael.rapp.ml@gmail.com', - url='https://github.com/mrapp-ke/MLRL-Boomer', - download_url='https://github.com/mrapp-ke/MLRL-Boomer/releases', - project_urls={ - 'Documentation': 'https://mlrl-boomer.readthedocs.io/en/latest', - 'Issue Tracker': 'https://github.com/mrapp-ke/MLRL-Boomer/issues', - }, - license='MIT', - classifiers=[ - 'Development Status :: 5 - Production/Stable', - 'Intended Audience :: Science/Research', - 'License :: OSI Approved :: MIT License', - 'Programming Language :: C++', - 'Programming Language :: Cython', - 'Programming Language :: Python :: 3', - 'Operating System :: POSIX :: Linux', - 'Operating System :: MacOS', - 'Operating System :: Microsoft :: Windows', - 'Topic :: Scientific/Engineering :: Artificial Intelligence', - 'Topic :: Software Development :: Libraries :: Python Modules', - ], - keywords=[ - 'machine learning', - 'scikit-learn', - 'multi-label classification', - 'rule learning', - 'separate-and-conquer', - ], - platforms=[ - 'Linux', - 'MacOS', - 'Windows', - ], +setup(version=VERSION, python_requires=PYTHON_VERSION, install_requires=[ 'mlrl-common==' + VERSION, @@ -114,5 +76,4 @@ def find_extensions(directory): }, packages=find_packages(), ext_modules=find_extensions('mlrl'), - cmdclass={'build_ext': PrecompiledExtensionBuilder}, - zip_safe=True) + cmdclass={'build_ext': PrecompiledExtensionBuilder})