Git Product home page Git Product logo

Comments (8)

 avatar commented on July 21, 2024

Definitely a big community being addressed already with monetdblite

from monetdbe-python.

gijzelaerr avatar gijzelaerr commented on July 21, 2024

is the process of making a monetdblite windows binary wheel documented somewhere? I seem to find little details online on how to make such a thing.

from monetdbe-python.

gijzelaerr avatar gijzelaerr commented on July 21, 2024

some instructions for compilation of monetdb on windows:

https://gist.github.com/gijzelaerr/8c523407e17fac23c04e1503ed99c328

from monetdbe-python.

gijzelaerr avatar gijzelaerr commented on July 21, 2024

to compile monetdb

> cmake -G "Visual Studio 15 2017" `
  -DCMAKE_TOOLCHAIN_FILE=C:/Users/gijs/Code/vcpkg/scripts/buildsystems/vcpkg.cmake `
  -DCMAKE_INSTALL_PREFIX=C:/Users/gijs/Code/monetdb-installed -A x64 `
  -DTESTING=OFF -DCMAKE_BUILD_TYPE=Release -DASSERT=OFF `
  -DPY3INTEGRATION=OFF -DINT128=OFF  ..
> cmake --build . --target ALL_BUILD --parallel 16
> cmake --build . --target INSTALL

to compile monetdbe-python:

> python setup.py build_ext `
  --include-dirs=C:\Users\gijs\Code\monetdb-installed\include `
  --library-dirs=C:\Users\gijs\Code\monetdb-installed\bin

from monetdbe-python.

gijzelaerr avatar gijzelaerr commented on July 21, 2024

Then copy these dlls to the monetdbe folder:


Mode                 LastWriteTime         Length Name
----                 -------------         ------ ----
-a----         14-8-2020     12:26       11168256 bat.dll
-a----          7-8-2020     08:37         188416 bz2d.dll
-a----          7-8-2020     08:38          19968 getopt.dll
-a----          7-8-2020     08:38          10752 libcharset.dll
-a----          7-8-2020     08:39        3458048 libcrypto-1_1-x64.dll
-a----          7-8-2020     08:38         936960 libiconv.dll
-a----          7-8-2020     08:38        1464320 libxml2.dll
-a----          7-8-2020     08:38         153600 lzma.dll
-a----          7-8-2020     08:38         377856 lzmad.dll
-a----         14-8-2020     12:26         186368 mapi.dll
-a----         14-8-2020     12:27        3202560 monetdb5.dll
-a----         14-8-2020     12:28         193536 monetdbe.dll
-a----         14-8-2020     12:28        3790848 monetdbsql.dll
-a----          7-8-2020     08:28         395776 pcre.dll
-a----         14-8-2020     12:26         126464 stream.dll
-a----          7-8-2020     08:38          85504 zlib1.dll
-a----          7-8-2020     08:38         208384 zlibd1.dll

Whiuch you can find in the monetdb build folder and vcpkg\installed\x64-windows\bin

from monetdbe-python.

gijzelaerr avatar gijzelaerr commented on July 21, 2024

and then

python setup.py bdist_wheel

you need to have wheel installed (pip install wheel)

from monetdbe-python.

gijzelaerr avatar gijzelaerr commented on July 21, 2024

This is working!

The instructions are here:

https://github.com/MonetDBSolutions/MonetDBe-Python/blob/master/win_wheel.bat

and our first python 3.8 binary wheel landed on pypi.

I will close this issue when 3.6 and 3.7 wheels are also uploaded.

from monetdbe-python.

gijzelaerr avatar gijzelaerr commented on July 21, 2024

these have been made!

from monetdbe-python.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.