From 07a0004c4d2d078334c01a84c3911158c99982f8 Mon Sep 17 00:00:00 2001 From: Kevin Midboe Date: Sun, 4 Jul 2021 15:26:34 +0200 Subject: [PATCH] Setup.py's long description is contents of README. --- setup.py | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index c8acd03..a959983 100644 --- a/setup.py +++ b/setup.py @@ -2,8 +2,14 @@ # -*- encoding: utf-8 -*- from setuptools import setup, find_packages +from sys import path +from os.path import dirname -import torrentSearch +path.append(dirname(__file__)) +import delugeClient + +with open("README.md", "r", encoding="utf-8") as fh: + long_description = fh.read() setup( name='torrentSearch', @@ -14,7 +20,7 @@ setup( }, author='KevinMidboe', description='Search For Torrents', - long_description="README on github : https://github.com/KevinMidboe/torrent_search", + long_description=long_description, install_requires=[ 'docopt', 'beautifulsoup4',