extra flags to setup.py

Discussion in 'Python' started by John Hunter, Feb 1, 2004.

  1. John Hunter

    John Hunter Guest

    I am using distutils to distribute a python package. I would like
    some of the extension module builds to be optional, eg, to be built
    only if the user types

    > python setup.py install --with-some-extra-module


    But reading over the docs at
    http://www.python.org/doc/current/dist/dist.html, I didn't see how to
    add and use extra command like flags.

    Thanks,
    John Hunter
    John Hunter, Feb 1, 2004
    #1
    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. Nikita the Spider

    Platform-specific compile flags in setup.py?

    Nikita the Spider, Mar 5, 2007, in forum: Python
    Replies:
    1
    Views:
    369
    Alex Martelli
    Mar 5, 2007
  2. vkaushal21

    extra flags in O3 than O2??

    vkaushal21, Oct 30, 2007, in forum: C Programming
    Replies:
    2
    Views:
    353
    CBFalconer
    Oct 30, 2007
  3. Replies:
    1
    Views:
    811
    Martin v. Löwis
    Dec 9, 2008
  4. Steve Holden
    Replies:
    0
    Views:
    759
    Steve Holden
    Feb 8, 2009
  5. mathieu
    Replies:
    3
    Views:
    582
    Bo Persson
    Sep 4, 2009
Loading...

Share This Page