Skip to content

Commit 4262d4b

Browse files
committed
update setuptools.py
1 parent 3daed0b commit 4262d4b

File tree

5 files changed

+22
-10
lines changed

5 files changed

+22
-10
lines changed

requirements.txt

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
pip==23.3.1
2-
setuptools==69.0.2
3-
pytest==7.4.3
4-
packaging~=23.2
5-
twine >=4.0.2
6-
colorama>=0.4.2
1+
colorama>=0.4.6
2+
pytest>=7.4.3
3+
setuptools>=69.0.2

setup.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
from logly.version import get_Version
44

5-
VERSION = "0.0.1"
5+
VERSION = "0.0.2"
66

77
get_Version(VERSION)
88

@@ -23,7 +23,7 @@
2323
url='https://github.com/muhammad-fiaz/logly.git',
2424
packages=find_packages(),
2525
keywords=[
26-
'log','logging','logly','python'
26+
'log', 'logging', 'logly', 'python'
2727
],
2828
classifiers=[
2929
"Development Status :: 1 - Planning",
@@ -39,7 +39,7 @@
3939
'setuptools==69.0.2',
4040
'pytest==7.4.3',
4141
'packaging==23.2',
42-
'colorama',
42+
'colorama>=0.4.4'
4343
],
4444
setup_requires=['pytest-runner'],
4545
tests_require=['pytest'],

tests/log.txt

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,3 +68,17 @@
6868
[2023-12-16 21:17:30] INFO: DefaultKey1: DefaultValue1
6969
[2023-12-16 21:17:30] WARNING: DefaultKey2: DefaultValue2
7070
[2023-12-16 21:17:30] INFO: Accessing color directly: DirectColorValue
71+
[2023-12-16 23:46:56] INFO: Key1: Value1
72+
[2023-12-16 23:46:56] WARNING: Key2: Value2
73+
[2023-12-16 23:46:56] ERROR: Key3: Value3
74+
[2023-12-16 23:46:56] DEBUG: Key4: Value4
75+
[2023-12-16 23:46:56] CRITICAL: Key5: Value5
76+
[2023-12-16 23:46:56] FATAL: Key6: Value6
77+
[2023-12-16 23:46:56] TRACE: Key7: Value7
78+
[2023-12-16 23:46:56] LOG: Key8: Value8
79+
[2023-12-16 23:46:56] INFO: AnotherKey1: AnotherValue1
80+
[2023-12-16 23:46:56] WARNING: AnotherKey2: AnotherValue2
81+
[2023-12-16 23:46:56] ERROR: AnotherKey3: AnotherValue3
82+
[2023-12-16 23:46:56] INFO: DefaultKey1: DefaultValue1
83+
[2023-12-16 23:46:56] WARNING: DefaultKey2: DefaultValue2
84+
[2023-12-16 23:46:56] INFO: Accessing color directly: DirectColorValue

tests/path/log.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,5 @@
88
[2023-12-16 21:17:20] WARNING: CustomKey2: CustomValue2
99
[2023-12-16 21:17:30] INFO: CustomKey1: CustomValue1
1010
[2023-12-16 21:17:30] WARNING: CustomKey2: CustomValue2
11+
[2023-12-16 23:46:56] INFO: CustomKey1: CustomValue1
12+
[2023-12-16 23:46:56] WARNING: CustomKey2: CustomValue2

tests/test_sample.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
import pytest
44

55
from logly import Logly
6-
from logly import exception
76

87
@pytest.fixture
98
def logly_instance():

0 commit comments

Comments
 (0)