Skip to content

Instantly share code, notes, and snippets.

@intuited
Created June 4, 2010 00:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save intuited/424729 to your computer and use it in GitHub Desktop.
Save intuited/424729 to your computer and use it in GitHub Desktop.
# the top-level file 'setup.py' from the possibly-broken BitTorrent-bencode python module.
from setuptools import setup, find_packages
setup(
name = "BitTorrent-bencode",
version = "5.0.8",
packages = find_packages(),
# metadata for upload to PyPI
author = "Bram Cohen",
author_email = "bugs@bittorrent.com",
description = "The BitTorrent bencode module as leight-weight, standalone package.",
license = "BitTorrent Open Source License",
keywords = "bittorrent bencode bdecode",
url = "http://bittorrent.com/",
zip_safe = True,
test_suite = "test.testbencode",
long_description = """This package simply re-packages the existing bencoding and bdecoding implemention from the 'official' BitTorrent client as a separate, leight-weight package for re-using them without having the entire BitTorrent software as a dependency.
It currently uses the implementation from BitTorrent Version 5.0.8, the file `bencode.py` is a verbatim, unmodified copy from that distribution.
It also contains some tests and a benchmark.
""",
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment