Giter Club home page Giter Club logo

Comments (10)

danielballan avatar danielballan commented on September 27, 2024

I like to be able to

python setup.py develop

which is a feature of setuptools. The cythonization still has to be done with make, but I think @mikeboers is willing to considering changing that so that python setup.py develop or python setup.py install do a complete install, including cythonization if needed.

from pyav.

mikeboers avatar mikeboers commented on September 27, 2024

@danielballan: We have been Cythonizing within setup.py for a little more than a month now, actually.

@markreidvfx: I can't imagine setuptools being the root of that problem. There is a bunch of awkward logic that doesn't issue the correct warnings when something is missing. Try cleaning the generated sources.

from pyav.

danielballan avatar danielballan commented on September 27, 2024

Oh, nice. Thanks!

On Saturday, October 25, 2014, Mike Boers [email protected] wrote:

@danielballan https://github.com/danielballan: We have been Cythonizing
within setup.py for a little more than a month now, actually.

@markreidvfx https://github.com/markreidvfx: I can't imagine setuptools
being the root of that problem. There is a bunch of awkward logic that
doesn't issue the correct warnings when something is missing. Try cleaning
the generated sources.


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

from pyav.

markreidvfx avatar markreidvfx commented on September 27, 2024

I investigate a bit more and it seems like a setuptools issue to me, I'm using the system install of python, not a homebrew one, the version of setuptools that comes out of the box on macosx doesn't check for cython, just pyrex here and changes '.pyx' files to '.c" files if it can find it. If I update setuptools they check for cython, and the problem goes away.

from pyav.

mikeboers avatar mikeboers commented on September 27, 2024

Well isn't that obnoxious...

from pyav.

markreidvfx avatar markreidvfx commented on September 27, 2024

yeah, its annoying, I could see new users running into to this issue.

from pyav.

danielballan avatar danielballan commented on September 27, 2024

Would adding

install_requires = ['setuptools >= XXX']

avoid confusion? Version 7 is the latest; I have seen 5.x specified as a minimum version in various other projects.

from pyav.

mikeboers avatar mikeboers commented on September 27, 2024

That would avoid confusion, but I'd rather try to figure out a way around it. I'm more or less okay with jumping through a small hoop so that this doesn't happen (as long as it is documented).

For now, @markreidvfx, we are cool with you upgrading setuptools?

from pyav.

markreidvfx avatar markreidvfx commented on September 27, 2024

yeah sounds good to me.

from pyav.

mikeboers avatar mikeboers commented on September 27, 2024

@markreidvfx Can you tell me what version of setuptools you had at the time?

from pyav.

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.