471,123 Members | 914 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,123 software developers and data experts.

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
Feb 7 '07 #1
2 1826
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/
Feb 7 '07 #2
Hello

Benjamin Niemann wrote:
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).
Thank you for this hint. I think it will help.

Regards,
Anastasios
Feb 7 '07 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

8 posts views Thread by Johan Svedberg | last post: by
reply views Thread by Jorge Godoy | last post: by
1 post views Thread by Mathieu Malaterre | last post: by
15 posts views Thread by Colin J. Williams | last post: by
1 post views Thread by Terry Hancock | last post: by
5 posts views Thread by Fuzzyman | last post: by
reply views Thread by Maarten Sneep | last post: by
1 post views Thread by George van den Driessche | last post: by
6 posts views Thread by ajikoe | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.