Patch setup#181
Conversation
There was a problem hiding this comment.
I'm more into the apt-get camp. I never used aptitude, and from what I read about it, it does not seems necessarily worse (nor better) but AFAIK, apt-get is still the more used/known tool of the two, so would you mind changing that?
|
Thanks a lot for taking care of this. I have been wanting to improve the Linux experience for ages but never took the time to do it. BTW, if you could also fix the examples to run on Linux out of the box, that would be super great ;-) So far, the moves look good. The setup.py changes less so. The ideal situation would be if you made cx_freeze entirely optional (whatever the platform), but allow it to work on linux too. |
|
I started tweaking the tests too. More to come. Thank you for fast review. |
|
btw, this line needs update: |
|
I have a proposal for the tests but unfortunately I hacked on the same branch. Lets deal with the setup first then we will move to the tests. |
|
@gdementen are you okay with these modifications ? Should I proceed with the tests on the same PR ? |
There was a problem hiding this comment.
eventually does not mean "éventuellement" in French... ;-)
|
@benjello sorry for the slow reaction. It looks good to me IF it actually works, which I fear it does not (see inline comment). For the tests, I would prefer another PR, if that's not too much trouble. |
|
@gdementen : tests and new files hierarchy are a bit intricated. Since it is not that urgent, let's go through this part of the PR and then move to the tests |
|
I tested the install this way by reinstalling cx_freeze But I didn't tested more extensively since I didn't know what to expect ... and since cx_freeze cannot work out of the box on my debian machine and the install via pip does fit my needs. |
|
|
|
Sorry, I didn't get to this today. I wanted to finish something else. I hope to be able to squeeze it into tomorrow's schedule (just before my holidays). |
|
Thx Le jeu. 6 août 2015 21:33, Gaëtan de Menten notifications@github.com a
|
s/src/liam2/ and support install via pip
|
I just tested it. As expected, it did break .exe generation (and the release script). After quite a bit of trial & error I managed to fix the .exe generation (*). I will commit those fixes now, and fix the remaining of the release script later (when I do the next release ;-)). For some reason, 99% of cxfreeze-driven setup.py examples I could find (and ALL the official ones) have the setup.py in the same directory than the "main" script. Thanks a lot for this PR and pushing me a bit to do this. I have been postponing this for too long (possibly because of the cx-freeze examples "issue" I just mentioned, I don't remember). |
|
Thanks for going through this. |
First tentative to start discussion
I am not able to test it on Windows and I am not very happy about the hack
Comments very welcome