From 95fd44366d9ba1ab2684d8313542bae3be3922b9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Artur=20Sm=C4=99t?= <1754812+artursmet@users.noreply.github.com> Date: Fri, 7 Oct 2022 14:54:21 +0200 Subject: [PATCH] Fix setup.py syntax --- setup.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/setup.py b/setup.py index 9560c47..5719c0e 100755 --- a/setup.py +++ b/setup.py @@ -1,4 +1,5 @@ #! /usr/bin/env python +import os from setuptools import setup CLASSIFIERS = [ @@ -12,11 +13,17 @@ 'Programming Language :: Python :: 3.8', 'Topic :: Software Development :: Libraries :: Python Modules'] +README_PATH = os.path.join(os.path.dirname(os.path.abspath(__file__)), "README.md") +with open(README_PATH, "r", encoding="utf8") as f: + README = f.read() + setup( name='prices', author='Mirumee Software', author_email='hello@mirumee.com', description='Python price handling for humans', + long_description=README, + long_description_content_type="text/markdown", license='BSD', version='1.1.1', url='https://github.com/mirumee/prices',