Skip to content

Commit ab9d706

Browse files
authored
Merge pull request #7 from adamspd/fixing-dependancies
Move package info to __info__.py
2 parents 5dc649f + 69151c2 commit ab9d706

File tree

3 files changed

+9
-10
lines changed

3 files changed

+9
-10
lines changed

check_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import requests
2-
from spam_detector_ai import __version__, __package_name__, __test_version__
2+
from spam_detector_ai.__info__ import __version__, __package_name__, __test_version__
33

44

55
def check_package_version(package_name, current_version):

spam_detector_ai/__info__.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
__author__ = "Adams Pierre David"
2+
__author_email__ = "[email protected]"
3+
__author_website__ = "https://adamspierredavid.com/"
4+
__description__ = "Detecting and filtering spam messages using Machine Learning models."
5+
__package_name__ = "spam-detector-ai"
6+
__url__ = "https://github.com/adamspd/spam-detection-project"
7+
__version__ = "1.0.3"
8+
__test_version__ = True

spam_detector_ai/__init__.py

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,3 @@
55
from . import prediction
66
from . import test_and_tuning
77
from . import training
8-
9-
__author__ = "Adams Pierre David"
10-
__author_email__ = "[email protected]"
11-
__author_website__ = "https://adamspierredavid.com/"
12-
__description__ = "Detecting and filtering spam messages using Machine Learning models."
13-
__package_name__ = "spam-detector-ai"
14-
__url__ = "https://github.com/adamspd/spam-detection-project"
15-
__version__ = "1.0.3"
16-
__test_version__ = True

0 commit comments

Comments
 (0)