Skip to content

Commit

Permalink
brining more over into pyproject from setup
Browse files Browse the repository at this point in the history
  • Loading branch information
gbomarito committed Nov 4, 2024
1 parent 5e40b01 commit 1412769
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 15 deletions.
22 changes: 21 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,15 @@ requires = [
build-backend = "setuptools.build_meta"

[project]
name = "bingo"
name = "bingo-nasa"
keywords = ["symbolic regression"]
description = "A package for genetic optimization and symbolic regression"
authors = [
{name = "Geoffrey Bomarito, email = "[email protected]" }
]
requires-python = ">=3.9"
readme = "README.md"
license = {file = "LICENSE.txt"}
dynamic = ["version"]
dependencies = [
"mpi4py>=2.0.0,<4.0",
Expand All @@ -22,6 +30,18 @@ dependencies = [
"smcpy",
"pybind11[global]",
]
classifiers = [
"License :: OSI Approved :: Apache Software License",
"Development Status :: 3 - Alpha",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]

[project.urls]
Documentation = "https://nasa.github.io/bingo/"
Repository = "https://github.com/nasa/bingo"

[project.optional-dependencies]
ONNX = ["onnx"]
Expand Down
14 changes: 0 additions & 14 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,13 +128,6 @@ def build_extension(self, ext: CMakeExtension) -> None:


setup(
name="bingo-nasa",
author="Geoffrey Bomarito",
author_email="[email protected]",
description="A package for genetic optimization and symbolic regression",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/nasa/bingo",
packages=[
"bingo",
"bingo.chromosomes",
Expand All @@ -152,13 +145,6 @@ def build_extension(self, ext: CMakeExtension) -> None:
"bingo.util",
"bingo.variation",
],
install_requires=[],
python_requires=">=3.9",
classifiers=[
"Programming Language :: Python :: 3.12",
"License :: OSI Approved :: Apache Software License",
"Development Status :: 3 - Alpha",
],
# add extension module
ext_modules=[CMakeExtension("bingocpp", "bingocpp")],
# add custom build_ext command
Expand Down

0 comments on commit 1412769

Please sign in to comment.