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

Improve build-system adding support for scikit-build and versioning #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jcfr
Copy link
Collaborator

@jcfr jcfr commented Oct 29, 2020

(1) This commit re-organize the project introducing TrakoDracoPy top-level
package home for two pure modules "init.py" and "_version.py" and
one binary module "_TrakoDracoPy".

(2) Add dedicated CMakeLists.txt file responsible to:

  • build draco
  • re-generate "TrackDracoPy.cpp"
  • build "_TrakoDracoPy" binary

Simplify "setup.py" to directly use scikit-build

(3) Simplify release process using "versioneer".

Release process is now as simple as tagging a release, there is no
need to manually updates version in setup.py

Most of the files enabling this process have been generated and/or
updated after:

  1. pip install versioneer
  2. adding "versioneer" section to setup.cfg
  3. running "versioneer install"

For more details, see https://github.com/warner/python-versioneer/

(4) Update draco to ensure configured source files are in the expected
directory.

List of changes:

$ git shortlog 5b9d597..c4d6fd5 --no-merges 
Jean-Christophe Fillion-Robin (1):
      COMP: Fix configuration of source files when project added as a subdirectory

(5) Cleanup

Remove unneeded ipynb checkpoint files
Remove end-of-line spaces in _TrakoDracoPy.pxd and _TrakoDracoPy.pyx

…level

package home for two pure modules "__init__.py" and "_version.py" and
one binary module "_TrakoDracoPy".

(2) Add dedicated CMakeLists.txt file responsible to:
* build draco
* re-generate "TrackDracoPy.cpp"
* build "_TrakoDracoPy" binary

Simplify "setup.py" to directly use scikit-build


(3) Simplify release process using "versioneer".

Release process is now as simple as tagging a release, there is no
need to manually updates version in setup.py

Most of the files enabling this process have been generated and/or
updated after:
1) pip install versioneer
2) adding "versioneer" section to setup.cfg
3) running "versioneer install"

For more details, see https://github.com/warner/python-versioneer/

(4) Update draco to ensure configured source files are in the expected
directory.

List of changes:

$ git shortlog 5b9d597..c4d6fd5 --no-merges
Jean-Christophe Fillion-Robin (1):
      COMP: Fix configuration of source files when project added as a subdirectory

(5) Cleanup

Remove unneeded ipynb checkpoint files
Remove end-of-line spaces in _TrakoDracoPy.pxd and _TrakoDracoPy.pyx
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant