Overview
Comment: | [build] fix setup.py, shebang and rename cli.py and server.py |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk | build |
Files: | files | file ages | folders |
SHA3-256: |
099f103bb1f75b48f60fea2a1d879f32 |
User & Date: | olr on 2017-11-13 17:05:39 |
Other Links: | manifest | tags |
Context
2017-11-13
| ||
20:18 | [fx] action when extension is installed check-in: 126234b371 user: olr tags: trunk, fx | |
17:05 | [build] fix setup.py, shebang and rename cli.py and server.py check-in: 099f103bb1 user: olr tags: trunk, build | |
14:07 | [core] char_player update check-in: 0b029f2147 user: olr tags: trunk, core | |
Changes
Modified gc_lang/fr/setup.py from [378a2ab4e1] to [651ab7645b].
︙ | |||
22 23 24 25 26 27 28 | 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 | - + | # https://packaging.python.org/en/latest/single_source_version.html version='${version}', description='French grammar checker', #long_description=long_description, # The project's main homepage. |
︙ | |||
58 59 60 61 62 63 64 | 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 | - + | 'Programming Language :: Python :: 3.6', ], # What does your project relate to? keywords='French grammar checker correcteur grammatical français', # Scripts |
︙ | |||
96 97 98 99 100 101 102 | 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 | - + | }, # Although 'package_data' is the preferred approach, in some case you may # need to place data files outside of your packages. See: # http://docs.python.org/3.4/distutils/setupscript.html#installing-additional-files # noqa # In this case, 'data_file' will be installed into '<sys.prefix>/my_data' # data_files=[('my_data', ['data/data_file'])], |
Name change from cli.py to grammalecte-cli.py.
︙ |
Name change from server_options._global.ini to grammalecte-server-options._global.ini.
Name change from server_options.fr.ini to grammalecte-server-options.fr.ini.
︙ |
Renamed and modified server.py [f6702400a5] to grammalecte-server.py [a304d7cf85].
| 1 2 3 4 5 6 7 8 | - + |
|
︙ | |||
94 95 96 97 98 99 100 | 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 | - + - + - + - + - + | I'm doomed, but you are not. You can get out of here. """ def getServerOptions (): xConfig = configparser.SafeConfigParser() try: |
︙ |
Modified make.py from [63b5b07d38] to [37cd0bb45e].
| 1 2 3 4 5 6 7 8 | - + |
|
︙ | |||
74 75 76 77 78 79 80 | 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 | - + | "create extension for Writer" print("Building extension for Writer") spfZip = "_build/" + dVars['name'] + "-"+ dVars['lang'] +"-v" + dVars['version'] + '.oxt' hZip = zipfile.ZipFile(spfZip, mode='w', compression=zipfile.ZIP_DEFLATED) # Package and parser copyGrammalectePyPackageInZipFile(hZip, spLangPack, dVars['dic_name']+".bdic", "pythonpath/") |
︙ | |||
136 137 138 139 140 141 142 | 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 | - + - + - + + | #subprocess.run(cmd) os.system(cmd) else: print("# Error: path and filename of unopkg not set in config.ini") def createServerOptions (sLang, dOptData): |
︙ | |||
221 222 223 224 225 226 227 | 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 | - + | with open("grammalecte/"+sLang+"/gc_test.txt", "w", encoding="utf-8", newline="\n") as hDstPy: hDstPy.write("# TESTS FOR LANG [" + sLang + "]\n\n") hDstPy.write(dVars['gctests']) createOXT(spLang, dVars, xConfig._sections['oxt'], spLangPack, bInstallOXT) createServerOptions(sLang, dVars) |
︙ |