1c15afb45a
## Changes ### mangeticod * Cython-based bencoder.pyx is used instead of our own pure Python solution. * `--node-addr` commandline argument added. * TCP QUICKACK is automatically enabled (instead of by default) so that magneticod can work on macOS as well. * Database index added for `info_hash` column of `torrents` table. ### magneticow * Some small performance improvements for search.
42 lines
1.2 KiB
Python
42 lines
1.2 KiB
Python
from setuptools import setup
|
|
|
|
|
|
def read_file(path):
|
|
with open(path) as file:
|
|
return file.read()
|
|
|
|
|
|
setup(
|
|
name="magneticow",
|
|
version="0.2.0",
|
|
description="Lightweight web interface for magnetico.",
|
|
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=["magneticow"],
|
|
include_package_data=True,
|
|
zip_safe=False,
|
|
entry_points={
|
|
"console_scripts": ["magneticow=magneticow.__main__:main"]
|
|
},
|
|
|
|
install_requires=[
|
|
"appdirs >= 1.4.3",
|
|
"flask >= 0.12.1",
|
|
"gevent >= 1.2.1"
|
|
],
|
|
|
|
classifiers=[
|
|
"Development Status :: 2 - Pre-Alpha",
|
|
"Environment :: Web Environment",
|
|
"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"
|
|
]
|
|
)
|