Version: |
1.2 |
To guarantee correct installation, please follow the following procedure. Of course you must have Python in order to use this package!
Note: this package requires python 2.1 or later. If your python2.1 is called something other than "python" then substitute it below (for example, on RedHat 6.x/7.x systems, python version 2+ is called "python2")
If you've got gadfly installed already on your system, you may need to remove it since the packaging of gadfly has changed. Look in the site-packages directory of your python installation's "lib" directory.
Unpack the package.
Test: In the package directory, run the command:
% python run_tests
and all tests should pass.
Install: In the package directory, run the command:
% python setup.py
This installs the code gadfly modules, and after this command, you're ready to go.
If you wish to speed up gadfly, go to the kjbuckets directory and
if you have a C compiler
run the command "python setup.py install"
the kjbuckets extenstion could compile and install
if you're on windows,
cd to kjbuckets/<your python version>
copy the .pyd file to your python installation (c:python<version>)
If you are using python 2.0, you will need to patch the gadly/semantics.py file with the patch in kjbuckets/2.0.