Skip to content

Commit ceaf4d1

Browse files
committed
Switched to pbr for setup configuration
1 parent 816f93e commit ceaf4d1

4 files changed

Lines changed: 47 additions & 14 deletions

File tree

AUTHORS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Dean Gardiner <me@dgardiner.net>

MANIFEST.in

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
exclude *
2+
recursive-include bencode *.py
3+
recursive-include tests *
4+
include requirements*.txt .coveragerc .gitignore *.cfg *.in *.ini *.py *.rst *.yml
5+
global-exclude *.iml *.pyc

setup.cfg

Lines changed: 38 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,39 @@
1-
[egg_info]
2-
tag_build =
3-
tag_date = 0
4-
tag_svn_revision = 0
1+
[metadata]
2+
name = bencode.py
3+
author = Dean Gardiner
4+
author-email = me@dgardiner.net
5+
summary = Simple bencode parser (for Python 2, Python 3 and PyPy)
6+
description-file = README.rst
7+
home-page = https://github.com/fuzeman/bencode.py
8+
license = BitTorrent Open Source License
9+
classifier =
10+
Development Status :: 5 - Production/Stable
11+
Intended Audience :: Developers
12+
License :: Other/Proprietary License
13+
Operating System :: OS Independent
14+
Programming Language :: Python
15+
Programming Language :: Python :: 2
16+
Programming Language :: Python :: 2.6
17+
Programming Language :: Python :: 2.7
18+
Programming Language :: Python :: 3
19+
Programming Language :: Python :: 3.3
20+
Programming Language :: Python :: 3.4
21+
Programming Language :: Python :: 3.5
22+
Programming Language :: Python :: 3.6
23+
Programming Language :: Python :: Implementation :: PyPy
24+
Topic :: Software Development :: Libraries
25+
keywords =
26+
bittorrent
27+
bencode
28+
bdecode
529

30+
[files]
31+
packages =
32+
bencode
33+
34+
[bdist_wheel]
35+
universal = 1
36+
37+
[pbr]
38+
skip_changelog = true
39+
skip_git_sdist = 1

setup.py

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,10 @@
55

66
"""bencode.py - setup script."""
77

8-
from setuptools import setup, find_packages
8+
from setuptools import setup
99

1010

1111
setup(
12-
name="bencode.py",
13-
version="1.1.0",
14-
packages=find_packages(),
15-
16-
author="Dean Gardiner",
17-
author_email="me@dgardiner.net",
18-
description="BitTorrent bencode module with Python 3+ compatibility.",
19-
license="BitTorrent Open Source License",
20-
keywords="bittorrent bencode bdecode"
12+
setup_requires=['pbr>=1.9', 'setuptools>=17.1'],
13+
pbr=True,
2114
)

0 commit comments

Comments
 (0)