Compare commits
7 Commits
Author | SHA1 | Date | |
---|---|---|---|
fcdcbca02a | |||
d521b496da | |||
8aa3de57a6 | |||
78322882ff | |||
5546a1726a | |||
575f90ebbe | |||
d8d2be822b |
@@ -35,6 +35,10 @@ Just run::
|
|||||||
|
|
||||||
pip install lutin
|
pip install lutin
|
||||||
|
|
||||||
|
On mac-os you may install pip before:
|
||||||
|
|
||||||
|
sudo easy_install pip
|
||||||
|
|
||||||
|
|
||||||
License (APACHE v2.0)
|
License (APACHE v2.0)
|
||||||
---------------------
|
---------------------
|
||||||
|
@@ -15,6 +15,7 @@ import lutin.arg as arguments
|
|||||||
import lutin.host as host
|
import lutin.host as host
|
||||||
import lutin.module as module
|
import lutin.module as module
|
||||||
import lutin.target as target
|
import lutin.target as target
|
||||||
|
import lutin.env as env
|
||||||
import lutin.multiprocess as multiprocess
|
import lutin.multiprocess as multiprocess
|
||||||
|
|
||||||
myArgs = arguments.LutinArg()
|
myArgs = arguments.LutinArg()
|
||||||
@@ -106,15 +107,15 @@ def parseGenericArg(argument, active):
|
|||||||
return True
|
return True
|
||||||
elif argument.get_option_nName() == "force":
|
elif argument.get_option_nName() == "force":
|
||||||
if active==True:
|
if active==True:
|
||||||
lutinEnv.set_force_mode(True)
|
env.set_force_mode(True)
|
||||||
return True
|
return True
|
||||||
elif argument.get_option_nName() == "pretty":
|
elif argument.get_option_nName() == "pretty":
|
||||||
if active==True:
|
if active==True:
|
||||||
lutinEnv.set_print_pretty_mode(True)
|
env.set_print_pretty_mode(True)
|
||||||
return True
|
return True
|
||||||
elif argument.get_option_nName() == "force-strip":
|
elif argument.get_option_nName() == "force-strip":
|
||||||
if active==True:
|
if active==True:
|
||||||
lutinEnv.set_force_strip_mode(True)
|
env.set_force_strip_mode(True)
|
||||||
return True
|
return True
|
||||||
return False
|
return False
|
||||||
|
|
||||||
|
@@ -54,11 +54,11 @@ class Target(target.Target):
|
|||||||
self.suffix_binary=''
|
self.suffix_binary=''
|
||||||
self.suffix_package=''
|
self.suffix_package=''
|
||||||
if self.sumulator == True:
|
if self.sumulator == True:
|
||||||
self.sysroot = "-isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.1.sdk"
|
self.sysroot = "-isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.3.sdk"
|
||||||
self.global_flags_ld.append("-mios-simulator-version-min=8.0")
|
self.global_flags_ld.append("-mios-simulator-version-min=8.0")
|
||||||
self.global_flags_cc.append("-mios-simulator-version-min=8.0")
|
self.global_flags_cc.append("-mios-simulator-version-min=8.0")
|
||||||
else:
|
else:
|
||||||
self.sysroot = "-isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.1.sdk"
|
self.sysroot = "-isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.3.sdk"
|
||||||
self.global_flags_ld.append("-miphoneos-version-min=8.0")
|
self.global_flags_ld.append("-miphoneos-version-min=8.0")
|
||||||
self.global_flags_cc.append("-miphoneos-version-min=8.0")
|
self.global_flags_cc.append("-miphoneos-version-min=8.0")
|
||||||
|
|
||||||
|
6
setup.py
6
setup.py
@@ -7,7 +7,7 @@ def readme():
|
|||||||
|
|
||||||
# https://pypi.python.org/pypi?%3Aaction=list_classifiers
|
# https://pypi.python.org/pypi?%3Aaction=list_classifiers
|
||||||
setup(name='lutin',
|
setup(name='lutin',
|
||||||
version='0.5.3',
|
version='0.5.7',
|
||||||
description='Lutin generic builder',
|
description='Lutin generic builder',
|
||||||
long_description=readme(),
|
long_description=readme(),
|
||||||
url='http://github.com/HeeroYui/lutin',
|
url='http://github.com/HeeroYui/lutin',
|
||||||
@@ -29,3 +29,7 @@ setup(name='lutin',
|
|||||||
scripts=['bin/lutin'],
|
scripts=['bin/lutin'],
|
||||||
include_package_data = True,
|
include_package_data = True,
|
||||||
zip_safe=False)
|
zip_safe=False)
|
||||||
|
|
||||||
|
#To developp: ./setup.py install/develop
|
||||||
|
#TO register all in pip: ./setup.py register sdist upload
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user