distutils question

Discussion in 'Python' started by tcronj, May 12, 2004.

  1. tcronj

    tcronj Guest

    Hi,

    I've written a disutils setup scripts to create a binary win32
    installation package. All works fine but I have 2 questions.
    (usage: python setup.py bdist --formats=wininst)


    1.) The is application is commandline driven. I want the distribution
    ..exe to copy certian .py files into a spesified or current directory,
    rather than into the site-packages/package directory.

    2.) How do I specify that only .pyc files gets distributed. (I want to
    hold on to the source until the money is in the bank :)


    thnx
    Tertius
    tcronj, May 12, 2004
    #1
    1. Advertising

  2. tcronj

    David Fraser Guest

    tcronj wrote:
    > Hi,
    >
    > I've written a disutils setup scripts to create a binary win32
    > installation package. All works fine but I have 2 questions.
    > (usage: python setup.py bdist --formats=wininst)
    >
    >
    > 1.) The is application is commandline driven. I want the distribution
    > .exe to copy certian .py files into a spesified or current directory,
    > rather than into the site-packages/package directory.
    >

    This should be exaplined in the distutils documentation

    > 2.) How do I specify that only .pyc files gets distributed. (I want to
    > hold on to the source until the money is in the bank :)


    See
    https://sourceforge.net/tracker/?func=detail&atid=305470&aid=793070&group_id=5470
    Its a patch I submitted to add a remove-source option (it may need some
    reworking... let me know if you need an updated Python 2.3.3 version)

    David
    David Fraser, May 12, 2004
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Christian Seberino
    Replies:
    5
    Views:
    805
    Christian Seberino
    Oct 9, 2003
  2. Christian Seberino
    Replies:
    2
    Views:
    722
    David M. Cooke
    Oct 10, 2003
  3. Mike Meyer

    distutils setup.cfg question.

    Mike Meyer, Nov 19, 2004, in forum: Python
    Replies:
    2
    Views:
    660
    Mike Meyer
    Nov 19, 2004
  4. timw.google
    Replies:
    1
    Views:
    512
    Serge Orlov
    May 11, 2006
  5. Luis Alberto Zarrabeitia Gomez

    distutils, No module named numpy.distutils.fcompiler.conv_template

    Luis Alberto Zarrabeitia Gomez, Mar 30, 2009, in forum: Python
    Replies:
    0
    Views:
    1,285
    Luis Alberto Zarrabeitia Gomez
    Mar 30, 2009
Loading...

Share This Page