distutils package_dir newbie

peter Peter.Vandersteegen at gmail.com
Wed Aug 3 09:59:10 CEST 2005

Hello all,

I've have following problem

the layout of my program is the following:

now I want to make a source-installer so python setup.py install will
give the following directory stucture:


notice the namechange from project_dev to project_user

how do I achieve a namechange from project_dev to project_user???

I've tried several different versions of command package_dir options in
the setup function:
package_dir = {'project_user': 'project_dev'}
also package_dir = {'project_dev':'project_user'}
both without any success.  (relatively unintuitive option this is)

Can anybody give the correct way to achieve a directory-renaming when
creating an installer?

kind regards


keywords: renaming, directory, sdist, distutils, package_dir

More information about the Python-list mailing list