Skip to content

Commit fa2d2f8

Browse files
committed
made changes based on suggestion
1 parent 5628813 commit fa2d2f8

File tree

5 files changed

+9
-56
lines changed

5 files changed

+9
-56
lines changed

_delphi_utils_python/.bumpversion.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@ commit = True
44
message = chore: bump delphi_utils to {new_version}
55
tag = False
66

7-
[bumpversion:file:setup.py]
7+
[bumpversion:file:pyproject.toml]
88

99
[bumpversion:file:delphi_utils/__init__.py]

_delphi_utils_python/DEVELOP.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ To install the module in your default version of Python, run the
99
following from this directory:
1010

1111
```
12-
pip install .
12+
pip install -e '.[dev]'
1313
```
1414

1515
As described in each of the indicator code directories, you will want to install

_delphi_utils_python/Makefile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,11 @@ venv:
66
install: venv
77
. env/bin/activate; \
88
pip install wheel ; \
9-
pip install -e .
9+
pip install -e '.[dev]'
1010

1111
install-ci: venv
1212
. env/bin/activate; \
13-
pip install wheel ; \
14-
pip install .
13+
pip install 'build[virtualenv]' pylint pytest pydocstyle wheel twine
1514

1615
lint:
1716
. env/bin/activate; pylint delphi_utils --rcfile=../pyproject.toml
@@ -30,4 +29,5 @@ clean:
3029

3130
release: lint test
3231
. env/bin/activate ; \
33-
python setup.py sdist bdist_wheel
32+
pip install 'build[virtualenv]' ; \
33+
python -m build --sdist --wheel

_delphi_utils_python/pyproject.toml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ name = "delphi-utils"
77
version = "0.3.23"
88
description = "Shared Utility Functions for Indicators"
99
readme = "README.md"
10-
license = "MIT"
10+
requires-python = "== 3.8.*"
11+
license = {text = "MIT License"}
1112
classifiers = [
1213
"Development Status :: 5 - Production/Stable",
1314
"Intended Audience :: Developers",
@@ -29,7 +30,7 @@ dependencies = [
2930
]
3031

3132
[project.urls]
32-
Homepage = "https://github.com/cmu-delphi/"
33+
Homepage = "https://github.com/cmu-delphi/covidcast-indicators"
3334

3435

3536
[project.optional-dependencies]

_delphi_utils_python/setup.py

Lines changed: 0 additions & 48 deletions
This file was deleted.

0 commit comments

Comments
 (0)