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

Big Move #2305

Merged
merged 8 commits into from
Jan 17, 2020
Merged

Big Move #2305

merged 8 commits into from
Jan 17, 2020

Conversation

st-pasha
Copy link
Contributor

In this PR we relocate all source files -- both C++ and Python -- into the /src directory.
The reason for why this setup is preferred is explained in https://blog.ionelmc.ro/2014/05/25/python-packaging; however for us such move is in fact a necessity: with our previous setup it was impossible for pytest to properly test datatable installed from a wheel. Although pytest may eventually fix this problem (pytest-dev/pytest#4714), for now the most reliable solution is to have the datatable/ folder not in the root of the repository.

As for the c folder, there was no good reason to move it, except that now that we have the src/ folder it seems only logical that the C++ code should also live there.

Also, I've inserted sys.path.insert(0, "src") in the tests/init.py and tests/conftest.py -- these are temporary changes, designed to ease the transition towards the new file layout.

@st-pasha st-pasha added the ITA Infrastructure, tools and automation; and all installation-related problems label Jan 17, 2020
@st-pasha st-pasha added this to the Release 0.11.0 milestone Jan 17, 2020
@st-pasha st-pasha self-assigned this Jan 17, 2020
@st-pasha st-pasha merged commit bd7de2f into master Jan 17, 2020
@st-pasha st-pasha deleted the move branch January 17, 2020 22:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ITA Infrastructure, tools and automation; and all installation-related problems
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants