Skip to content

Commit

Permalink
Merge pull request #391 from HopkinsIDD/feature/314/pyproject-toml
Browse files Browse the repository at this point in the history
Convert `setup.cfg` To `pyproject.toml`
  • Loading branch information
TimothyWillard authored Nov 8, 2024
2 parents b07b9f6 + f8c48ce commit c5f4835
Show file tree
Hide file tree
Showing 3 changed files with 57 additions and 62 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ packrat/lib*/
dist/
SEIR.egg-info/
Outcomes.egg-info/
venv/
*venv*/
.venv/

# R package manuals
Expand Down
60 changes: 56 additions & 4 deletions flepimop/gempyor_pkg/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,58 @@
[build-system]
requires = [
"setuptools>=42",
"wheel"
]
requires = ["setuptools>=61.0", "wheel"]
build-backend = "setuptools.build_meta"

[project]
authors = [
{name = "Joseph Lemaitre", email = "[email protected]"},
{name = "Joshua Kaminsky and others"},
]
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
"Operating System :: OS Independent",
]
description = "Generic epidemic compartmental modeling pipelines with interventions and outcome reporting."
dependencies = [
"click>=8.1.7",
"confuse",
"dask[dataframe]",
"emcee",
"graphviz",
"h5py",
"matplotlib",
"numba>=0.53.1",
"numpy",
"pandas",
"pyarrow",
"scipy",
"seaborn",
"sympy",
"tqdm",
"xarray",
]
name = "gempyor"
readme = "README.md"
requires-python = ">=3.10,<3.12"
version = "2.1"

[project.optional-dependencies]
aws = ["boto3", "botocore"]
test = ["pytest", "mock"]

[project.urls]
Homepage = "https://www.flepimop.org/"
Issues = "https://github.com/HopkinsIDD/flepiMoP/issues"

[project.scripts]
flepimop = "gempyor.cli:cli"
flepimop-calibrate = "gempyor.calibrate:calibrate"
gempyor-simulate = "gempyor.simulate:_deprecated_simulate"

[tool.setuptools]
package-dir = {"" = "src"}
include-package-data = false

[tool.setuptools.packages.find]
where = ["src"]
namespaces = false
57 changes: 0 additions & 57 deletions flepimop/gempyor_pkg/setup.cfg

This file was deleted.

0 comments on commit c5f4835

Please sign in to comment.