Re: [Distutils] wheel building help needed

2014-02-06 Thread Evgeny Sazhin
On Wed, Feb 5, 2014 at 9:10 PM, Daniel Holth wrote: > You are probably just missing the package_dir argument to setup(), > adequately documented at > http://docs.python.org/2/distutils/examples.html > > Pass > > package_dir={'': 'src'}, > > to indicate that the root module starts in 'src'. >

Re: [Distutils] wheel building help needed

2014-02-06 Thread Evgeny Sazhin
Brian, that's very kind of you - i will definitely ping you for questions, but after my small vacation;) Thanks, Eugene On Thu, Feb 6, 2014 at 5:23 PM, Brian Wickman wrote: > Happy to answer any specific questions about PEX here or off-thread. I'm > hacking on wheel support in my spare time --

Re: [Distutils] wheel building help needed

2014-02-06 Thread Brian Wickman
Happy to answer any specific questions about PEX here or off-thread. I'm hacking on wheel support in my spare time -- hope to ship that sometime in the next couple weeks. The other big upcoming change is standardizing docstrings throughout so that we can get a proper API published on readthedocs.

Re: [Distutils] wheel building help needed

2014-02-06 Thread Evgeny Sazhin
On Thu, Feb 6, 2014 at 4:54 AM, Nick Coghlan wrote: > Evgeny, while you can probably make wheels do what you want, if you're > interested in single file executables, you're almost certainly better off > using one of the tools designed to make those easier to work with (like > Twitter's recently di

Re: [Distutils] wheel building help needed

2014-02-06 Thread Daniel Holth
On Thu, Feb 6, 2014 at 12:37 AM, Evgeny Sazhin wrote: > > On Feb 5, 2014, at 9:10 PM, Daniel Holth wrote: > >> You are probably just missing the package_dir argument to setup(), >> adequately documented at >> http://docs.python.org/2/distutils/examples.html >> >> Pass >> >> package_dir={'':

Re: [Distutils] wheel building help needed

2014-02-06 Thread Marius Gedminas
On Wed, Feb 05, 2014 at 09:10:31PM -0500, Daniel Holth wrote: > MANIFEST.in is needed. It is always a bit awkward to write. https://pypi.python.org/pypi/check-manifest is here to help. Marius Gedminas -- Real programmers don't write in BASIC. Actually, no programmers write in BASIC after reachi

Re: [Distutils] wheel building help needed

2014-02-06 Thread Nick Coghlan
Evgeny, while you can probably make wheels do what you want, if you're interested in single file executables, you're almost certainly better off using one of the tools designed to make those easier to work with (like Twitter's recently discussed PEX format, or PEP 441). As you have discovered, cro

Re: [Distutils] wheel building help needed

2014-02-06 Thread Paul Moore
On 6 February 2014 05:37, Evgeny Sazhin wrote: > I think it could be very beneficial to have it all moved under one umbrella > project or wrapper or something like that. I as a user am interested in > centralized thing that knows how to take care of everything i need in order > to make a wheel.

Re: [Distutils] wheel building help needed

2014-02-05 Thread Evgeny Sazhin
On Feb 5, 2014, at 9:10 PM, Daniel Holth wrote: > You are probably just missing the package_dir argument to setup(), > adequately documented at > http://docs.python.org/2/distutils/examples.html > > Pass > > package_dir={'': 'src'}, > > to indicate that the root module starts in 'src'. >

Re: [Distutils] wheel building help needed

2014-02-05 Thread Daniel Holth
You are probably just missing the package_dir argument to setup(), adequately documented at http://docs.python.org/2/distutils/examples.html Pass package_dir={'': 'src'}, to indicate that the root module starts in 'src'. MANIFEST.in is needed. It is always a bit awkward to write. On Wed,

Re: [Distutils] wheel building help needed

2014-02-05 Thread Evgeny Sazhin
On Wed, Feb 5, 2014 at 6:01 PM, Paul Moore wrote: > On 5 February 2014 22:20, Evgeny Sazhin wrote: >> 1. No python files added, neither __main__.py nor prog.py make it to >> the wheel, so includes are not working > > The manifest is for sdists, not wheels. So includes won't "work" in > the sense

Re: [Distutils] wheel building help needed

2014-02-05 Thread Paul Moore
On 5 February 2014 22:20, Evgeny Sazhin wrote: > 1. No python files added, neither __main__.py nor prog.py make it to > the wheel, so includes are not working The manifest is for sdists, not wheels. So includes won't "work" in the sense that you seem to be expecting. You need to specify your pack

[Distutils] wheel building help needed

2014-02-05 Thread Evgeny Sazhin
Hi, So, i'm trying to get around building the wheel using pip wheel and I'm having some troubles with it. I would appreciate if you could clarify some of the questions for me: I have a structure like that: ./ wheel/ __main__.py my/__init__.py cool/__init__.py package