PyPI module for nec2++
This module allows you to do antenna simulations in Python using the nec2++ antenna simulation package. This is a wrapper using SWIG of the C interface, so the syntax is quite simple. Have a look at the file test.py, for an example of how this library can be used. Other examples are in the 'examples' directory.
Tim Molteno. tim@physics.otago.ac.nz
To use this python module, you must have the necpp library installed on your system. This can be installed in the main part of the necpp code distribution.
This is included as a git submodule
git clone https://github.com/tmolteno/python-necpp.git
git submodule init
git submodule update --remote
To update the submodule to the latest necpp
git submodule update --remote
sudo aptitude install pandoc swig
pandoc --to=rst README.md > README.txt
Then you can do the usual
./build.sh
This will run SWIG a source distribution tarball
http://peterdowns.com/posts/first-time-with-pypi.html
python setup.py sdist upload -r pypitest