From 5f7c59d4b8964a8facb320e82b38413a626ab6fe Mon Sep 17 00:00:00 2001 From: Pranav Jerry Date: Mon, 20 Sep 2021 12:28:59 +0530 Subject: [PATCH] Modified CHANGELOG.md for releasing new version --- CHANGELOG.md | 5 +++-- naxalnet/__init__.py | 2 +- naxalnet/log.py | 16 ++++++++++++++++ setup.cfg | 5 ++++- 4 files changed, 24 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a52bcbc..642d99a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ # Changelog -## [Unreleased][] - 2021-09-09 +## [v0.4.0][] - 2021-09-20 - naxalnet is now a daemon! naxalnet will reconfigure the WiFi network every time a WiFi adapter is plugged in or removed @@ -31,7 +31,8 @@ Initial python version. At first, this was a shell script. Than it was converted into a single python file that did just what the shell script used to do. The shell script was not given a version. -[unreleased]: https://git.disroot.org/pranav/naxalnet/compare/v0.3.0...HEAD +[unreleased]: https://git.disroot.org/pranav/naxalnet/compare/v0.4.0...HEAD +[v0.4.0]: https://git.disroot.org/pranav/naxalnet/compare/v0.3.0...v0.4.0 [v0.3.0]: https://git.disroot.org/pranav/naxalnet/compare/v0.2.0...v0.3.0 [v0.2.0]: https://git.disroot.org/pranav/naxalnet/compare/v0.1.0...v0.2.0 [v0.1.0]: https://git.disroot.org/pranav/naxalnet/releases/tag/v0.1.0 diff --git a/naxalnet/__init__.py b/naxalnet/__init__.py index 593fc52..4fc72de 100644 --- a/naxalnet/__init__.py +++ b/naxalnet/__init__.py @@ -35,4 +35,4 @@ See README.md for documentation. # # In case you forgot to change the version, skip the number # and put the next number in the next commit. -__version__ = "0.3.0a4" +__version__ = "0.4.0" diff --git a/naxalnet/log.py b/naxalnet/log.py index aa29830..316a538 100644 --- a/naxalnet/log.py +++ b/naxalnet/log.py @@ -1,3 +1,19 @@ +# This file is part of naxalnet. +# Copyright (C) 2021 The naxalnet Authors + +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. + +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . + """ log.py ------ diff --git a/setup.cfg b/setup.cfg index d06bda0..3b9dd65 100644 --- a/setup.cfg +++ b/setup.cfg @@ -19,7 +19,8 @@ packages = find: python_requires = >=3.6 install_requires = dasbus - # pathlib, configparser and argparse are in the standard library + # pathlib, configparser and argparse are already + # in the standard library configparser pathlib argparse @@ -32,6 +33,8 @@ console_scripts = [options.data_files] lib/systemd/system = 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. /etc/naxalnet = naxalnet.conf.example share/naxalnet/networkd =