Skip to content

Commit

Permalink
Make sure all m files are in wheel
Browse files Browse the repository at this point in the history
  • Loading branch information
blink1073 committed Jan 25, 2017
1 parent f07fb99 commit 9a85249
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
.ipynb_checkpoints/
.DS_Store/
.DS_Store
MANIFEST
dist/
build/
Expand Down
1 change: 0 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ test: clean
release: clean
pip install wheel
python setup.py register
rm -rf dist
python setup.py bdist_wheel --universal
python setup.py sdist
git tag v$(VERSION)
Expand Down
5 changes: 4 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
"""Setup script for octave_kernel package.
"""
import glob

DISTNAME = 'octave_kernel'
DESCRIPTION = 'A Jupyter kernel for Octave.'
LONG_DESCRIPTION = open('README.rst', 'rb').read().decode('utf-8')
Expand All @@ -10,7 +12,7 @@
REQUIRES = ["metakernel (>=0.18.0)", "jupyter_client (>=4.3.0)", "ipykernel"]
INSTALL_REQUIRES = ["metakernel >=0.18.0", "jupyter_client >=4.3.0", "ipykernel"]
PACKAGES = [DISTNAME]
PACKAGE_DATA = {DISTNAME: ['*.m']}
PACKAGE_DATA = {DISTNAME: ['*.m'] + glob.glob('%s/**/*.m' % DISTNAME) }
CLASSIFIERS = """\
Intended Audience :: Science/Research
License :: OSI Approved :: BSD License
Expand Down Expand Up @@ -44,6 +46,7 @@
maintainer_email=MAINTAINER_EMAIL,
packages=PACKAGES,
package_data=PACKAGE_DATA,
include_package_data=True,
url=URL,
download_url=URL,
license=LICENSE,
Expand Down

0 comments on commit 9a85249

Please sign in to comment.