471,091 Members | 1,685 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

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

distutils: different names in src and dist/build

Hi,

is it possible to have different names between the original package name
and that which will be installed?

Example:

setup.py
src/
sdk/
__init__.py
startme.py

This usually creates a distribution file like sdk-0.6.2.tar.gz, which
may create

site-packages/
sdk/

But I would like to have a MySDK-0.6.2.tar.gz and in

site-packages/
MySDK/

Of course with-out changing the original src package name "sdk" to
"MySDK" (which likely would be the easiest way, hum).

Any suggestion or link how I can achieve this?

Many thanks,
Anastasios
Feb 8 '07 #1
1 1100
Anastasios Hatzis wrote:
is it possible to have different names between the original package name
and that which will be installed?
[snip]
Of course with-out changing the original src package name "sdk" to
"MySDK" (which likely would be the easiest way, hum).

Any suggestion or link how I can achieve this?
Two setup files?
Richard

Feb 8 '07 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by Jeremy Sanders | last post: by
1 post views Thread by Mathieu Malaterre | last post: by
15 posts views Thread by Colin J. Williams | last post: by
2 posts views Thread by Mike Meyer | last post: by
7 posts views Thread by Frans Englich | last post: by
reply views Thread by Glenn Pierce | last post: by
7 posts views Thread by Steven Bethard | last post: by
reply views Thread by Terry Jones | last post: by
reply views Thread by newbie73 | 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.