A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2002-June/025364.html below:

[Python-Dev] addressing distutils inability to track file dependencies

[Python-Dev] addressing distutils inability to track file dependenciesGuido van Rossum guido@python.org
Fri, 14 Jun 2002 08:05:32 -0400
> How about something like this:
> 
>   Extension('foo', ['foo1.c', 'foo2.c'], dependencies={'foo1.c':
>   ['bar.h'], 'foo2.c': ['bar.h', 'bar2.h']})
> 
> though there is the problem of backwards compatability :/

But this is wrong: it's not foo1.c that depends on bar.h, it's foo1.o.

With the latest CVS, on Unix or Linux, try this:

  - Run Make to be sure you are up to date
  - Touch Modules/socketobject.h
  - Run Make again

The latest setup.py has directives that tell it that the _socket and
_ssl modules depend on socketmodule.h, and this makes it rebuild the
necessary .o and .so files (through the changes to distutils that
Jeremy made).

All we need is for someone to add all the other dependencies to
setup.py.

--Guido van Rossum (home page: http://www.python.org/~guido/)




RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4