Closed akhmerov closed 8 years ago
Thanks for the report. I had seen that on some of the weirder windows builds, but hadn't encountered that in a *nix yet. What platform is this, and what source of python? Also, had you python setup.py develop
ed or python setup.py install
ed or pip install
ed?
Ubuntu, OS-wide 3.4 latest pip, installed via
sudo -H pip3 install git+https://github.com/Anaconda-Server/nbpresent.git@v0.5.0
NB 0.5.0 isn't on pypi yet, hence the installation from the repo.
That's a pretty tough install for me to fully test without setting up a whole VM... but I'll see what i can do.
In the nearer term, I'll try to get a 0.5.0 out on pip!
Same inside a fresh virtualenv, actually.
Just pushed nbpresent 0.5.0 to pypi. Gave it a spin with 3.4, seems okay.
Ah, I know the source of the issue. It is indeed the case that there are no static assets in the repo, as everything is built into that location by all the various tasks. This is a relatively new development, as previously I did store the whole 2MB of built assets in a submodule, but other folks were having issues with that, so I took it out. I was pretty bad at keeping them up to date, and don't know how it would play with pip anyway.
Or, put differently, installing directly from github is no longer an option, even if it did at one time work. To work directly off the repo, one would have to:
git clone https://github.com/Anaconda-Server/nbpresent.git
cd nbpresent
python setup.py develop
npm install
npm run build:release
python -m nbpresent.install --user --symlink
Which isn't a ton of stuff more than the baseline, but still a fair amount.
So anyhow, since it was never documented that it would work with pip install git+...
, I don't think I've really broken any contracts :)
Thanks for the clarification, it works just like you said.
"Works" is what we need first, but certainly let me know if there is anything you discover that would make nbpresent more useful! There are a number of broad issues open, such as theming, but really anything helps. I've been concentrating a lot on test and packaging, so we've got a much better baseline for moving forward with great, new features.
On 05:48, Wed, Jan 27, 2016 Anton Akhmerov notifications@github.com wrote:
Thanks for the clarification, it works just like you said.
— Reply to this email directly or view it on GitHub https://github.com/Anaconda-Server/nbpresent/issues/36#issuecomment-175549697 .
It seems some files are missing from v0.5 (or paths aren't updated in
install.py
):