Skip to content

Commit

Permalink
update setuptools.py
Browse files Browse the repository at this point in the history
  • Loading branch information
muhammad-fiaz committed Dec 16, 2023
1 parent 3daed0b commit 4262d4b
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 10 deletions.
9 changes: 3 additions & 6 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
pip==23.3.1
setuptools==69.0.2
pytest==7.4.3
packaging~=23.2
twine >=4.0.2
colorama>=0.4.2
colorama>=0.4.6
pytest>=7.4.3
setuptools>=69.0.2
6 changes: 3 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

from logly.version import get_Version

VERSION = "0.0.1"
VERSION = "0.0.2"

get_Version(VERSION)

Expand All @@ -23,7 +23,7 @@
url='https://github.com/muhammad-fiaz/logly.git',
packages=find_packages(),
keywords=[
'log','logging','logly','python'
'log', 'logging', 'logly', 'python'
],
classifiers=[
"Development Status :: 1 - Planning",
Expand All @@ -39,7 +39,7 @@
'setuptools==69.0.2',
'pytest==7.4.3',
'packaging==23.2',
'colorama',
'colorama>=0.4.4'
],
setup_requires=['pytest-runner'],
tests_require=['pytest'],
Expand Down
14 changes: 14 additions & 0 deletions tests/log.txt
Original file line number Diff line number Diff line change
Expand Up @@ -68,3 +68,17 @@
[2023-12-16 21:17:30] INFO: DefaultKey1: DefaultValue1
[2023-12-16 21:17:30] WARNING: DefaultKey2: DefaultValue2
[2023-12-16 21:17:30] INFO: Accessing color directly: DirectColorValue
[2023-12-16 23:46:56] INFO: Key1: Value1
[2023-12-16 23:46:56] WARNING: Key2: Value2
[2023-12-16 23:46:56] ERROR: Key3: Value3
[2023-12-16 23:46:56] DEBUG: Key4: Value4
[2023-12-16 23:46:56] CRITICAL: Key5: Value5
[2023-12-16 23:46:56] FATAL: Key6: Value6
[2023-12-16 23:46:56] TRACE: Key7: Value7
[2023-12-16 23:46:56] LOG: Key8: Value8
[2023-12-16 23:46:56] INFO: AnotherKey1: AnotherValue1
[2023-12-16 23:46:56] WARNING: AnotherKey2: AnotherValue2
[2023-12-16 23:46:56] ERROR: AnotherKey3: AnotherValue3
[2023-12-16 23:46:56] INFO: DefaultKey1: DefaultValue1
[2023-12-16 23:46:56] WARNING: DefaultKey2: DefaultValue2
[2023-12-16 23:46:56] INFO: Accessing color directly: DirectColorValue
2 changes: 2 additions & 0 deletions tests/path/log.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,5 @@
[2023-12-16 21:17:20] WARNING: CustomKey2: CustomValue2
[2023-12-16 21:17:30] INFO: CustomKey1: CustomValue1
[2023-12-16 21:17:30] WARNING: CustomKey2: CustomValue2
[2023-12-16 23:46:56] INFO: CustomKey1: CustomValue1
[2023-12-16 23:46:56] WARNING: CustomKey2: CustomValue2
1 change: 0 additions & 1 deletion tests/test_sample.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
import pytest

from logly import Logly
from logly import exception

@pytest.fixture
def logly_instance():
Expand Down

0 comments on commit 4262d4b

Please sign in to comment.