Comments (6)
Done.
I've never got this ModuleNotFoundError
so I guess you aren't using: pip install -U -e .
as per the readme instructions, is that correct?
My guess is that when the you install via pip and keep the git repo editable this doesn't matter (as pip doesn't move the directory to the site-packages)
from lbl.
Thank you! 👍🏼
My guess is that when the you install via pip and keep the git repo editable this doesn't matter (as pip doesn't move the directory to the site-packages)
Exactly, with the -e it still works because it picks up the "local" directory. I was using
pip install https://github.com/njcuk9999/lbl/archive/main.zip
from lbl.
Oops, closed the issue too soon.
The data_str_readme.md
file still doesn't get moved to site-packages which makes the copy_readme
function fail.
Maybe it would be easier to hardcode the "data structure read me" in lbl_misc.py
?
from lbl.
I don't want to hard code this it isn't the point. There should be a way to write a manifest of files that are copied over.
Just out of curiosity is there a reason you can't use pip install -U -e .
for now?
from lbl.
I don't want to hard code this it isn't the point. There should be a way to write a manifest of files that are copied over.
Agree!
I think it might be working with the new manifest file.
Just out of curiosity is there a reason you can't use pip install -U -e . for now?
No strong reason, but I'm using lbl within a CI / action and wanted to specify it as a dependence instead of git clone
ing and pip install
ing locally.
More generally, requiring a user to clone the repository and have a local copy may not be feasible in some cases (although I'm very much guilty of that myself!). Since it's relatively easy to pip install from the repo directly, I thought it would be nice to have the option.
from lbl.
Yer it was the plan eventually to use pip install
only but we are still in development and not having the git easily updatable is a pain (especially when we don't change the version for every small change, which means pip wont update lbl).
The MANIFEST.in
should work now though.
from lbl.
Related Issues (20)
- [LBL] Add HARPS (ESO and ORIG) modes HOT 2
- [LBL] Define a completely public set of test data and produce examples for all instruments HOT 2
- [LBL] Add SOPHIE to LBL + test
- [LBL] Have a list of stars used in the Mdwarf_temp_gradient.fit file
- [LBL] Add LARGE_RV flag to wrapper / compute
- [LBL] Address memory issues and speed up
- [LBL] problem running LBL on LFC files HOT 5
- Blaze file keyword for NIRPS - ESO HOT 5
- LBL drift not computed (v0.7.288) HOT 2
- Timeout when running NIRPS test example HOT 7
- NaN in drift corrected .rdb files HOT 1
- CARMENES wavelength solution is in vacuum not air HOT 1
- bl_run.ini: Why are files for HARPS, NIRPS etc. downloaded when working with SPIRou data ? HOT 1
- 0.7.288 lbl_seq not documented HOT 1
- CurveFit exception HOT 4
- lbl/lbl/doc/examples/SPIROU_APERO_demo /example_wrap_spirou_apero.py
- [LBL] problem with the creation of the LBL ref table in HARPS+ESO
- [LBL] Problem with apero_lbl_compile recipe: zero-size array to reduction operation minimum which has no identity
- [LBL] Problem with templates at least with HARPS/HARPSN HOT 9
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 lbl.