Skip to content

Commit

Permalink
Fixed package installation issues.
Browse files Browse the repository at this point in the history
  • Loading branch information
liamw9534 committed Jun 3, 2014
1 parent 0169edc commit d968e90
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
3 changes: 3 additions & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,8 @@ include .travis.yml
include LICENSE
include MANIFEST.in
include README.rst
include bt_manager/*.h

recursive-include tests *.py
recursive-include demo *.py
recursive-include codecs *.c *.h *.pc Makefile
2 changes: 1 addition & 1 deletion bt_manager/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

ffi = cffi.FFI()
cwd = os.path.dirname(__file__)
header_file = os.path.join(cwd, '../codecs/rtpsbc.h')
header_file = os.path.join(cwd, 'rtpsbc.h')
with open(header_file) as fh:
header = fh.read()
ffi.cdef(header)
Expand Down
1 change: 1 addition & 0 deletions bt_manager/rtpsbc.h
2 changes: 0 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@ def get_version(filename):
description='Python-based Bluetooth Device Management',
long_description=open('README.rst').read(),
packages=find_packages(exclude=['tests', 'tests.*']),
data_files=[('codecs', ['codecs/rtpsbc.h'])],
ext_package='rtpsbc',
zip_safe=False,
include_package_data=True,
install_requires=[
Expand Down

0 comments on commit d968e90

Please sign in to comment.