Giter VIP home page Giter VIP logo

Comments (10)

blink1073 avatar blink1073 commented on July 18, 2024 1

The action item here is now to update the readme with instructions for use with pyproject.toml. Here is an example: https://github.com/jupyterlab/extension-cookiecutter-ts/blob/master/%7B%7Bcookiecutter.extension_name%7D%7D/pyproject.toml

from jupyter-packaging.

blink1073 avatar blink1073 commented on July 18, 2024

Hi! I'd say use the setubase.py directly. This was set up as a package not realizing setup_requires doesn't really work. However with pip 10 you can use a file to accomplish what we want. On my phone so a vague reply for now. 😀

from jupyter-packaging.

blink1073 avatar blink1073 commented on July 18, 2024

https://www.python.org/dev/peps/pep-0518/

from jupyter-packaging.

vidartf avatar vidartf commented on July 18, 2024

You can also do:

pip install jupyter-packaging

and then run

python -m jupyter_packaging

in the root directory of your package (it will copy over the setupbase.py file).

from jupyter-packaging.

vidartf avatar vidartf commented on July 18, 2024

I guess I wrote that strangely. The way outlined is the way that I've been using it. I'm confused about why it doesn't seem to work for you.

from jupyter-packaging.

vidartf avatar vidartf commented on July 18, 2024

Or rather, that works at least with a local clone and pip install -e .. There's been a lot of commits since the last release though.

from jupyter-packaging.

ian-r-rose avatar ian-r-rose commented on July 18, 2024

@vidartf Thanks! Yes, our problem was that we had tried with the last-published version on PyPI, in which that doesn't work. Once we tried with a local clone it worked as expected.

from jupyter-packaging.

mpacer avatar mpacer commented on July 18, 2024

Yep — it works on the master branch…

But, I'm going to probably send in a few PRs soon to improve the docs and rely more on pypa utilities… we should definitely get a new release out there soon. Happy to take lead on that if no one else wants to.

from jupyter-packaging.

vidartf avatar vidartf commented on July 18, 2024

With pip 10 released, it is now a lot more feasible to depend on this package! @blink1073 Would you mind publishing the latest version to pypi, or giving me the rights to do it (maybe both)?

from jupyter-packaging.

blink1073 avatar blink1073 commented on July 18, 2024

@vidartf, I gave you the rights.

from jupyter-packaging.

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.