Distutils directory questions

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Edward K. Ream

    #1

    Distutils directory questions

    My manifest.in file works if I have entries of the form:

    include subdirectory/file

    However, I haven't been able to get any of the following to work:

    include ../subdirectory/file
    include <full path>/file
    recursive-include ../subdirectory/file
    recursive-include <full path>/file

    The patterns are glob patterns: does this include .. as well and other path
    delims?

    As a result, I've had to put setup.py, manifest.in, etc in a directory that
    includes all my subdirectories. I would really rather run setup.py from a
    subdirectory.

    Any suggestions?

    Edward
    --------------------------------------------------------------------
    Edward K. Ream email: edreamleo@chart er.net
    Leo: Literate Editor with Outlines
    Leo: http://webpages.charter.net/edreamleo/front.html
    --------------------------------------------------------------------




  • Edward K. Ream

    #2
    Re: Distutils directory questions

    I meant to say:

    recursive-include ../subdirectory file
    recursive-include <full path> file

    Edward
    --------------------------------------------------------------------
    Edward K. Ream email: edreamleo@chart er.net
    Leo: Literate Editor with Outlines
    Leo: http://webpages.charter.net/edreamleo/front.html
    --------------------------------------------------------------------


    Comment

    Working...