Decent packaging for python package delivery
AAU, I want to be able to download Yayi from Pypi easily. As such, the necessary infrastructure should be developed in the cmake code in order to drive a correct setup.py, with all its dependencies.
Blueprint information
- Status:
- Complete
- Approver:
- Raffi Enficiaud
- Priority:
- Essential
- Drafter:
- Raffi Enficiaud
- Direction:
- Approved
- Assignee:
- Raffi Enficiaud
- Definition:
- Approved
- Series goal:
- Accepted for master
- Implementation:
- Implemented
- Milestone target:
- 0.8.0
- Started by
- Raffi Enficiaud
- Completed by
- Raffi Enficiaud
Related branches
Related bugs
Sprints
Whiteboard
added a manifest file that does the trick for the binary extensions
how to make cmake list the dependencies ?
how to upload different binary release (for each platform) ?
how to upload the doc?
how to handle different flavor of python?
Work Items
Work items:
cmake now list the dependencies: DONE
cmake now copies the dependencies into the appropriate folder: DONE
setup.py now call cmake in order to do the packaging of the source distribution, the build and the installation. Still sometimes the sdist command is sending also the binaries that would be in the Yayi/bin directory. Works on linux and OSX (https:/
setup.py to create a binary package including boost on win32/64: DONE
testing wheel packages on OSX: TODO
fix the location where the sphinx doc is "installed" in the source directory (from cmake), otherwise upload_dir should be set for the upload_doc command in setup.py: DONE
cleanups cmake+setup.py: DONE
deployment in bamboo: TODO
avoid the packaging of the dlls/dylibs/so in sdist distributions: DONE