Skip to content

Commit

Permalink
Quickfix
Browse files Browse the repository at this point in the history
  • Loading branch information
KivApple committed Oct 24, 2016
1 parent cfee390 commit 26d00eb
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,23 +8,25 @@
data_files = []
for root, dirs, files in os.walk(os.path.join(package_dir, 'data')):
data_files += [os.path.join(root, file) for file in files]
data_files = [os.path.relpath(data_file, package_dir) for data_file in data_files]
package_data_files = [os.path.relpath(data_file, package_dir) for data_file in data_files]
data_files = []
for fname in ('rules.mk', 'toolchain.cmake'):
fullname = os.path.join(base_dir, 'misc', fname)
if os.path.isfile(fullname):
data_files.append(fullname)


setup(
name='mcu-info-util',
version='0.3',
version='0.4',
author='Ivan Kolesnikov',
author_email='kiv.apple@gmail.com',
url='https://github.com/KivApple/mcu-info-util',
download_url='https://github.com/KivApple/mcu-info-util/archive/v0.3.tar.gz',
download_url='https://github.com/KivApple/mcu-info-util/archive/v0.4.tar.gz',
packages=['mcu_info_util'],
package_dir={'mcu_info_util': 'mcu_info_util'},
package_data={'mcu_info_util': data_files},
data_files=[('share/mcu-info-util', [
os.path.join(base_dir, 'misc', 'rules.mk'),
os.path.join(base_dir, 'misc', 'toolchain.cmake')
])],
package_data={'mcu_info_util': package_data_files},
data_files=[('share/mcu-info-util', data_files)],
entry_points={
'console_scripts': [
'mcu-info-util = mcu_info_util.__main__:main'
Expand Down

0 comments on commit 26d00eb

Please sign in to comment.