Skip to content

Commit

Permalink
Convert setup.cfg to pyproject.toml
Browse files Browse the repository at this point in the history
Updated to the more modern `pyproject.toml` format per GH-314. Edit
`venv` in `.gitignore` to be a bit more generic for developer ease.
  • Loading branch information
TimothyWillard committed Nov 8, 2024
1 parent 8da1720 commit 24c17ac
Show file tree
Hide file tree
Showing 3 changed files with 56 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
59 changes: 55 additions & 4 deletions flepimop/gempyor_pkg/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,57 @@
[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 kaminski and others", email = "[email protected]"},
]
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",
"emcee",
"graphviz",
"matplotlib",
"numba>=0.53.1",
"numpy",
"pandas",
"pyarrow",
"scipy",
"seaborn",
"sympy",
"tqdm",
"xarray",
]
name = "gempyor"
readme = "README.md"
requires-python = ">=3.10"
version = "2.1"

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

[project.urls]
Homepage = "https://github.com/HopkinsIDD/flepiMoP"
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 24c17ac

Please sign in to comment.