From 7b42b2cdbd7aa917f3f809649557ee29bf937059 Mon Sep 17 00:00:00 2001 From: juaduan Date: Tue, 20 Feb 2024 20:30:40 +0800 Subject: [PATCH] add long description --- MANIFEST.in | 3 +++ setup.py | 5 ++++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/MANIFEST.in b/MANIFEST.in index 5f7e670..342befa 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -4,4 +4,7 @@ recursive-include ./anomaly-detector/*.h recursive-include ./anomaly-detector/*.py recursive-include ./anomaly-detector/*.txt recursive-include ./anomaly-detector/anomaly_detector/univariate * +include ./README.md +include ./LICENSE +include ./requirements.txt include ./setup.py \ No newline at end of file diff --git a/setup.py b/setup.py index cd7ff55..85ed5d5 100644 --- a/setup.py +++ b/setup.py @@ -12,6 +12,8 @@ if __name__ == "__main__": import os + with Path(Path(__file__).parent, "README.md").open(encoding="utf-8") as file: + long_description = file.read() def get_all_package_and_dir(directory): all_package = {} @@ -81,7 +83,8 @@ def run(self): version="0.1.0", license="MIT", description="Anomaly Detection", - author="test", + long_description=long_description, + author="Microsoft", author_email="ad-oss@microsoft.com", url="https://github.com/microsoft/anomaly-detector", data_files=[