mirror of
https://git.disroot.org/pranav/pybatmesh.git
synced 2024-11-08 13:42:32 +05:30
Pranav Jerry
5e58df0b71
Uses multithreading.Process instead of GLib.timeout_add() The moment I finished writing this part, I found out the only problem with my previous commit was that I had setup the timeout _after_ calling the blocking function wait_for_change instead of before it. Although this version (with Process) works, I'm reverting to the previous version and swapping the two lines (which I had tested and found to work) And in case you have read upto the previous line you should also know I fixed some code in the README TL;DR: I have proven once again I am an idiot
53 lines
1.6 KiB
INI
53 lines
1.6 KiB
INI
# This file is loosely based on the setup.cfg used in django.
|
|
# naxalnet is not meant to be distributed through PyPi. This program uses
|
|
# a systemd service, and some other files whose path is hardcoded into the
|
|
# module.
|
|
[metadata]
|
|
name = naxalnet
|
|
version = attr: naxalnet.__version__
|
|
description = create mesh networks with batman-adv and systemd
|
|
long_description = file: README.md
|
|
url = https://git.disroot.org/pranav/naxalnet
|
|
author = Pranav Jerry
|
|
author_email = libreinator@disroot.org
|
|
license = GPLv3
|
|
license_files = LICENSE
|
|
classifiers =
|
|
License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)
|
|
Operating System :: POSIX :: Linux
|
|
Programming Language :: Python :: 3 :: Only
|
|
|
|
[options]
|
|
include_package_data = true
|
|
packages = find:
|
|
python_requires = >=3.6
|
|
install_requires =
|
|
dasbus
|
|
# pathlib, configparser and argparse are already
|
|
# in the standard library
|
|
configparser
|
|
pathlib
|
|
argparse
|
|
systemd
|
|
|
|
[options.entry_points]
|
|
console_scripts =
|
|
naxalnet = naxalnet.scripts:main
|
|
|
|
[options.data_files]
|
|
lib/systemd/system =
|
|
service/naxalnet.service
|
|
# If installing with pip, this file will be copied to some other place.
|
|
# This is the reason we use setup.py instead of pip in the Makefile.
|
|
/etc/naxalnet =
|
|
naxalnet.conf.example
|
|
share/naxalnet/networkd =
|
|
network/mesh.01-batman.netdev
|
|
network/mesh.02-bridge.netdev
|
|
network/mesh.03-wireless-ad-hoc.network
|
|
network/mesh.04-batman.network
|
|
network/mesh.05-wireless-ap.network
|
|
network/mesh.06-eth.network
|
|
network/mesh.07-bridge.network
|
|
network/tmp.01-eth.network
|