Skip to content

Commit 7221f8b

Browse files
committed
upload project description too
1 parent 54a8ac3 commit 7221f8b

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

setup.py

+6
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
# but most users really don't require it
77
from distutils.core import setup, Command
88
import timeit
9+
import os
910

1011
import versioneer
1112
versioneer.versionfile_source = "ecdsa/_version.py"
@@ -74,10 +75,15 @@ def do(setup_statements, statement):
7475

7576
commands["speed"] = Speed
7677

78+
here = os.path.abspath(os.path.dirname(__file__))
79+
with open(os.path.join(here, "README.md"), encoding='utf-8') as f:
80+
long_desc = f.read()
7781

7882
setup(name="ecdsa",
7983
version=versioneer.get_version(),
8084
description="ECDSA cryptographic signature library (pure python)",
85+
long_description=long_desc,
86+
long_description_content_type='text/markdown',
8187
author="Brian Warner",
8288
author_email="[email protected]",
8389
url="http://github.com/warner/python-ecdsa",

0 commit comments

Comments
 (0)