From d1bfd8581dcc8792bf59b14bbdad728c1871dceb Mon Sep 17 00:00:00 2001 From: Cryptcoin Junkey Date: Thu, 13 May 2021 22:50:56 +0000 Subject: [PATCH] . --- setup.py | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/setup.py b/setup.py index bd64c88e..bbc93778 100644 --- a/setup.py +++ b/setup.py @@ -34,7 +34,6 @@ def run(self): required_packages = [ 'appdirs==1.4.0', - 'setuptools-markdown==0.2', 'prettytable==0.7.2', 'colorlog==2.7.0', 'python-dateutil==2.5.3', @@ -52,7 +51,8 @@ def run(self): 'url': 'http://counterparty.io', 'license': 'MIT', 'description': 'Counterparty Protocol Command-Line Interface', - 'long_description': '', + 'long_description': open('README.md').read(), + 'long_description_content_type': 'text/markdown', 'keywords': 'counterparty,bitcoin', 'classifiers': [ "Development Status :: 5 - Production/Stable", @@ -72,7 +72,7 @@ def run(self): 'provides': ['counterpartycli'], 'packages': find_packages(), 'zip_safe': False, - 'setup_requires': ['setuptools-markdown',], + 'setup_requires': [], 'install_requires': required_packages, 'entry_points': { 'console_scripts': [ @@ -118,8 +118,5 @@ def run(self): 'py2exe': py2exe } }) -# prepare PyPi package -elif sys.argv[1] == 'sdist': - setup_options['long_description_markdown_filename'] = 'README.md' setup(**setup_options)