librelist archives

« back to archive

more questions about Bento

more questions about Bento

From:
Yves Dorfsman
Date:
2014-12-13 @ 07:41
I'm producing both an egg file and an sdist tar ball with my branch of bento
and python 3.4.

I am able to install the egg file using easy_install in a virutal env - good.

When trying to install the sdist tar ball (both with easy_install and pip) I
get an error because `setup.py` is missing. Untar'ing the file I can confirm
that that file is not there. From a previous thread I understand that I am not
supposed to create setup.py by hand... Is this a bug in bento with python 3.4,
or am I supposed to use another tool to install sdist produced with bento?

Are there plans for bento to produce wheel files?


Thanks.

-- 
http://yves.zioup.com
gpg: 4096R/32B0F416

Re: [bento] more questions about Bento

From:
Daniel Holth
Date:
2014-12-13 @ 13:29
I did try to add a build_wheel command to Bento. It was really easy,
but it's not up to date.

https://github.com/dholth/Bento/commit/66c457685009de46f2d36a6e016e498ab783ceeb

On Sat, Dec 13, 2014 at 2:41 AM, Yves Dorfsman <yves@zioup.com> wrote:
>
> I'm producing both an egg file and an sdist tar ball with my branch of bento
> and python 3.4.
>
> I am able to install the egg file using easy_install in a virutal env - good.
>
> When trying to install the sdist tar ball (both with easy_install and pip) I
> get an error because `setup.py` is missing. Untar'ing the file I can confirm
> that that file is not there. From a previous thread I understand that I am not
> supposed to create setup.py by hand... Is this a bug in bento with python 3.4,
> or am I supposed to use another tool to install sdist produced with bento?
>
> Are there plans for bento to produce wheel files?
>
>
> Thanks.
>
> --
> http://yves.zioup.com
> gpg: 4096R/32B0F416
>

Re: [bento] more questions about Bento

From:
Yves Dorfsman
Date:
2014-12-13 @ 17:06
On 2014-12-13 06:29, Daniel Holth wrote:
> I did try to add a build_wheel command to Bento. It was really easy,
> but it's not up to date.
> 
> https://github.com/dholth/Bento/commit/66c457685009de46f2d36a6e016e498ab783ceeb
> 

Oh wow! PR from October *2012* !

That's sad...
That's the sort of thing that makes me think bento's not going anywhere.

:-(

-- 
http://yves.zioup.com
gpg: 4096R/32B0F416

Re: [bento] more questions about Bento

From:
David Cournapeau
Date:
2014-12-13 @ 13:54
Hi Yves,

If you want to use one of the standard tool (pip, etc...) you have to have
a setup.py, because that's the entry point that those tools expect.

The good news is that you can have a dummy setup.py which delegates
everything to bento:

import setuptools
from bento.distutils.monkey_patch import monkey_patch
monkey_patch()
setuptools.setup()

Note that for this to work, you need to have bento installed *before* the
setup.py is run, unfortunately. This cannot be fixed until there is a way
to specify build dependencies in pip.

David

On Sat, Dec 13, 2014 at 7:41 AM, Yves Dorfsman <yves@zioup.com> wrote:

>
> I'm producing both an egg file and an sdist tar ball with my branch of
> bento
> and python 3.4.
>
> I am able to install the egg file using easy_install in a virutal env -
> good.
>
> When trying to install the sdist tar ball (both with easy_install and pip)
> I
> get an error because `setup.py` is missing. Untar'ing the file I can
> confirm
> that that file is not there. From a previous thread I understand that I am
> not
> supposed to create setup.py by hand... Is this a bug in bento with python
> 3.4,
> or am I supposed to use another tool to install sdist produced with bento?
>
> Are there plans for bento to produce wheel files?
>
>
> Thanks.
>
> --
> http://yves.zioup.com
> gpg: 4096R/32B0F416
>
>