Commit e62e972f authored by Ajay Patel's avatar Ajay Patel

Pass os.environ down to egg_install subprocess and add opcodes.h/opcodes.c

parent 26fca471
Pipeline #36794576 failed with stages
in 9 minutes and 17 seconds
......@@ -497,6 +497,7 @@ def get_modules(THIRD_PARTY, INTERNAL, PROJ_PATH,
os.path.join(SQLITE3_REL, "vdbemem.c"),
os.path.join(SQLITE3_REL, "vdbesort.c"),
os.path.join(SQLITE3_REL, "vdbetrace.c"),
os.path.join(SQLITE3_REL, "opcodes.c"),
]
windirent_sources = (
windirent_sources if os.path.basename(source) in windirent else [])
......@@ -1068,7 +1069,9 @@ class CustomInstallCommand(install):
print("Done running install")
if not(download_and_install_wheel()):
print("Running egg_install...")
p = Process(target=install.do_egg_install, args=(self,))
install_env = os.environ.copy()
print("Passing PYTHONPATH TO Subprocess:", install_env["PYTHONPATH"] if "PYTHONPATH" in install_env else "")
p = Process(target=install.do_egg_install, args=(self,), env=install_env)
p.start()
p.join()
install_requirements()
......
......@@ -6,7 +6,7 @@ There are a few components that need updating when updating the version of `sqli
3. **Update SQLite3:** Download the latest SQLite Amalgamation package from the [SQLite website](https://www.sqlite.org/download.html). Update `third_party/sqlite3/sqlite3.c.pre.c` (with `sqlite3.c`) and update `third_party/sqlite3/sqlite3.h`, `third_party/sqlite3/sqlite3_ext.h`, and `third_party/sqlite3/shell.c` from the SQLite Amalgamation package.
3. **Update SQLite3 Extensions:** Download the latest SQLite source code package from the [SQLite website](https://www.sqlite.org/download.html). Update the `third_party/sqlite3/ext` with the `ext` folder from the SQLite source code package. Also copy all of the files from the `src` folder to `third_party/sqlite3/`.
3. **Update SQLite3 Extensions:** Download the latest SQLite source code package from the [SQLite website](https://www.sqlite.org/download.html). Update the `third_party/sqlite3/ext` with the `ext` folder from the SQLite source code package. Also copy all of the files from the `src` folder to `third_party/sqlite3/`. Also copy `opcodes.c` and `opcodes.h` to `third_party/sqlite3/`.
4. **Copy `shell.c`:** Copy `shell.c` from the root of `third_party/_apsw` (which was updated in step #1) to `third_party/sqlite3/apsw_shell.c`.
......
This diff is collapsed.
This diff is collapsed.
__version_info__ = ('0', '0', '61')
__version_info__ = ('0', '0', '62')
__version__ = '.'.join(__version_info__)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment