Giter VIP home page Giter VIP logo

Comments (6)

minrk avatar minrk commented on June 19, 2024

install_requires is only added to setup args when setuptools is already loaded, so it's never passed to plain distutils.

from traitlets.

SnarkBoojum avatar SnarkBoojum commented on June 19, 2024

Yes, so distutils doesn't get the "requires" it needs, and my debian packaging doesn't pick the dependencies correctly.

from traitlets.

minrk avatar minrk commented on June 19, 2024

How is the package constructed?

from traitlets.

SnarkBoojum avatar SnarkBoojum commented on June 19, 2024

The package is built with a debian tool (pybuild), which calls setup.py with the actual arguments -- and then parses some resulting files to get metadata about the package.

If setup.py's install target uses distutils but distutils' setup doesn't get the 'requires', then the dep information will be lost.

I must admit I don't quite follow why setuptools is used at some steps and not at others [I think I'll hit the problem with quite a few IPython/Jupyter packages... let's discuss here...]

from traitlets.

SnarkBoojum avatar SnarkBoojum commented on June 19, 2024

Ok, I added a package-patch to make setuptools used for each and every target -- that way everything works.

from traitlets.

SylvainCorlay avatar SylvainCorlay commented on June 19, 2024

@SnarkBoojum - I don't know much about Debian packaging but I was wondering if this type of "package patch" should be contributed to the traitlets repo or if it is an idiosyncrasy of Debian that should not be here.

from traitlets.

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.