-
Notifications
You must be signed in to change notification settings - Fork 316
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
6 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,6 +6,7 @@ | |
# but most users really don't require it | ||
from distutils.core import setup, Command | ||
import timeit | ||
import os | ||
|
||
import versioneer | ||
versioneer.versionfile_source = "ecdsa/_version.py" | ||
|
@@ -74,10 +75,15 @@ def do(setup_statements, statement): | |
|
||
commands["speed"] = Speed | ||
|
||
here = os.path.abspath(os.path.dirname(__file__)) | ||
with open(os.path.join(here, "README.md"), encoding='utf-8') as f: | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
tomato42
Author
Member
|
||
long_desc = f.read() | ||
|
||
setup(name="ecdsa", | ||
version=versioneer.get_version(), | ||
description="ECDSA cryptographic signature library (pure python)", | ||
long_description=long_desc, | ||
long_description_content_type='text/markdown', | ||
author="Brian Warner", | ||
author_email="[email protected]", | ||
url="http://github.com/warner/python-ecdsa", | ||
|
Hi there! It looks like the encoding keyword argument is not valid in python 2.7:
TypeError: 'encoding' is an invalid keyword argument for this function