Skip to content

Commit

Permalink
More fixes to setup.py (#16)
Browse files Browse the repository at this point in the history
* Added missing entries to MANIFEST.in

* Fixed bug in setup.py package_data

* Removed additional package_data command in setup
  • Loading branch information
NOhs authored Jul 23, 2019
1 parent 3a8d537 commit 3a63469
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
8 changes: 7 additions & 1 deletion MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
graft extern/eigen/Eigen
include extern/pybind11/CMakeLists.txt
graft extern/pybind11/include
graft extern/pybind11/tools
graft extern/pybind11/tools
include affine_transform/version.txt
graft src
graft include
include CMakeLists.txt
graft docs
include LICENSE
3 changes: 1 addition & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ def build_extension(self, ext):
long_description=long_description,
license="MIT",
ext_modules=[CMakeExtension("affine_transform")],
package_data={"": ["version.txt"]},
package_data={"affine_transform": ["version.txt"]},
classifiers=[
"Programming Language :: Python :: 3",
"Programming Language :: C++",
Expand All @@ -132,5 +132,4 @@ def build_extension(self, ext):
install_requires=["numpy"],
setup_requires=["pytest-runner"],
tests_require=["numpy", "mgen", "pytest"],
include_package_data=True,
)

0 comments on commit 3a63469

Please sign in to comment.