Open GoogleCodeExporter opened 8 years ago
That would be cool!
Just put in a copyright notice at the top, e.g.:
// Copyright (c) Your Name Here.
// See LICENSE for details.
The build instructions need to be updated as well, and a svn:external for
leveldbwin would be in order.
Original comment by arnim...@gmail.com
on 12 Dec 2011 at 11:06
Hey,
Sorry it took so long to get back to you with this. Got really tied up with
some projects at work, and ended up completely forgetting about this for a bit.
Anyways, I tried to make minimal changes to the existing setup script, instead
importing build steps in from a second file if the user is on a Windows PC. It
will automatically download the leveldbwin source code needed for Window's
builds, so you shouldn't need anything else. Attached zip should contain the
updated setup.py, the leveldbwin.py file for building on Windows, and a patch
of all changes to setup.py.
Just let me know if you have any questions.
Original comment by cgrunw...@gmail.com
on 15 Jan 2012 at 2:09
Attachments:
Oh, and here's a pre-built Windows installer for Python 2.7, in case you wanted
a release package.
Original comment by cgrunw...@gmail.com
on 15 Jan 2012 at 11:26
Attachments:
[deleted comment]
Here needed attached patch for leveldb_ext.cc so leveldb.pyd got exported
module init functions.
PS Used this fresh windows port of leveldb
https://github.com/chirino/leveldb/blob/master/WINDOWS.md .
Original comment by mos...@gmail.com
on 21 Mar 2013 at 3:11
Attachments:
> Oh, and here's a pre-built Windows installer for Python 2.7,
Note, that there is only win32 version
To build x64 version I first built leveldb itself. Result: leveldb.lib for x64.
Then donloaded py-leveldb sources. Created VS project with 3 source files:
leveldb_ext.cc
leveldb_ext.h
leveldb_object.cc
Added include and lib dependencies on Python, boost, leveldb.
Applied patch module-init-functions.patch
Compiled as dll.
> Here needed attached patch for leveldb_ext.cc so leveldb.pyd got exported
module init functions.
Patch works fine. Thank you!
Original comment by s.b.maty...@gmail.com
on 25 Feb 2015 at 7:46
Original issue reported on code.google.com by
cgrunw...@gmail.com
on 10 Dec 2011 at 12:08