Skip to content

Commit

Permalink
Add pyproject.toml file to package "seco".
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-rapp committed Dec 20, 2024
1 parent d2eb668 commit a2e9638
Show file tree
Hide file tree
Showing 2 changed files with 48 additions and 41 deletions.
46 changes: 46 additions & 0 deletions python/subprojects/seco/pyproject.toml
Original file line number Diff line number Diff line change
@@ -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"
43 changes: 2 additions & 41 deletions python/subprojects/seco/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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})

0 comments on commit a2e9638

Please sign in to comment.