Skip to content

Commit

Permalink
chore: use cibuildwheel
Browse files Browse the repository at this point in the history
  • Loading branch information
Secbone committed Mar 24, 2024
1 parent 32eeaea commit 7af4741
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 27 deletions.
5 changes: 4 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[project]
name = "toad"
description = "Toad is dedicated to facilitating model development process, especially for a scorecard."
requires-python = ">=3.7"
requires-python = ">=3.8"
license = {file = "LICENSE"}
authors = [{name = "Secbone", email = "secbone@gmail.com"}]
classifiers = [
Expand Down Expand Up @@ -43,6 +43,9 @@ toad = "toad.cli:main"
[tool.setuptools.packages.find]
exclude = ["tests"]

[tool.cibuildwheel]
before-all = "uname -a"

[project.urls]
Homepage = "https://github.com/amphibian-dev/toad"
Documentation = "https://toad.readthedocs.io/en/stable/"
Expand Down
27 changes: 1 addition & 26 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,35 +46,10 @@ def get_requirements(stage = None):


setup(
name = NAME,
version = get_version(),
description = 'Toad is dedicated to facilitating model development process, especially for a scorecard.',
long_description = open('README.md', encoding = 'utf-8').read(),
long_description_content_type = 'text/markdown',
url = 'https://github.com/amphibian-dev/toad',
author = 'ESC Team',
author_email = 'secbone@gmail.com',
packages = find_packages(exclude = ['tests']),
include_dirs = [np.get_include()],
ext_modules = get_ext_modules(),
include_package_data = True,
python_requires = '>=3.7',
python_requires = '>=3.8',
setup_requires = ['numpy'],
tests_require = get_requirements('test'),
license = 'MIT',
classifiers = [
'Operating System :: POSIX',
'Operating System :: Microsoft :: Windows',
'Operating System :: MacOS :: MacOS X',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
],
entry_points = {
'console_scripts': [
'toad = toad.cli:main',
],
},
)

0 comments on commit 7af4741

Please sign in to comment.