Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
awdeorio committed Mar 29, 2024
2 parents b00a513 + 8e6c1ce commit b359fd8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions madoop/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@
"""
import argparse
import importlib.metadata
import logging
import pathlib
import shutil
import sys
import textwrap
import pkg_resources
from .mapreduce import mapreduce
from .exceptions import MadoopError

Expand All @@ -21,10 +21,10 @@ def main():
)

optional_args = parser.add_argument_group('optional arguments')
version = pkg_resources.get_distribution("madoop").version

optional_args.add_argument(
'--version', action='version',
version=f'Madoop {version}'
version=f'Madoop {importlib.metadata.version("madoop")}'
)
optional_args.add_argument(
'--example', action=ExampleAction, nargs=0,
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "madoop"
version = "1.2.0"
version = "1.2.1"
description="A light weight MapReduce framework for education."
license = {file = "LICENSE"}
authors = [
Expand Down

0 comments on commit b359fd8

Please sign in to comment.