Skip to content

develop mode does not respect src structure #230

Closed
@ghost

Description

Originally reported by: marscher (Bitbucket: marscher, GitHub: marscher)


Assume you have project with a src folder:

#!python

root/
root/setup.py
root/src/my_pkg/__init__.py
....

in setup.py one have mapped the src folder, so it can be found during installation.

#!python

setup( ....
   package_dir = { 'my_pkg' : 'src' } 
)

If one tries to install an egg link to the pkg via setup.py develop, this mapping is happily ignored. I'am not sure, if this is an issue either with setuptools or distutils. Symlinking my_pkg to the root fixes the problem.


Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions