[Distutils] access to setup() arguments

chris cdcasey at gmail.com
Thu Sep 4 22:35:20 CEST 2008


Nevermind. got it. (self.distribution.get_name())

On Thu, Sep 4, 2008 at 3:28 PM, chris <cdcasey at gmail.com> wrote:
> Sorry, should have been more explicit. I meant if I'm writing a custom
> command, is there a way to access that information in it?
>
> On Thu, Sep 4, 2008 at 3:27 PM, chris <cdcasey at gmail.com> wrote:
>> If I have something like this in a setup.py
>>
>> setup(
>>    name = 'foo',
>>    ...
>>    )
>>
>> is there a way to access name and get back foo?
>>
>> Thanks,
>> Chris
>>
>


More information about the Distutils-SIG mailing list