Package: pwspy-gui
PWSpy_guiA collection of GUIs providing users with easy access to the pwspy library. The main application provided by this package is the PWS Analysis application. You can find a tutorial on using PWS AnalysishereInstallationThe first step in installation is to installAnacondaon your computer. Once installation
is completed you will be able to installPWSpy_guiby typing commands into the terminal. On Mac and Linux you can use the standard terminal, on Windows you
should open "Anaconda Prompt".
It is advisable to installPWSpy_guiinto its own "environment" to avoid dependency conflicts.
Create a new environment with the command:conda create -n {environmentName} python=3.8. You can then make the new environment active in your terminal withconda activate {environmentName}.More informationhere.Installing from Anaconda Cloud (recommended)PWSpy_guiis stored online on the "backmanlab" Anaconda Cloud channel. It can be installed from Conda with the commandconda install -c conda-forge -c backmanlab pwspy_guiInstalling ManuallyIf you have the built package (.tar.gz file) then you can install the package by pointingconda installto it.
Install the package withconda install -c file:///{tarGzFileDestination} -c conda-forge pwspy_gui.First time startupWhile thepwspy_guipackage has many facets one of the major components is the "PWS Analysis App" GUI which is used to analyze PWS data.
There are multiple ways that you can run this application:On Windows aPWS Analysisshortcut should appear in your Start Menu under
theAnacondacategoryTypePWSAnalysisinto the command prompt for the Conda environment
thatpwspy_guiis installed in.InAnaconda-Navigatoran app namedpwspy_guishould appear. On Windows a program calledPWSAnalysisshould appear in the start menu.The first time you run the GUI on a computer you will
need to sign into the Google Drive database where calibration data is stored.Building from source and distributingSetting up your computer to build the source code.First you will need theCondapackage manager. If you have installed Anaconda then Conda is included.
On Windows you will need to use theAnaconda Promptrather than the default WindowsCommand Prompt.
In addition you will need:conda-buildanaconda-clientsetuptools_scmThese can be installed with the following commandconda install conda-build anaconda-client gitpythonAutomatic Method (Recommended):Use the python in yourbaseanaconda environment to runpython installScripts\build.py.
The output will default tobuildscripts/conda/build. You can optionally provide a custom
output path as the first argument to thebuild.pyscript. There will be many
files here but the most important one isbuild/noarch/pwspy_gui_xxxxxxxxxx.tar.gz.
This will update the module version in the_versionfile and run the conda-build and deploy steps.
The version number can be understood asa.b.c.d-xyzwherea.b.care numbers set manually with a GitTag,dis the number of commits sincea.b.cwas tagged,xyzis the short sha hash for the git commit.Uploading a newly built version of the package to Anaconda CloudThe lab has aCloudaccount at anaconda.org. The username isbackmanlaband the password isUNKNOWN!!!!(do not put the password here, this git repository is publically available, we prefer not to get hacked).
You can upload the package to the lab's Anaconda Cloud account usinganaconda loginto log into the account and then withanaconda upload build/noarch/pwspy_gui_xxxxxxxxxx.tar.gz