Home     |     .Net Programming    |     cSharp Home    |     Sql Server Home    |     Javascript / Client Side Development     |     Ajax Programming

Ruby on Rails Development     |     Perl Programming     |     C Programming Language     |     C++ Programming     |     IT Jobs

Python Programming Language     |     Laptop Suggestions?    |     TCL Scripting     |     Fortran Programming     |     Scheme Programming Language


 
 
Cervo Technologies
The Right Source to Outsource

MS Dynamics CRM 3.0

Python Programming Language

distutils: renaming setup.py ok?


I want to distribute Python site-packages. Is it okay to use other setup
file names than setup.py, which is mentioned in any place I read in the doc?

E.g., setupMySDK.py, setupMyLib.py

It seems that it works with distutils at least - but probably doing so
has side-effects with other tools which may expect exactly "setup.py" as
file name.

Many thanks,
Anastasios

Hello,

Anastasios Hatzis wrote:
> I want to distribute Python site-packages. Is it okay to use other setup
> file names than setup.py, which is mentioned in any place I read in the
> doc?

> E.g., setupMySDK.py, setupMyLib.py

> It seems that it works with distutils at least - but probably doing so
> has side-effects with other tools which may expect exactly "setup.py" as
> file name.

I'd say, it's mostly the user who is expecting "setup.py" as the filename.

Perhaps 'setup.py --install-sdk' and 'setup.py --install-lib' would be more
approriate (which can be done with distutils).

HTH

--
Benjamin Niemann
Email: pink at odahoda dot de
WWW: http://pink.odahoda.de/

Hello

Thank you for this hint. I think it will help.

Regards,
Anastasios

Add to del.icio.us | Digg this | Stumble it | Powered by Megasolutions Inc