Skip to content

Commit

Permalink
Merge pull request #643 from bitcraze/ataffanel/issue641
Browse files Browse the repository at this point in the history
Remove Windows, Mac and Snap build files
  • Loading branch information
krichardsson authored Dec 12, 2022
2 parents 2689970 + d71869b commit 5cb27bc
Show file tree
Hide file tree
Showing 7 changed files with 0 additions and 265 deletions.
3 changes: 0 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,6 @@ src/cfclient.egg-info/*
src/cfclient/third_party/*
version.json
log_param_doc.json
win32install/*.exe
win32install/cfclient.nsi
*.snap

# PC client settings
conf/*
Expand Down
39 changes: 0 additions & 39 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,47 +6,11 @@
import codecs
import sys
import os
import platform

from gitversion import get_version

from pathlib import Path


if sys.argv[1] in ('build', 'bdist_msi', 'bdist_mac', 'bdist_dmg',
'install_exe'):
from cx_Freeze import setup, Executable # noqa

cxfreeze_options = {
'options': {
'build_exe': {
'includes': ['numpy.core._methods',
'numpy.lib.format',
'pyqtgraph.debug',
'pyqtgraph.ThreadsafeTimer',
'vispy.app.backends._pyqt5',
],
'include_files': [],
'packages': ['asyncio'],
'excludes': ['tkinter']
},
'bdist_mac': {
'iconfile': 'icon-256.icns',
'bundle_name': 'Crazyflie client',
},
},
'executables': [Executable("bin/cfclient", icon='bitcraze.ico')],
}
if platform.system() == 'Darwin':
cxfreeze_options['options']['build_exe']['include_files'] = [
('/usr/local/lib/libusb-1.0.0.dylib', 'libusb.dylib'),
('/usr/local/lib/libSDL2-2.0.0.dylib', 'libSDL2.dylib'),
]
else:
cxfreeze_options = {}
# except:
# pass

if sys.version_info < (3, 7):
raise "must use python 3.7 or greater"

Expand Down Expand Up @@ -156,7 +120,4 @@ def relative(lst, base=''):
package_data=package_data,

data_files=data_files,

# cx_freeze options
**cxfreeze_options
)
5 changes: 0 additions & 5 deletions snap/gui/cfclient.desktop

This file was deleted.

Binary file removed snap/gui/cfclient.png
Binary file not shown.
36 changes: 0 additions & 36 deletions snap/snapcraft.yaml

This file was deleted.

136 changes: 0 additions & 136 deletions win32install/cfclient.nsi.tmpl

This file was deleted.

46 changes: 0 additions & 46 deletions win32install/generate_nsis.py

This file was deleted.

0 comments on commit 5cb27bc

Please sign in to comment.