In the past I have shared with this community the Ignition repo I maintain at GitHub:
Currently I have only created releases for versions
8.0 branch from the repo),
main branch from the repo).
I recommend using Python 2.7.18, and to install you may use any of the following:
To get the latest and/or upgrade:
$ python2 -m pip install --upgrade ignition-api
Or to get a specific version:
$ python2 -m pip install ignition-api==8.0.17.post1
$ python2 -m pip install ignition-api==8.1.9
7.9 branch I am relying on Python 2.5 (since Ignition relies on Jython 2.5.3), so
pip doesn’t appear to work, but you may still do the following:
$ git clone --single-branch --branch 7.9 https://github.com/thecesrom/Ignition.git 7.9 $ cd 7.9 $ python2 setup.py install --record files.txt
Note: Starting with release 7.9.19 all you’d have to do is download the source code for its release, un[zip|tar] it and use the
setup.py from each release.
--record option is so you create a receipt of all installed files in case you want to uninstall it by running:
$ cat files.txt | xargs rm -rf
As for the
jython branch, the process is somewhat similar to
7.9's but with certain distinctions.
Note: I recommend installing Jython with
pip included to make it a lot easier to install/uninstall packages.
Starting with the
8.1.10-jython release, just run the following:
$ jython -m pip install https://github.com/thecesrom/Ignition/archive/refs/tags/v8.1.10-jython.zip DEPRECATION: A future version of pip will drop support for Python 2.7. Collecting https://github.com/thecesrom/Ignition/archive/refs/tags/v8.1.10-jython.zip Using cached https://github.com/thecesrom/Ignition/archive/refs/tags/v8.1.10-jython.zip Installing collected packages: ignition-api-jython Running setup.py install for ignition-api-jython ... done Successfully installed ignition-api-jython-8.1.10
v#.#.#-jython.zip using the latest stable version.
And to uninstall:
$ jython -m pip uninstall ignition-api -y
And that’s it.