2020-06-22 15:53:44 +02:00
|
|
|
#!/usr/bin/env python
|
|
|
|
|
|
|
|
import os
|
|
|
|
|
|
|
|
from setuptools import setup, find_packages
|
|
|
|
|
|
|
|
from minode import shared
|
|
|
|
|
|
|
|
|
|
|
|
README = open(os.path.join(
|
|
|
|
os.path.abspath(os.path.dirname(__file__)), 'README.md')).read()
|
|
|
|
|
|
|
|
name, version = shared.user_agent.strip(b'/').split(b':')
|
|
|
|
|
|
|
|
setup(
|
|
|
|
name=name.decode('utf-8'),
|
|
|
|
version=version.decode('utf-8'),
|
|
|
|
description='Python 3 implementation of the Bitmessage protocol.'
|
|
|
|
' Designed only to route objects inside the network.',
|
|
|
|
long_description=README,
|
|
|
|
license='MIT',
|
|
|
|
author='Krzysztof Oziomek',
|
2022-09-10 18:24:49 +02:00
|
|
|
url='https://git.bitmessage.org/lee.miller/MiNode',
|
2021-03-11 20:59:10 +01:00
|
|
|
packages=find_packages(exclude=('*tests',)),
|
2020-06-22 15:53:44 +02:00
|
|
|
package_data={'': ['*.csv', 'tls/*.pem']},
|
|
|
|
entry_points={'console_scripts': ['minode = minode.main:main']},
|
2023-09-05 04:00:56 +02:00
|
|
|
extras_require={'proxy': ['PySocks'], 'tor': ['PySocks', 'stem']},
|
2020-06-22 15:53:44 +02:00
|
|
|
classifiers=[
|
|
|
|
"License :: OSI Approved :: MIT License"
|
|
|
|
"Operating System :: OS Independent",
|
|
|
|
"Programming Language :: Python :: 3",
|
|
|
|
"Topic :: Internet",
|
|
|
|
"Topic :: Security :: Cryptography",
|
|
|
|
"Topic :: Software Development :: Libraries :: Python Modules",
|
|
|
|
],
|
|
|
|
)
|