Comments (7)
Hi Fred,
Now that PyQt wheels are available it makes sense to make PyMca pip installable. It is targeted for next release (5.1.2)
Armando
from pymca.
Great armando, then I will use pypi as source for the package :)).
It think that I will be available for packaging during this summer :)
fisx and pymca.
It would be great to remove fisx from the pymca source and use the pip installation of fisx.
Until then I do some work around pyFAI with my trainee.
Cheers
Fred
from pymca.
The fisx sources distributed with PyMca are ignored by setup.py unless explicitly asked to be considered. They should not interfere with your default packaging.
They are there mainly for my convenience when generating ESRF debian packages because I can easily make fisx and PyMca share the same data (sub)package.
from pymca.
You speak about all the data files used by fisx and pymca.
It would be great if pymca and fisx could share the same data whcih could come from another pacakge or decide which pacakge is the only one official source of the data fisx (from my point of viiew)
This way pymca should only depends on fisx in order to access the data and I could split fisx into
python-fisx
python3-fisx
python-fisx-common (for all the data installed under /usr/share/fisx/...)
that mean that at simple DATAPATH should be available in fisx in order to explain where are the data
so pymca could
DATAPATH = fisx.DATAPATH or something like this.
guidata and guiqwt use this sort of think.
I just need to maintain a one line patch in order to install all the data at the right place
Cheers
Fred
from pymca.
I am not against that proposal. Since fisx has no dependencies it should be easy to build. However, I think it will be a bit more complex to implement than it looks at first instance.
PyMca uses additional data so, probably either
- I "contaminate" fisx with data that have nothing to do with it (ugly)
- Install PyMca data on the fisx data directory but I do not know how uninstall will behave
- Instruct PyMca to look for data in a list of directories instead of using just one directory
The later is probably the most error prone but probably better.
from pymca.
- I "contaminate" fisx with data that have nothing to do with it (ugly)
In thaht case the data should be split between
fisx data (/usr/share/fisx/...)
pymca data (/usr/share/pymca/...)
- Install PyMca data on the fisx data directory but I do not know how uninstall will behave
This is not an issue for the pacakging but you are right this is ugly except if fisx propose and enhance data solution via a dedicated data path.
I mezan if fisx can use extra data provided by third party if they are installed in a dedicated directory.
- Instruct PyMca to look for data in a list of directories instead of using just one directory
Pymca should finde the fisx data via fisx and it's own data by itself.
But I do not know exactly what your use from one sice and the other.
So maybe We should discuss more specifically on the rela data files and decide which one goes where :)
Cheers
from pymca.
- PyMca 5.1.2 available from PyPI.
- No duplication of data if fisx > 1.0.8 installed. If not, just one file is duplicated.
- fisx is now a mandatory dependency of PyMca.
from pymca.
Related Issues (20)
- [GUI] Roi's do not update with matplotlib 3.7.1
- [XRF] Fast fit does not work with HDF5 datasets
- [GUI] Tests of silx backend do not pass
- Alphabetical order of motors in scan header - question HOT 3
- [GUI] Cannot select image stack
- [XRF] Prevent considering twice the same element
- [packaging] Latest PyInstaller not properly working on MacOS
- [GUI] Error saving PyMca configuration
- [GUI] Add histogram of intensities to 2D plots
- [CI] Add silx to Appevor test when released for Python 3.12 HOT 1
- [GUI] Attribute errors HOT 2
- [GUI] Error saving 1D via matplotlib
- Error when saving fit with option csv/dat turned on (save as ascii) using fitMultipleSpectra HOT 4
- Automatically updating spec.log files in PyMCA HOT 2
- [5.9.2] SyntaxWarning: invalid escape sequence
- [5.9.2] Replace assert_array_equal by assert_allclose in tests to avoid floating point comparison failures HOT 5
- [5.9.2] AppStream found metadata issues for packages
- [GUI] Aspect ratio icon missing
- [GUI] Plugin directory not read HOT 1
- [GUI] Very slow interactive console HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pymca.