Giter Site home page Giter Site logo

Lacking static content about nbpresent HOT 8 CLOSED

akhmerov avatar akhmerov commented on June 30, 2024
Lacking static content

from nbpresent.

Comments (8)

bollwyvl avatar bollwyvl commented on June 30, 2024

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 developed or python setup.py installed or pip installed?

from nbpresent.

akhmerov avatar akhmerov commented on June 30, 2024

Ubuntu, OS-wide 3.4 latest pip, installed via

sudo -H pip3 install git+https://github.com/Anaconda-Server/[email protected]

from nbpresent.

akhmerov avatar akhmerov commented on June 30, 2024

NB 0.5.0 isn't on pypi yet, hence the installation from the repo.

from nbpresent.

bollwyvl avatar bollwyvl commented on June 30, 2024

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!

from nbpresent.

akhmerov avatar akhmerov commented on June 30, 2024

Same inside a fresh virtualenv, actually.

from nbpresent.

bollwyvl avatar bollwyvl commented on June 30, 2024

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 :)

from nbpresent.

akhmerov avatar akhmerov commented on June 30, 2024

Thanks for the clarification, it works just like you said.

from nbpresent.

bollwyvl avatar bollwyvl commented on June 30, 2024

"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 [email protected] wrote:

Thanks for the clarification, it works just like you said.


Reply to this email directly or view it on GitHub
#36 (comment)
.

from nbpresent.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.