Closed xesscorp closed 6 years ago
Hi @xesscorp, I would like (utopian idea) to fix the all three bugs #174, #161 and #146 and also finish #144 enhancement, but I think it is may be long way. About the bug #174, I don't know how many BOM files (in the test folder) is being affected by. The #161 and #146, mainly, is annoying me. So, we could focus fix the bugs, even if the GUI is not full functional yet, postpone it and leave as alpha version for now.
About the GUI, I would like to modify the setup.py
in some way, maybe in one next release, to be possible to install more dependences when is asked to install GUIDE (install and check wxPython, maybe create a desktop shortcut) or a developer version of KiCost (may install some additional debug tool in the future), having some installation as:
pip install kicost # Default installation.
pip install --install-option="--gui" kicost # To install GUI interface dependences.
pip install --install-option="--dev" kicost # To install developer debug dependences.
About the CSV submodule and multifile functionality, I tested with KiCad, hand made CSV and others EDA softwares CSVs and was able to create a integrated unique spreadsheet (feature interesting for my country because of the customs duties).
@xesscorp , @devbisme I tested now and got a pretty good scrape on Mouser (maybe the module still need some enhancement #146 ). The man issue now, still #161, that had the web page changed recently.
I think, just fixing the RS module will be ok to new release. Other important think is update the page https://xesscorp.github.io/KiCost/docs/_build/singlehtml/index.html
I've tested the latest release. It fails on tests/StickIt-Hat.xml. That file is processed correctly on the current 0.1.42 PyPi release. The problem is caused by some change related to handling custom part data.
It is caused by KiCost trying to scrape 'beyondcomponents' local distributor. I don't now with change caused this. But, changing line 138 from
except AttributeError:
to
except KeyError: # When use local distributor with personalized name.
works fine for me in other BOMs and return the spreadsheet attached StickIt-Hat.xlsx.
Fixed.
I think this happened when I ask to move way all the web routines from the kicost.py
.
Ok @diorcety.
Check and release (I will not merge new code until, just write some issues in the "forum"). I start to study the scrape module to be able to fix the RS one. And I think there are some improvements to be made and standardize the codes. I am concerned about the Currency_Converter
library used in some too.
I'm checking commit 95f4bfe58 and it seems to pass my tests. Good job!
Have you added all the changes for this release to HISTORY.rst? Has the docs/usage.rst been updated with all the new features? Once those are done, is it time to release 0.1.43?
@xesscorp, yes. I was always adding the new feature to HISTORY (leaving as possible 0.1.43) and updating USAGE.rst. I just checked them now and fixed some spell errors. You can release.
KiCost 0.1.43 has been released to PyPI.
When do you think you would like to make a new release on Pypi?