I have a dual python/c++ project and want to pack the python parts in packages.
Structure is like this:
MainFolder
----SConstruct
----Python
--------SConscript
--------setup.py
--------MyPythonPackage
------------init.py
------------more_python.py
When I in the SConscript file does this:
sources = Glob(.py)
sources2 = Glob(MyPythonPackage/.py)
sdist = env.SDist(sources+sources2)
The tar.gz file end up with a "Python" folder, and then under this the setup.py, and the package. Making it impossible to pip install the package.
Am I missing something, or is this a oversight in this scons extension.
I would love to use this package for our software, as we always blend python and c++, already use scons, and this seems like a perfect fit.