8000 Remove wrong download_url from package metadata · sesam-io/msgpack-python@318ddfc · GitHub
[go: up one dir, main page]

Skip to content

Commit 318ddfc

Browse files
committed
Remove wrong download_url from package metadata
1 parent c6c4e59 commit 318ddfc

File tree

2 files changed

+9
-4
lines changed

2 files changed

+9
-4
lines changed

Makefile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,9 @@ python3: cython
2020

2121
test:
2222
py.test test
23+
24+
.PHONY: clean
25+
clean:
26+
rm -rf build
27+
rm msgpack/*.so
28+
rm -rf msgpack/__pycache__

setup.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
#!/usr/bin/env python
22
# coding: utf-8
3+
import io
34
import os
45
import sys
56
from glob import glob
@@ -97,9 +98,8 @@ def __init__(self, *args, **kwargs):
9798

9899

99100
desc = 'MessagePack (de)serializer.'
100-
f = open('README.rst')
101-
long_desc = f.read()
102-
f.close()
101+
with io.open('README.rst', encoding='utf-8') as f:
102+
long_desc = f.read()
103103
del f
104104

105105
setup(name='msgpack-python',
@@ -112,7 +112,6 @@ def __init__(self, *args, **kwargs):
112112
description=desc,
113113
long_description=long_desc,
114114
url='http://msgpack.org/',
115-
download_url='http://pypi.python.org/pypi/msgpack/',
116115
classifiers=[
117116
'Programming Language :: Python :: 2',
118117
'Programming Language :: Python :: 3',

0 commit comments

Comments
 (0)
0