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

Use setuptools instead of distutils #12

Merged
merged 4 commits into from Mar 30, 2017
Merged

Use setuptools instead of distutils #12

merged 4 commits into from Mar 30, 2017

Conversation

sebp
Copy link
Contributor

@sebp sebp commented Mar 25, 2017

This PR replaces usage of distutils by setuptools, as suggested in #8.

Changes

  • The eigen_3.2.8 directory moved to eigency/eigen_3.2.8
  • use setuptools_scm to retrieve package's version from git tags
  • only install headers in eigency/eigen_3.2.8/Eigen directory
  • specify numpy and cython as install requirements
  • retrieve location of Eigen include directory using setuptool's ResourceManager API

Eigen headers are data files and should
reside inside the package
- use [setuptools_scm](https://pypi.python.org/pypi/setuptools_scm) to
retrieve package's version from git tags
- only install headers in eigency/eigen_3.2.8/Eigen directory
- specify numpy and cython as install requirements
- retrieve location of Eigen include directory using setuptool's
[ResourceManager API])https://setuptools.readthedocs.io/en/latest/pkg_resources.html#resourcemanager-api)
Ignore files automatically generated by Cython and setuptools
@wouterboomsma
Copy link
Owner

@sebp Thanks for putting in the work to move eigency to setuptools. Looks great. Before accepting the PR, I'll just test out this new setup in the projects where I use eigency to see if there are any issues with this transition that I should be aware of. I should have some time the coming days.

@wouterboomsma wouterboomsma merged commit bbff954 into wouterboomsma:master Mar 30, 2017
@wouterboomsma
Copy link
Owner

I just went through your proposed changes. Very nicely done. Thanks. I've merged, and released a new version to pypi (1.74).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants