Glad to hear it! :)

Biggest things you'll need to do are to make sure PATH and PYTHONPATH are
set properly, but it should otherwise work for you.

Christian

-- 
Christian Hammond
President/CEO of Beanbag <https://www.beanbaginc.com/>
Makers of Review Board <https://www.reviewboard.org/>

On Fri, Sep 23, 2016 at 6:29 AM, Daniel Kuecker <dan...@kuecker.net> wrote:

> YES!  Thats a wonderful idea (the single shared install)!  Thanks for the
> idea!  I think it will work for us!
>
> --Daniel
>
> On Fri, Sep 23, 2016 at 8:26 AM, Christian Hammond <
> christ...@beanbaginc.com> wrote:
>
>> Sorry, I don't have any pointers here. Tools like py2exe drastically
>> changes the way Python projects execute, which can end up causing a large
>> number of tricky to diagnose issues. Having done a lot of
>> py2exe/pyinstaller work in the past, it's not a route I'd want to go again.
>>
>> While I'd accept reasonable patches for things RBTools is doing, it's
>> important to note that some things simply will not work, and those are
>> things we must ship with. Examples would be any commands that reference a
>> shipped data file, or otherwise need to deal with something relative to a
>> module path.
>>
>> I understand the desire to have a single .exe you can drop on development
>> machines, but am not sold on this being the way to go. What a lot of
>> companies do is have a single shared install of RBTools in some common
>> directory on a file server, and have that directory added to the path. Some
>> use a wrapper script to set the PYTHON_PATH and such for that. This gives
>> you central management of RBTools, usage of the RBTools API, and wouldn't
>> require the kinds of work that would be needed to get things in shape for
>> tools like py2exe to work.
>>
>> Christian
>>
>> --
>> Christian Hammond
>> President/CEO of Beanbag <https://www.beanbaginc.com/>
>> Makers of Review Board <https://www.reviewboard.org/>
>>
>> On Fri, Sep 23, 2016 at 6:22 AM, Daniel Kuecker <dan...@kuecker.net>
>> wrote:
>>
>>> Any pointers?
>>>
>>> On Thu, Sep 22, 2016 at 10:54 PM, john levin <smart.le...@gmail.com>
>>> wrote:
>>>
>>>> I did.. and i was successful..
>>>>
>>>> On Sep 23, 2016 12:30 AM, "Daniel Kuecker" <dan...@kuecker.net> wrote:
>>>>
>>>>> Has anyone been successful building RBTools 0.7.6 into a single-file
>>>>> exe for distribution on windows?
>>>>>
>>>>> I'm trying to wrap rbt post functionality into an exe file and both
>>>>> py2exe and pyinstaller built exes are having issues when pkg_resources
>>>>> tries to resolve the rbtools package.
>>>>>
>>>>> The exe builds fine, but when I run it, I get a
>>>>> "pkg_resources.distributionnotfound: the 'rbtools' distribution was
>>>>> not found and is required by the application" error.
>>>>>
>>>>> I've tried listing rbtools as hidden imports and importing an egg
>>>>> (although the egg import was never successful), to no avail.
>>>>>
>>>>> Thanks in advance!
>>>>>
>>>>> --Daniel
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Supercharge your Review Board with Power Pack:
>>>>> https://www.reviewboard.org/powerpack/
>>>>> Want us to host Review Board for you? Check out RBCommons:
>>>>> https://rbcommons.com/
>>>>> Happy user? Let us know! https://www.reviewboard.org/users/
>>>>> ---
>>>>> You received this message because you are subscribed to the Google
>>>>> Groups "reviewboard" group.
>>>>> To unsubscribe from this group and stop receiving emails from it, send
>>>>> an email to reviewboard+unsubscr...@googlegroups.com.
>>>>> For more options, visit https://groups.google.com/d/optout.
>>>>>
>>>> --
>>>> Supercharge your Review Board with Power Pack:
>>>> https://www.reviewboard.org/powerpack/
>>>> Want us to host Review Board for you? Check out RBCommons:
>>>> https://rbcommons.com/
>>>> Happy user? Let us know! https://www.reviewboard.org/users/
>>>> ---
>>>> You received this message because you are subscribed to the Google
>>>> Groups "reviewboard" group.
>>>> To unsubscribe from this group and stop receiving emails from it, send
>>>> an email to reviewboard+unsubscr...@googlegroups.com.
>>>> For more options, visit https://groups.google.com/d/optout.
>>>>
>>>
>>> --
>>> Supercharge your Review Board with Power Pack:
>>> https://www.reviewboard.org/powerpack/
>>> Want us to host Review Board for you? Check out RBCommons:
>>> https://rbcommons.com/
>>> Happy user? Let us know! https://www.reviewboard.org/users/
>>> ---
>>> You received this message because you are subscribed to the Google
>>> Groups "reviewboard" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to reviewboard+unsubscr...@googlegroups.com.
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>> --
>> Supercharge your Review Board with Power Pack:
>> https://www.reviewboard.org/powerpack/
>> Want us to host Review Board for you? Check out RBCommons:
>> https://rbcommons.com/
>> Happy user? Let us know! https://www.reviewboard.org/users/
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "reviewboard" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to reviewboard+unsubscr...@googlegroups.com.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
> --
> Supercharge your Review Board with Power Pack:
> https://www.reviewboard.org/powerpack/
> Want us to host Review Board for you? Check out RBCommons:
> https://rbcommons.com/
> Happy user? Let us know! https://www.reviewboard.org/users/
> ---
> You received this message because you are subscribed to the Google Groups
> "reviewboard" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to reviewboard+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
Supercharge your Review Board with Power Pack: 
https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons: 
https://rbcommons.com/
Happy user? Let us know! https://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to