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

PROTON-1330: [python] bundle the C source in the python source distribution #88

Closed
wants to merge 1 commit into from

Conversation

kgiusti
Copy link
Contributor

@kgiusti kgiusti commented Nov 15, 2016

This alters the previous approach: All c source files are enumerated in the CMakeLists.txt in the proton-c directory. The python CMakeLists.txt introduces a new target for the python source distribution, using the source lists from the parent CMakeLists.txt

file(MAKE_DIRECTORY ${py_dist_dir}/proton)
file(COPY ${pysrc} DESTINATION ${py_dist_dir}/proton)

#file(COPY ${py_dist_proton_c_files}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you really want to add commented out lines?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oopsie - no, not at all.

I'll fix that.

@astitcher
Copy link
Member

I like this approach.

I was expecting to see the file lists substituted in setup.py.in somewhere. I didn't see that - how are the CMake file lists used inside setup.py to generate the source bundle?

@asfgit asfgit closed this in 888862f Nov 16, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants