2020-04-27 05:33:26 -06:00
|
|
|
import setuptools
|
2022-06-10 03:27:31 -06:00
|
|
|
import sys
|
|
|
|
|
|
|
|
pure_python = False
|
|
|
|
if '--pure' in sys.argv:
|
|
|
|
pure_python = True
|
|
|
|
sys.argv.remove('--pure')
|
|
|
|
print("Building pure-python wheel")
|
2020-04-27 05:33:26 -06:00
|
|
|
|
2021-08-19 06:10:37 -06:00
|
|
|
exec(open("RNS/_version.py", "r").read())
|
|
|
|
|
2020-04-27 05:33:26 -06:00
|
|
|
with open("README.md", "r") as fh:
|
|
|
|
long_description = fh.read()
|
|
|
|
|
2022-06-10 03:27:31 -06:00
|
|
|
if pure_python:
|
|
|
|
pkg_name = "rnspure"
|
|
|
|
requirements = []
|
|
|
|
else:
|
|
|
|
pkg_name = "rns"
|
|
|
|
requirements = ['cryptography>=3.4.7', 'pyserial>=3.5', 'netifaces']
|
|
|
|
|
2020-04-27 05:33:26 -06:00
|
|
|
setuptools.setup(
|
2022-06-10 03:27:31 -06:00
|
|
|
name=pkg_name,
|
2021-08-19 06:10:37 -06:00
|
|
|
version=__version__,
|
2020-04-27 05:33:26 -06:00
|
|
|
author="Mark Qvist",
|
|
|
|
author_email="mark@unsigned.io",
|
|
|
|
description="Self-configuring, encrypted and resilient mesh networking stack for LoRa, packet radio, WiFi and everything in between",
|
|
|
|
long_description=long_description,
|
|
|
|
long_description_content_type="text/markdown",
|
|
|
|
url="https://github.com/markqvist/reticulum",
|
|
|
|
packages=setuptools.find_packages(),
|
|
|
|
classifiers=[
|
|
|
|
"Programming Language :: Python :: 3",
|
|
|
|
"License :: OSI Approved :: MIT License",
|
|
|
|
"Operating System :: OS Independent",
|
|
|
|
],
|
2021-09-24 03:21:08 -06:00
|
|
|
entry_points= {
|
|
|
|
'console_scripts': [
|
|
|
|
'rnsd=RNS.Utilities.rnsd:main',
|
2021-09-25 03:03:43 -06:00
|
|
|
'rnstatus=RNS.Utilities.rnstatus:main',
|
2021-09-24 06:15:15 -06:00
|
|
|
'rnprobe=RNS.Utilities.rnprobe:main',
|
2021-09-24 03:21:08 -06:00
|
|
|
'rnpath=RNS.Utilities.rnpath:main',
|
2022-05-23 00:54:07 -06:00
|
|
|
'rncp=RNS.Utilities.rncp:main',
|
2022-05-24 12:14:43 -06:00
|
|
|
'rnx=RNS.Utilities.rnx:main',
|
2021-09-24 03:21:08 -06:00
|
|
|
]
|
|
|
|
},
|
2022-06-10 03:27:31 -06:00
|
|
|
install_requires=requirements,
|
2021-08-28 12:10:00 -06:00
|
|
|
python_requires='>=3.6',
|
2021-09-04 20:58:42 -06:00
|
|
|
)
|