distutils: different names in src and dist/build
Anastasios Hatzis
ah at hatzis.de
Thu Feb 8 08:17:34 EST 2007
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
More information about the Python-list
mailing list