Skip to content

Commit 99a7af1

Browse files
committed
updated manifest and setup file
1 parent 3407331 commit 99a7af1

File tree

2 files changed

+21
-11
lines changed

2 files changed

+21
-11
lines changed

MANIFEST.in

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

33
include LICENSE
44
include data/*
5-
recursive-include models/ *.pkl
5+
recursive-include models/ *
66
exclude *.log
7-
recursive-include classifier/ *.py
8-
recursive-include loading_and_processing/ *.py
9-
recursive-include prediction/ *.py
10-
recursive-include training/ *.py
11-
recursive-include test_and_tuning/ *.py
7+
recursive-include classifiers/ *
8+
recursive-include loading_and_processing/ *
9+
recursive-include prediction/ *
10+
recursive-include training/ *
11+
recursive-include test_and_tuning/ *
1212
include *.md
1313
include setup.py
1414
include logger_config.py

setup.cfg

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22
name = spam-detection
33
version = 1.0.0
44
description = A package for spam detection using machine learning algorithms.
5+
long_description = file: README.md
6+
long_description_content_type = text/markdown
57
url = https://github.com/adamspd/spam-detection-project
68
author = Adams Pierre David
79
author_email = [email protected]
8-
author_website = https://adamspierredavid.com/
9-
readme = README.md
1010
license = Apache License 2.0
1111
classifiers =
1212
Environment :: Console
@@ -15,7 +15,6 @@ classifiers =
1515
Operating System :: OS Independent
1616
Programming Language :: Python
1717
Programming Language :: Python :: 3
18-
Programming Language :: Python :: 3 :: Only
1918
Programming Language :: Python :: 3.8
2019
Programming Language :: Python :: 3.9
2120
Programming Language :: Python :: 3.10
@@ -24,7 +23,18 @@ classifiers =
2423

2524
[options]
2625
include_package_data = true
27-
packages = find:
26+
packages =
27+
spam_detection
28+
spam_detection.models
29+
spam_detection.models.svm
30+
spam_detection.models.naive_bayes
31+
spam_detection.models.random_forest
32+
spam_detection.training
33+
spam_detection.classifiers
34+
spam_detection.loading_and_processing
35+
spam_detection.prediction
36+
spam_detection.test_and_tuning
37+
2838
python_requires = >=3.8
2939
install_requires =
3040
scikit-learn
@@ -33,4 +43,4 @@ install_requires =
3343

3444
[options.package_data]
3545
* = data/*
36-
models = models/*/*
46+
spam_detection = models/*/*

0 commit comments

Comments
 (0)