-
Notifications
You must be signed in to change notification settings - Fork 308
replace make with python #426
Comments
Hacking with @joeyespo here. Currently discussing the idea of a web-based initial config step. |
I don't have enough experience to have an opinion on toolset, but I strongly support the concept. I've moved to OSX, but the lack of |
Can we leave make there as well? I understand you're vendorizing fabricate, but I still prefer make where and if possible. ;) |
@sigmavirus24 Are you volunteering to maintain the Makefile? :-) |
Might as well. :-P |
The build target is breaking for me with an error in fabricate. More research is required.
Currently hitting this traceback:
|
Hey @joeyespo, does this make binary work any better than the gnuwin32 one? |
Yes! That implementation of Make works. I attempted more this morning. Everything seemed to install. Progress! Here's a list of what went wrong and how I worked around it. I'm still not quite there though. Reading up on Postgresql to get that working right. But hey, Gittip is running =) Steps to install on Windows
Notes
ThoughtsEven though keeping dev and production close is a Good Thing, using sqlite as the Let's make hacking on Gittip easy. Get more people finding bugs. |
Thanks for the write-up, @joeyespo! @igetgames How does this compare with what you discovered? I believe @joeyespo hadn't pulled your commits yet, so some of the things he mentions are probably addressed. Are there other things that are still germane? Whatever the current state is should be added to the README. |
4, 5, & 6: Addressed in my recent submissions. From IRC we decided we're going to look at getting the gittip.py script working fully with fabricate. I worried about a I will update the README with the current Windows status, and the current requirement that it works only through MinGW. |
It might be because I have Visual Studio installed and not MinGW. Just tried to re-install psycopg2 to get the error and it's installing now. I'll try again when gittip.py is ready and we can address it as-needed.
No, not currently. Not that familiar with Postgresql at the moment.
Both. Currently on 32 bit. There's a known bug in the 64-bit installer though, and using the 32-bit version is an easy workaround that works in most cases. I can stick to the 32-bit machine for now. |
As of c79b513 everything except build actions related to tests should be working through the gittip.py fabricate script. The dependency checking in fabricate isn't great (at least in Windows, but that's mentioned in its docs); I'm going to write a custom Runner that can handle pip requirements to make sure that the 'env' action does the right thing on all platforms. Please let me know if it fails on Windows, or any other OS for that matter. I tested everything through 'run' and 'clean' on my Windows 7 machine in a cmd.exe shell and a MSYS bash shell. I'll get tests working ASAP. Any feedback appreciated. |
When I run the server using `./gittip.py run` and then kill it using Ctrl-C, I don't need to see a KeyboardError traceback.
@igetgames When I run |
@whit537 Yeah, fabricate doesn't do so well with dependencies generated by pip, so I plan to write a Runner class that does. I'll get build/run working without rebuild before working on the tests. |
@igetgames Maybe fabricate isn't the answer? Would it be easier to just write what we need in straight Python? |
This was the big one. The others in the Makefile (though cf. #426) should be easy.
Closing in favor of #1134. |
In order to make Gittip easier to hack on Windows, it would be great to remove the make dependency. Since we have to depend on Python for the app itself, seems like it'd make sense to use that for the build system as well. Maybe fabric, or fabricate, or scons?
The text was updated successfully, but these errors were encountered: