8b2694efb7
* fix build for openssl 1.1.1b required for sdk (cherry picked from commitaa49e3b275
) * use js code from master * fix openssl recipe and tweak build (cherry picked from commit6e94c27021
) * remove unused build recipes (cherry picked from commitf5c0577bdb
)
44 lines
1.5 KiB
Diff
44 lines
1.5 KiB
Diff
--- a/setup.py 2017-11-20 13:53:42.000000000 +0000
|
|
+++ b/setup.py 2017-11-20 14:00:44.862203526 +0000
|
|
@@ -15,35 +15,6 @@
|
|
|
|
import preppy
|
|
version = preppy.VERSION
|
|
- scriptsPath=os.path.join(pkgDir,'build','scripts')
|
|
-
|
|
- def makeScript(modName):
|
|
- try:
|
|
- bat=sys.platform in ('win32','amd64')
|
|
- scriptPath=os.path.join(scriptsPath,modName+(bat and '.bat' or ''))
|
|
- exePath=sys.executable
|
|
- f = open(scriptPath,'w')
|
|
- try:
|
|
- if bat:
|
|
- text = '@echo off\nrem startup script for %s-%s\n"%s" -m "%s" %%*\n' % (modName,version,exePath,modName)
|
|
- else:
|
|
- text = '#!/bin/sh\n#startup script for %s-%s\nexec "%s" -m "%s" $*\n' % (modName,version,exePath,modName)
|
|
- f.write(text)
|
|
- finally:
|
|
- f.close()
|
|
- except:
|
|
- print('script for %s not created or erroneous' % modName)
|
|
- import traceback
|
|
- traceback.print_exc(file=sys.stdout)
|
|
- return None
|
|
- print('Created "%s"' % scriptPath)
|
|
- return scriptPath
|
|
-
|
|
- scripts = []
|
|
- if not os.path.isdir(scriptsPath): os.makedirs(scriptsPath)
|
|
- scripts.extend(filter(None,[
|
|
- makeScript('preppy'),
|
|
- ]))
|
|
|
|
setup(name='preppy',
|
|
version=version,
|
|
@@ -52,5 +23,4 @@
|
|
author_email='andy@reportlab.com',
|
|
url='http://bitbucket.org/rptlab/preppy',
|
|
py_modules=['preppy'],
|
|
- scripts=scripts,
|
|
)
|