Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Creating an SDist package from a SConscript in a subfolder makes the package turn out wrong. #45

Open
daramarak opened this issue Oct 27, 2024 · 0 comments

Comments

@daramarak
Copy link

daramarak commented Oct 27, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant