Comments (9)
it would fix the problem (I think) for the purposes of the tagged installation, though the main installation would remain without the executables. Please ping me when the tag is ready and we'll try that and then iterate if the tag installation is also broken.
from desiconda.
I ran desiInstall fpoffline main
as the desi user to install it as a module; please try module load fpoffline
and try using it to see if it is configured correctly (it passes basic ability to load the module, but other that that I don't know what to try).
If that works, you can then add it to scripts/bootstrap-desi.sh to be included by default in future desiconda releases. When you make tags, we can also install those.
from desiconda.
Thanks. I tested that I can import and run fpoffline
modules, but it looks like the executable script generated by pip install .
(via setup.py entry_points) is not created or, at least, not visible via $PATH.
Looking desimeter, it seems that executable scripts need to be under a top-level bin/ folder? Is there a way to accomplish that and still use the setup.py entry_points machinery?
from desiconda.
I think desiInstall would trigger entry_points for installations of tags, but main and other branches use "in place installations" of a bare git checkout adding bin/ to $PATH and either py/ or the top level directory to $PYTHONPATH. This enables "git pull" to update the installation without further steps, and allows developers to do the equivalent for their own checkouts so that edits are immediately visible without having to go through an installation step.
FTR: I'm also aware of "python setup.py develop" as something in-between, but that gets confused when the version number changes, while the in-place installations are robust to that.
i.e. I recognize that entry_points is a common python practice, but we discourage using it and encourage putting executable scripts in bin/, explicitly wrapping functions from the module, i.e. doing ahead of time what entry_points otherwise does at installation time.
from desiconda.
I should make a tag anyway and it sounds like this would fix the problem?
from desiconda.
Related Issues (20)
- include tensorflow and keras as weak dependencies in DESI software HOT 13
- Conda-installed ld incompatible with Cray system one HOT 2
- Update to fitsio 1.0.5 HOT 3
- Customizing Your DESI Python Environment HOT 6
- Remove stale branches? HOT 3
- pyfftw HOT 2
- installation failure on perlmutter HOT 4
- fitsverify missing with desiconda/2.0.0
- avoid spike in temp files during installation HOT 2
- Load cudatoolkit on Perlmutter HOT 2
- Decide on how speclite will be installed HOT 3
- bootstrap script assumes "master" branches
- Extraneous script defined but not used. HOT 1
- Bootstrap script does not use desiutil bootstrap method HOT 2
- specutils HOT 1
- make hpsspy and mpi4py optional/weak dependencies? HOT 2
- mkdocs HOT 2
- Make desiconda installs world-readable HOT 1
- Restrict installation of bokeh to 2.4. 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 desiconda.