Skip to content

Commit

Permalink
revert: pbr removal
Browse files Browse the repository at this point in the history
  • Loading branch information
AuHau committed Feb 14, 2023
1 parent c0cd4db commit 4829a62
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
3 changes: 1 addition & 2 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
[metadata]
name = togglCli
version = attr: toggl.__version__
summary = Command line tool and set of Python wrapper classes for interacting with toggl's API
description-file = README.md
description-content-type = text/markdown
Expand All @@ -11,7 +10,7 @@ home-page = https://toggl.uhlir.dev
python_requires = >=3.7.0
project_urls =
Source = https://github.com/auhau/toggl-cli
Documentation = https://toggl.uhlir.dev
Documentation = https://toggl.uhlir.devg
classifier =
License :: OSI Approved :: MIT License
Programming Language :: Python
Expand Down
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@
import setuptools

setuptools.setup(
setup_requires=['setuptools>=39.2.0', 'wheel>=0.31.0', 'twine>=1.11.0'],
setup_requires=['pbr>=5.0', 'setuptools>=38.6.0', 'wheel>=0.31.0', 'twine>=1.11.0'],
pbr=True
)
6 changes: 5 additions & 1 deletion toggl/__init__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
__version__ = '2.4.2'
from pbr.version import VersionInfo

VERSION = VersionInfo('togglCli').semantic_version()
__version__ = VERSION.release_string()

__all__ = (
'__version__',
'VERSION',
'api',
'utils',
'exceptions',
Expand Down

0 comments on commit 4829a62

Please # to comment.