-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Clean up delphi_utils (take 2) (#2014)
* add pyproject.toml * made changes based on suggestion * update ci config * separate new line Co-authored-by: Dmitry Shemetov <[email protected]> * fix: add explicit boto and moto dependencies to indicators * trying to get package data to show * installing dev package before testing in ci * adding dependency * move comment to right package * Update _delphi_utils_python/pyproject.toml Co-authored-by: Dmitry Shemetov <[email protected]> * more suggestion * adding pyproject.toml to template * Update changehc/Makefile * Update claims_hosp/Makefile * Update doctor_visits/Makefile * Update google_symptoms/Makefile * Update hhs_hosp/Makefile * Update nchs_mortality/Makefile * Update nssp/Makefile * Update nwss_wastewater/Makefile * Update quidel_covidtest/Makefile * Update sir_complainsalot/Makefile * fix: dependence bugs and cleanup * pandas[excel]<2 doesn't work, go back to xlrd and comment * add mock to changehc * add requests * remove setup.py from template * build: fix Jenkins build script --------- Co-authored-by: Amaris Sim <[email protected]> Co-authored-by: aysim319 <[email protected]> Co-authored-by: Dmitry Shemetov <[email protected]>
- Loading branch information
1 parent
d52dcd5
commit 86399ad
Showing
12 changed files
with
114 additions
and
88 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
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
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,57 @@ | ||
[build-system] | ||
requires = ["setuptools", "setuptools-scm>=8.0"] | ||
build-backend = "setuptools.build_meta" | ||
|
||
[project] | ||
name = "delphi-utils" | ||
version = "0.3.24" | ||
description = "Shared Utility Functions for Indicators" | ||
readme = "README.md" | ||
requires-python = "== 3.8.*" | ||
license = { text = "MIT License" } | ||
classifiers = [ | ||
"Development Status :: 5 - Production/Stable", | ||
"Intended Audience :: Developers", | ||
"Programming Language :: Python :: 3.8", | ||
"License :: MIT", | ||
] | ||
dependencies = [ | ||
"boto3", | ||
"covidcast", | ||
"cvxpy", | ||
"epiweeks", | ||
"gitpython", | ||
"importlib_resources>=1.3", | ||
"numpy", | ||
"pandas>=1.1.0", | ||
"requests", | ||
"slackclient", | ||
"scs<3.2.6", # TODO: remove this ; it is a cvxpy dependency, and the excluded version appears to break our jenkins build. see: https://github.com/cvxgrp/scs/issues/283 | ||
"structlog", | ||
"xlrd", # needed by Pandas to read Excel files | ||
] | ||
|
||
[project.urls] | ||
Homepage = "https://github.com/cmu-delphi/covidcast-indicators" | ||
|
||
[project.optional-dependencies] | ||
dev = [ | ||
"darker[isort]~=2.1.1", | ||
"pylint==2.8.3", | ||
"pytest", | ||
"pydocstyle", | ||
"pytest-cov", | ||
"mock", | ||
"moto~=4.2.14", | ||
"requests-mock", | ||
"freezegun", | ||
] | ||
flash = ["scipy"] | ||
|
||
[tool.setuptools.packages.find] | ||
where = ["."] | ||
include = ["delphi_utils"] | ||
namespaces = true | ||
|
||
[tool.setuptools.package-data] | ||
"delphi_utils.data" = ["20*/*.csv"] |
This file was deleted.
Oops, something went wrong.
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,42 @@ | ||
[build-system] | ||
requires = ["setuptools", "setuptools-scm>=8.0"] | ||
build-backend = "setuptools.build_meta" | ||
|
||
[project] | ||
name = "delphi_NAME" | ||
version = "0.1.0" | ||
description = "SHORT DESCRIPTION" | ||
readme = "README.md" | ||
requires-python = "== 3.8.*" | ||
license = { text = "MIT License" } | ||
classifiers = [ | ||
"Development Status :: 5 - Production/Stable", | ||
"Intended Audience :: Developers", | ||
"Programming Language :: Python :: 3.8", | ||
"License :: MIT", | ||
] | ||
dependencies = [ | ||
"delphi-utils", | ||
"numpy", | ||
"pandas>=1.1.0", | ||
] | ||
|
||
[project.urls] | ||
Homepage = "https://github.com/cmu-delphi/covidcast-indicators" | ||
|
||
[project.optional-dependencies] | ||
dev = [ | ||
"darker[isort]~=2.1.1", | ||
"pylint==2.8.3", | ||
"pytest", | ||
"pydocstyle", | ||
"pytest-cov", | ||
"mock", | ||
"moto~=4.2.14", | ||
"requests-mock", | ||
"freezegun", | ||
] | ||
|
||
[tool.setuptools.packages.find] | ||
where = ["."] | ||
namespaces = true |
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
|
@@ -6,6 +6,7 @@ | |
"covidcast", | ||
"darker[isort]~=2.1.1", | ||
"delphi-utils", | ||
"mock", | ||
"moto~=4.2.14", | ||
"numpy", | ||
"pandas", | ||
|
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
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