couple of changes, see full commit message

* make will now build every time naxalnet/__init__.py is changed.
* Changed content related to online classes in README.md. It seems online
  classes are a luxury even in urban areas in some parts of India.
* Added argument -V as alias for --verbose
This commit is contained in:
Pranav Jerry 2021-09-11 22:42:08 +05:30
parent 74a061507f
commit c8f032a3d0
No known key found for this signature in database
GPG Key ID: F1DCDC4FED0A0C5B
4 changed files with 6 additions and 6 deletions

View File

@ -7,7 +7,7 @@ DESTDIR:= /
all: build all: build
build: build: naxalnet/__init__.py
$(PYTHON) setup.py build $(PYTHON) setup.py build
install: build install: build

View File

@ -3,8 +3,7 @@
**naxalnet** is a program to create a wireless mesh network for **naxalnet** is a program to create a wireless mesh network for
communicating with each other. It can be useful during an communicating with each other. It can be useful during an
[internet shutdown](#internet-shutdown), or to join [internet shutdown](#internet-shutdown), or to join
[online classes](#online-class-in-remote-areas) with a group [online classes](#online-class) with a group of laptops.
of laptops.
It uses [B.A.T.M.A.N. Advanced][batman-adv], an implementation It uses [B.A.T.M.A.N. Advanced][batman-adv], an implementation
of the B.A.T.M.A.N. routing protocol to communicate with peers. of the B.A.T.M.A.N. routing protocol to communicate with peers.
The name naxal comes from Naxalbari, a village in Darjeeling, The name naxal comes from Naxalbari, a village in Darjeeling,
@ -246,9 +245,9 @@ systemd-networkd configures the network.
## Use cases ## Use cases
### Online class in remote areas ### Online class
naxalnet can be used to share connections in remote areas. naxalnet can be used to share connections to join online classes.
You need at least one device with internet access. You need at least one device with internet access.
<!-- <!--

View File

@ -35,4 +35,4 @@ See README.md for documentation.
# #
# In case you forgot to change the version, skip the number # In case you forgot to change the version, skip the number
# and put the next number in the next commit. # and put the next number in the next commit.
__version__ = "0.3.0a3" __version__ = "0.3.0a4"

View File

@ -160,6 +160,7 @@ def parse_args() -> Namespace:
parser.add_argument( parser.add_argument(
"--version", "--version",
"-V",
default=False, default=False,
action="store_true", action="store_true",
help="prints the version and exit", help="prints the version and exit",