This repository has been archived by the owner on Jan 31, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
A few touches on flasher, and complete rework of prosconductor
- Loading branch information
Showing
32 changed files
with
671 additions
and
533 deletions.
There are no files selected for viewing
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,93 @@ | ||
import sys | ||
|
||
from cx_Freeze import Executable, setup | ||
|
||
if sys.platform == 'win32': | ||
targetName = 'pros.exe' | ||
else: | ||
targetName = 'pros' | ||
|
||
setup( | ||
name='purdueros-cli', | ||
version='2.0', | ||
packages=['prosflasher', 'proscli'], | ||
url='https://github.com/purduesigbots/purdueros-cli', | ||
license='', | ||
author='Purdue ACM Sigbots', | ||
author_email='[email protected]', | ||
description='', | ||
install_requires=[ | ||
'click', | ||
'pyserial', | ||
'cx_Freeze' | ||
], | ||
executables=[Executable('proscli/main.py', targetName=targetName)] | ||
) | ||
|
||
# from esky import bdist_esky | ||
# from setuptools import setup | ||
# from esky.bdist_esky import Executable | ||
# targetName = None | ||
# | ||
# if sys.platform == "win32": | ||
# targetName = "pros.exe" | ||
# | ||
# setup( | ||
# name='pros', | ||
# version='2.0.0', | ||
# install_requires=[ | ||
# 'click', | ||
# 'pyserial', | ||
# 'cx_Freeze', | ||
# 'esky' | ||
# ], | ||
# options={'bdist_esky': { | ||
# 'freezer_module': 'cxfreeze', | ||
# "freezer_options": dict(compress=True) | ||
# }}, | ||
# scripts=[Executable('proscli/main.py', targetName=targetName)] | ||
# ) | ||
|
||
|
||
# if sys.argv[1] == 'build': | ||
# from cx_Freeze import setup, Executable | ||
# | ||
# build_exe_options = { | ||
# "packages": [ | ||
# "os" | ||
# ] | ||
# } | ||
# | ||
# setup( | ||
# name='purdueros-cli', | ||
# version='2.0', | ||
# packages=['prosflasher', 'proscli'], | ||
# url='https://github.com/purduesigbots/purdueros-cli', | ||
# license='', | ||
# author='Purdue ACM Sigbots', | ||
# author_email='[email protected]', | ||
# description='', | ||
# install_requires=[ | ||
# 'click', | ||
# 'pyserial', | ||
# 'cx_Freeze' | ||
# ], | ||
# options={"build_exe": build_exe_options}, | ||
# executables=[Executable("proscli/main.py", targetName=targetName)] | ||
# ) | ||
# elif sys.argv[1] == 'bdist_esky': | ||
# from distutils.core import setup | ||
# from esky.bdist_esky import bdist_esky, Executable | ||
# setup( | ||
# name='purdueros-cli', | ||
# version='2.0', | ||
# packages=['prosflasher', 'proscli'], | ||
# options={ | ||
# "bdist_esky": { | ||
# "freezer_module": "cxfreeze", | ||
# "compress": "ZIP" | ||
# }}, | ||
# scripts=[Executable('proscli/main.py')] | ||
# ) | ||
# else: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.