235a42884f
v0.6.0, overall, tries to make magnetico more stable rather than introducing new features. ## magneticod * Removed better_bencode internal fork (but we are still using it so no loss at performance). This has caused some issues for some users and this release should solve the issue (e.g. #98). * General cleanup, performance improvements, minor bug fixes... * Most notably among all, we improved our still-primitive congestion control support for BSD-based OSes, including OS X. ## magneticow * There are no changes in magneticow, but version number is bumped to stay in-sync with magneticod.
51 lines
1.5 KiB
Python
51 lines
1.5 KiB
Python
from setuptools import find_packages, setup, Extension
|
|
import sys
|
|
|
|
|
|
def read_file(path):
|
|
with open(path) as file:
|
|
return file.read()
|
|
|
|
|
|
def run_setup():
|
|
install_requirements = [
|
|
"appdirs >= 1.4.3",
|
|
"humanfriendly",
|
|
"better_bencode >= 0.2.1"
|
|
]
|
|
|
|
if sys.platform in ["linux", "darwin"]:
|
|
install_requirements.append("uvloop >= 0.8.0")
|
|
|
|
setup(
|
|
name="magneticod",
|
|
version="0.6.0",
|
|
description="Autonomous BitTorrent DHT crawler and metadata fetcher.",
|
|
long_description=read_file("README.rst"),
|
|
url="http://magnetico.org",
|
|
author="Mert Bora ALPER",
|
|
author_email="bora@boramalper.org",
|
|
license="GNU Affero General Public License v3 or later (AGPLv3+)",
|
|
packages=find_packages(),
|
|
zip_safe=False,
|
|
entry_points={
|
|
"console_scripts": ["magneticod=magneticod.__main__:main"]
|
|
},
|
|
|
|
install_requires=install_requirements,
|
|
|
|
classifiers=[
|
|
"Development Status :: 2 - Pre-Alpha",
|
|
"Environment :: No Input/Output (Daemon)",
|
|
"Intended Audience :: End Users/Desktop",
|
|
"License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)",
|
|
"Natural Language :: English",
|
|
"Operating System :: POSIX :: Linux",
|
|
"Programming Language :: Python :: 3 :: Only",
|
|
"Programming Language :: Python :: Implementation :: CPython",
|
|
]
|
|
)
|
|
|
|
|
|
run_setup()
|