1
0
mirror of https://github.com/craigerl/aprsd.git synced 2024-11-08 17:46:09 -05:00
Commit Graph

7 Commits

Author SHA1 Message Date
4aac17dc98 ignore Makefile.venv 2021-04-05 12:47:13 -04:00
8bfdefd5ad updated .gitignore
This patch updates .gitignore to ignore the docs/_build output dir
2021-01-22 15:36:22 -05:00
e68d3f92e1
Merge pull request #25 from johng42/patch-1
Update .gitignore
2020-12-20 19:17:06 -05:00
6d2160c7b7 Added Changelog
The changelog is generated by pbr automatically when you run

python setup.py sdist bdist_wheel

So when you are ready for a new release, run
python setup.py sdist bdist_wheel

git add Changelog && git commit -m "Updated ChangeLog for version XXXX"

git tag -a vXXXX -m "Release version XXX"

git push origin --tags

Then release to pypi

twine check dist/*
twine upload dist/*
2020-12-20 16:41:24 -05:00
John
a566990a2f
Update .gitignore
I want to add some tests but before that I want git to ignore the venv folder and all the Idea (Pycharm) settings that get created in the home folder by default.
2020-12-19 17:25:27 -08:00
ecd797d91e First stab at migrating this to a pytpi repo
This patch does some refactoring of the code and the directory
structure to conform to the needs of a pypi project.
The python code now lives in the aprsd directory so it acts like a real
python package that can be installed/included/used.
The aprsd.py is now aprds/main.py

This patch also adds support for using pbr, which enables a consistent
bin install that you can then call as 'aprsd' from the command line.

To use this as a developer you should create a virtualenv
virtualenv .venv
source .venv/bin/activate
pip install -e .

now you can edit the aprds/main.py and then test it by immediately
running aprsd from the command line.

The -e option for pip allows you to install the package as an editable
package in the .venv, so you can hack on it and not need to re-install
every time you make a change.
2018-11-21 13:56:29 -08:00
8b61116fce Added argparse for cli options
This patch adds the argparser to collect the user/callsign
from the command line, so it doesn't have to be hard coded.

It can be passed on the command line or set
in an environment var
python aprsd.py --user KCAMEL1

or

export APRS_USER=KCAMEL1
python aprsd.py
2018-11-21 12:55:14 -08:00