Consolidating separating individual modules into their packages#101
Conversation
|
as discussed:
Let's leave this for a follow-up PR. For now, let's set this up so that stor requires |
|
please add release notes and doc updates for how this changes things (i.e., about how each package is separated out, issues with versioning, the plugin infrastructure) |
|
Added the release notes and docs. Please have a look. |
|
after discussion with you - this is good to merge once changes made:
Then follow-up PR for additional doc changes |
@jtratner
This PR handles actually separating the repo into individual packages of stor, stor_s3, stor_swift, stor_dx.
Background
This is a continuation of (and maybe the end of) the story to split stor across 4 modules : stor, stor_dx, stor_swift, stor_s3. This is done to easy the dependencies that need to be installed to use a particular fact of stor, and to make it more modular. This PR is preceded by anujkumar93#10 for this story.
Changes
This PR handles the actual separation of modules into three different packages.
The first commit just moves the files around, each module into their own nested package.
The second commit is responsible for setting up the setup.py, setup.cfg, requirements.txt, etc for the individual packages, and changing makefile, tox.ini to get this separation into a working state. The key function
find_cls_for_pthin init.py and its tests are implemented in this commit.The rest of the commits address the review comments and bug/lint fixes, making travis-test work, refining sdist packaging functions in Makefile, etc.
Release notes and docs
Addressed Preparing the modules to be split #100 (comment)
Tested via:
The testing suite was run after adding tests for
find_cls_for_pth(and a few other tests) successfully. The commands to the tests were changed here, but the logic remains similar.TODOS