Skip to content

Commit 9914c3b

Browse files
committed
Fix package metainfo.
Close #3
1 parent 00e5c12 commit 9914c3b

File tree

3 files changed

+7
-8
lines changed

3 files changed

+7
-8
lines changed

Diff for: MANIFEST.in

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
include bencoder.c bencoder.pyx README.rst pytest.ini LICENSE
1+
include bencoder.pyx README.rst LICENSE
22
global-exclude *.pyc __pycache__
3-
recursive-include tests *
3+
recursive-include tests *.py *.torrent

Diff for: README.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ A fast bencode implementation in Cython supports both Python2 & Python3 .
1010
.. image:: https://semaphoreci.com/api/v1/whtsky/bencoder-pyx/branches/develop/shields_badge.svg
1111
:target: https://semaphoreci.com/whtsky/bencoder-pyx
1212

13-
1413
.. image:: https://img.shields.io/travis/whtsky/bencoder.pyx/develop.svg?maxAge=3600&label=wheels
1514
:target: https://travis-ci.org/whtsky/bencoder.pyx
1615
.. image:: https://codecov.io/gh/whtsky/bencoder.pyx/branch/develop/graph/badge.svg
@@ -46,7 +45,8 @@ ChangeLog
4645
Version 1.1.3
4746
~~~~~~~~~~~~~~~
4847

49-
+
48+
+ Performance Improvement
49+
+ Fix package metainfo ` #3 <https://github.com/whtsky/bencoder.pyx/issues/3>`_
5050

5151
Version 1.1.2
5252
~~~~~~~~~~~~~~~

Diff for: setup.py

+3-4
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,8 @@
1111
if version < ('2', '7'):
1212
install_requires.append('ordereddict>=1.1')
1313

14-
base_path = os.path.dirname(os.path.abspath(__file__))
15-
pyx_path = os.path.join(base_path, 'bencoder.pyx')
16-
c_path = os.path.join(base_path, 'bencoder.c')
14+
pyx_path = 'bencoder.pyx'
15+
c_path = 'bencoder.c'
1716

1817
try:
1918
import Cython
@@ -100,7 +99,7 @@ def get_tag(self):
10099

101100
setup(
102101
name='bencoder.pyx',
103-
version='1.1.2',
102+
version='1.1.3',
104103
description='Yet another bencode implementation in Cython',
105104
long_description=open('README.rst', 'r').read(),
106105
author='whtsky',

0 commit comments

Comments
 (0)