Commit 2cbdcc9c authored by Yan's avatar Yan
Browse files

Fixed setup.py to better working state.

also improved readme - now has a better installation guide
parent 088f71f6
...@@ -8,10 +8,19 @@ Prasopes is a free and open source Thermo/Finnigan .RAW spectra viewer. It is an ...@@ -8,10 +8,19 @@ Prasopes is a free and open source Thermo/Finnigan .RAW spectra viewer. It is an
Install using the command bellow. Remove --user from command if You want to Install using the command bellow. Remove --user from command if You want to
install the application into system directory. install the application into system directory.
Linux:
``` ```
python3 setup.py install --user python3 setup.py install --user
``` ```
Windows:
```
pip install PyQt5
pip install PyQt5-sip
python3 setup.py install --user
```
## Usage ## Usage
Execute as: `prasopes [<SPECTRUM_FILE_PATH>]` Execute as: `prasopes [<SPECTRUM_FILE_PATH>]`
...@@ -21,7 +30,11 @@ Use File -> Open or Ctrl+O to open a spectrum from GUI. ...@@ -21,7 +30,11 @@ Use File -> Open or Ctrl+O to open a spectrum from GUI.
For exporting a spectrum use File -> Export or Ctrl+E. For exporting a spectrum use File -> Export or Ctrl+E.
**experimental** For calculating ZCE out of TSQ spectra use Tools -> TSQ zce or Ctrl+T. Works properly only on spectrum which is acquired by TODO: napsat by co **experimental** For calculating ZCE out of TSQ spectra use Tools -> TSQ zce or Ctrl+T. Works properly only on spectrum which is acquired by dau (see help in ZCE window)
**experimental** ion-progression monitoring by DRL tool
**experimental** monitoring of the spectrum during acqusition (Need File -> Settings temp setted-up properly)
### GUI control ### GUI control
...@@ -30,3 +43,4 @@ For exporting a spectrum use File -> Export or Ctrl+E. ...@@ -30,3 +43,4 @@ For exporting a spectrum use File -> Export or Ctrl+E.
* **left button** pan on x-axis * **left button** pan on x-axis
* **scrolling** zoom on x-axis * **scrolling** zoom on x-axis
* **shift + scrolling** zoom on y-axis * **shift + scrolling** zoom on y-axis
* **arrows** move selection in chromatogram left/right (need a right button selection existing first)
...@@ -19,10 +19,16 @@ setup( ...@@ -19,10 +19,16 @@ setup(
"Intended Audience :: Science/Research", "Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering :: Chemistry", "Topic :: Scientific/Engineering :: Chemistry",
], ],
install_requires=['numpy', 'PyQt5-sip', 'matplotlib', 'rawprasslib'], install_requires=['numpy',
#On Linux distro-packaged Qt/PyQt is preffered
'PyQt5;platform_system=="Windows"',
'PyQt5-sip;platform_system=="Windows"',
'PyQt5;platform_system=="Darwin"',
'PyQt5-sip;platform_system=="Darwin"',
'matplotlib>=2.0.0',
'rawprasslib'],
entry_points={ entry_points={
'console_scripts': [ 'console_scripts': [
# example:
'prasopes = prasopes.__main__:main' 'prasopes = prasopes.__main__:main'
], ],
} }
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment