forked from thermotools/KineticGas
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Jump all the way to scikit-build-core
- Loading branch information
Showing
3 changed files
with
71 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
[build-system] | ||
requires = ["scikit-build-core>=0.3.3", "pybind11"] | ||
build-backend = "scikit_build_core.build" | ||
|
||
|
||
[project] | ||
name = "pykingas" | ||
version = "2.0.0" | ||
description="Revised Enskog theory for Mie fluids, and other spherical potentials. Allows prediction of transport coefficients such as diffusion coefficients, viscosities, thermal diffusion coefficients and thermal conductivities. In dense, multicomponent gas mixtures and supercritical mixtures." | ||
readme = "README.md" | ||
authors = [ | ||
{ name = "Vegard Gjeldvik Jervell", email = "vegard.g.j@icloud.com" }, | ||
] | ||
requires-python = ">=3.7" | ||
classifiers = [ | ||
"Development Status :: 4 - Beta", | ||
"License :: OSI Approved :: MIT License", | ||
"Programming Language :: Python :: 3 :: Only", | ||
"Programming Language :: Python :: 3.7", | ||
"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", | ||
] | ||
|
||
[project.optional-dependencies] | ||
test = ["pytest"] | ||
|
||
|
||
[tool.scikit-build] | ||
wheel.expand-macos-universal-tags = true | ||
|
||
|
||
[tool.cibuildwheel] | ||
test-command = "pytest {project}/tests" | ||
test-extras = ["test"] | ||
test-skip = ["*universal2:arm64"] | ||
build-verbosity = 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,22 @@ | ||
from setuptools import setup | ||
from pathlib import Path | ||
# from setuptools import setup | ||
# from pathlib import Path | ||
|
||
this_dir = Path(__file__).parent | ||
readme = (this_dir / 'pykingas/README.md').read_text() | ||
setup( | ||
name='pykingas', | ||
version='2.0.0', | ||
packages=['pykingas'], | ||
package_data={'pykingas': ['KineticGas*', 'fluids/*']}, | ||
description='Revised Enskog theory for Mie fluids, and other spherical potentials. Allows prediction of transport ' | ||
'coefficients such as diffusion coefficients, viscosities, thermal diffusion coefficients' | ||
' and thermal conductivities. In dense, multicomponent gas mixtures and supercritical mixtures.', | ||
long_description=readme, | ||
long_description_content_type='text/markdown', | ||
author='Vegard Gjeldvik Jervell', | ||
author_email='vegard.g.j@icloud.com', | ||
url='https://github.com/thermotools/KineticGas', | ||
install_requires=["numpy~=1.22", | ||
"scipy~=1.7", | ||
"thermopack~=2.1"] | ||
) | ||
# this_dir = Path(__file__).parent | ||
# readme = (this_dir / 'pykingas/README.md').read_text() | ||
# setup( | ||
# name='pykingas', | ||
# version='2.0.0', | ||
# packages=['pykingas'], | ||
# package_data={'pykingas': ['KineticGas*', 'fluids/*']}, | ||
# description='Revised Enskog theory for Mie fluids, and other spherical potentials. Allows prediction of transport ' | ||
# 'coefficients such as diffusion coefficients, viscosities, thermal diffusion coefficients' | ||
# ' and thermal conductivities. In dense, multicomponent gas mixtures and supercritical mixtures.', | ||
# long_description=readme, | ||
# long_description_content_type='text/markdown', | ||
# author='Vegard Gjeldvik Jervell', | ||
# author_email='vegard.g.j@icloud.com', | ||
# url='https://github.com/thermotools/KineticGas', | ||
# install_requires=["numpy~=1.22", | ||
# "scipy~=1.7", | ||
# "thermopack~=2.1"] | ||
# ) |