Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Convert setup.cfg To pyproject.toml #391

Merged
merged 5 commits into from
Nov 8, 2024
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 kaminski and others", email = "[email protected]"},
TimothyWillard marked this conversation as resolved.
Show resolved Hide resolved
]
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://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.