WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Commit 95fd443

Browse files
authored
Fix setup.py syntax
1 parent fc4da9b commit 95fd443

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

setup.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#! /usr/bin/env python
2+
import os
23
from setuptools import setup
34

45
CLASSIFIERS = [
@@ -12,11 +13,17 @@
1213
'Programming Language :: Python :: 3.8',
1314
'Topic :: Software Development :: Libraries :: Python Modules']
1415

16+
README_PATH = os.path.join(os.path.dirname(os.path.abspath(__file__)), "README.md")
17+
with open(README_PATH, "r", encoding="utf8") as f:
18+
README = f.read()
19+
1520
setup(
1621
name='prices',
1722
author='Mirumee Software',
1823
author_email='[email protected]',
1924
description='Python price handling for humans',
25+
long_description=README,
26+
long_description_content_type="text/markdown",
2027
license='BSD',
2128
version='1.1.1',
2229
url='https://github.com/mirumee/prices',

0 commit comments

Comments
 (0)