fpdb-chaz icon indicating copy to clipboard operation
fpdb-chaz copied to clipboard

Development environment setup for windows

Open geoffroyjabouley opened this issue 9 years ago • 3 comments

(a bit unusual pull request)

The first time i tried to compile/generate a fpdb package, i fought for hours with finding and installing all the required dependencies. Thanks to the help of @philroberts, i finally managed to get my development environment ready.

In order to ease newcomers to contribute to this great project, i thought that providing a way of configuring a working development environment would be worthwhile.

All dependencies shall be installed using one script

Follow setup scripts in dev_env_setup/ folder before building fpdb using build_fpdb.bat

geoffroyjabouley avatar Jun 25 '15 13:06 geoffroyjabouley

Have I to instal all the dependencies one to one?

daniatm1903 avatar Jul 21 '16 23:07 daniatm1903

I'm not sure I understand the question. Do you have to install exactly everything this script does? No. It includes a couple of extras you don't need, like wget, unzip, sed and friends. They are used by the script to get the actual dependencies, but you could do all those things manually/with other tools. You do need to get the right python and visual studio versions. You don't need the postgres or mysql deps if you're not using either of those databases. You should be able to build with the latest pyqt and qt versions, but I haven't built for a while, and you may need to make different patches.

On 22 July 2016 at 09:03, daniatm1903 [email protected] wrote:

Have I to instal all the dependencies onte to one?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/ChazDazzle/fpdb-chaz/pull/11#issuecomment-234415225, or mute the thread https://github.com/notifications/unsubscribe-auth/AA62Av6FS_KrNAYjoN26_o9ca6-bRd3dks5qYAHLgaJpZM4FLxZW .

Phil.

philroberts avatar Jul 22 '16 04:07 philroberts

Basically if you start from a fresh win7 install (VM), then you'll end up with an environnement ready to build fpdb. Maybe it could be updated, i did it with recommended versions of python/vs/qt by @philroberts Good luck ;)

geoffroyjabouley avatar Jul 22 '16 06:07 geoffroyjabouley