From 6c9d8b5350077c980749c1897c0da1f64d90b2ef Mon Sep 17 00:00:00 2001 From: Alexandre Dulaunoy Date: Wed, 10 Jan 2024 16:49:15 +0100 Subject: [PATCH] chg: [release] add the complete README.md for PyPI --- setup.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/setup.py b/setup.py index ac98107..a7642b3 100644 --- a/setup.py +++ b/setup.py @@ -1,12 +1,18 @@ from setuptools import setup, find_packages +from pathlib import Path +this_directory = Path(__file__).parent +long_description = (this_directory / "README.md").read_text() + setup( name="DomainClassifier", - version="1.1", + version="1.3", packages=find_packages(), install_requires=['dnspython', 'IPy', 'pybgpranking'], author="Alexandre Dulaunoy", author_email="a@foo.be", description="DomainClassifier is a Python library to extract and classify Internet domains/hostnames/IP addresses from raw unstructured text files following their existence, localization or attributes.", + long_description=long_description, + long_description_content_type='text/markdown', license="AGPL", keywords="internet mining domain resolver geolocalisation", url="http://github.com/adulau/DomainClassifier"