distutils: different names in src and dist/build

  • Thread starter Anastasios Hatzis
  • Start date
A

Anastasios Hatzis

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
 
R

Richard Jones

Anastasios said:
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,768
Messages
2,569,575
Members
45,053
Latest member
billing-software

Latest Threads

Top