Skip to content

Commit

Permalink
Merge cf2b699 into dc77961
Browse files Browse the repository at this point in the history
  • Loading branch information
jacebrowning committed Apr 16, 2023
2 parents dc77961 + cf2b699 commit e36657e
Show file tree
Hide file tree
Showing 4 changed files with 37 additions and 28 deletions.
12 changes: 10 additions & 2 deletions mine/__init__.py
@@ -1,7 +1,15 @@
"""Package for mine."""

from pkg_resources import get_distribution
from importlib.metadata import PackageNotFoundError, version

try:
__version__ = version("mine")
except PackageNotFoundError:
__version__ = "(local)"

del PackageNotFoundError
del version

CLI = "mine"
VERSION = "mine v{}".format(get_distribution("mine").version)
VERSION = f"mine v{__version__}"
DESCRIPTION = "Share application state across computers using Dropbox."
2 changes: 1 addition & 1 deletion mine/tests/test_services.py
Expand Up @@ -9,7 +9,7 @@
from mine.tests.conftest import FILES


@pytest.yield_fixture
@pytest.fixture
def tmp_dir(tmpdir):
cwd = os.getcwd()
tmpdir.chdir()
Expand Down
39 changes: 20 additions & 19 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 6 additions & 6 deletions pyproject.toml
@@ -1,7 +1,7 @@
[tool.poetry]

name = "mine"
version = "3.0"
version = "3.0.1"
description = "Share application state across computers using Dropbox."

license = "MIT"
Expand Down Expand Up @@ -38,11 +38,11 @@ classifiers = [

python = "^3.8"

YORM = "^1.4"
psutil = "^2.2"
YORM = "^1.6"
psutil = "^4.4"
crayons = "~0.1"
minilog = "^2.0"
universal-startfile = "*"
minilog = "^2.1"
universal-startfile = "^0.2"

[tool.poetry.dev-dependencies]

Expand All @@ -63,7 +63,7 @@ pytest = "^7.1"
pytest-describe = "^2.0"
pytest-expecter = "^3.0"
pytest-random = "*"
pytest-cov = "^3.0"
pytest-cov = "^4.0"
freezegun = "*"

# Reports
Expand Down

0 comments on commit e36657e

Please sign in to comment.