Skip to content

Commit

Permalink
reduce required pacakge
Browse files Browse the repository at this point in the history
  • Loading branch information
talaatmagdyx committed Jun 9, 2024
1 parent 03703cb commit 627c1b3
Show file tree
Hide file tree
Showing 4 changed files with 39 additions and 14 deletions.
4 changes: 3 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,6 @@
## [1.0.4] - 2024-06-07
- default_stop_condition stops retrying after 3 attempts.
- default_wait_condition waits 1 second between attempts.
- If no stop_condition or wait_condition is provided, the defaults will be used.
- If no stop_condition or wait_condition is provided, the defaults will be used.
## [1.0.5] - 2024-06-09
- reduce required installation package
19 changes: 14 additions & 5 deletions 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 = "retry_plus"
version = "1.0.4"
version = "1.0.5"
description = "A generic retry package for Python"
readme = "README.md"
authors = [
Expand All @@ -16,11 +16,20 @@ classifiers = [
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
]
dependencies = [
"pytest",
"pytest-asyncio",
]
dependencies = []
requires-python = ">=3.6"

[tool.setuptools.packages.find]
where = ["."]

[project.optional-dependencies]
dev = [
"pytest",
"pytest-asyncio"
]
docs = [
"sphinx",
"myst-parser",
"readthedocs-sphinx-ext",
"sphinx_rtd_theme"
]
10 changes: 7 additions & 3 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[metadata]
name = retry_plus
version = 1.0.4
version = 1.0.5
description = A generic retry package for Python
long_description = file: README.md
long_description_content_type = text/markdown
Expand All @@ -15,8 +15,7 @@ classifiers =
[options]
packages = find:
install_requires =
pytest
pytest-asyncio
# No dependencies are required for the core functionality
python_requires = >=3.6

[options.packages.find]
Expand All @@ -30,6 +29,11 @@ console_scripts =
dev =
pytest
pytest-asyncio
docs =
sphinx
myst-parser
readthedocs-sphinx-ext
sphinx_rtd_theme

[tool:pytest]
testpaths = tests
20 changes: 15 additions & 5 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,27 @@

setup(
name='retry_plus',
version='1.0.4',
version='1.0.5',
description='A generic retry package for Python',
long_description=long_description,
long_description_content_type='text/markdown',
author='Talaat Magdy',
author_email='[email protected]',
url='https://github.com/talaatmagdyx/retry_plus', # Add your project URL
packages=find_packages(),
install_requires=[
'pytest',
'pytest-asyncio',
],
install_requires=[],
extras_require={
'dev': [
'pytest',
'pytest-asyncio',
],
'docs': [
'sphinx',
'myst-parser',
'readthedocs-sphinx-ext',
'sphinx_rtd_theme',
],
},
classifiers=[
'Programming Language :: Python :: 3',
'License :: OSI Approved :: MIT License',
Expand Down

0 comments on commit 627c1b3

Please sign in to comment.