Re: any wheel experts

2014-06-06 Thread Robin Becker

On 05/06/2014 22:56, Mark Lawrence wrote:

On 05/06/2014 22:42, Ned Deily wrote:

In article b91c428a-514d-4ddd-84a2-a4bdeb1ed...@googlegroups.com,
  Rustom Mody rustompm...@gmail.com wrote:


On Thursday, June 5, 2014 10:21:06 PM UTC+5:30, Robin Becker wrote:

I used to create exe files for windows, but the latest and greatest concept
is
wheels .whl files.


If someone here knows (and answers!) great.
Else you'll probably get more info here:
https://groups.google.com/forum/?pli=1#!forum/python-virtualenv


Actually, the Distutils-SIG would be a better place to ask about
packaging issues, including wheels:

https://mail.python.org/mailman/listinfo/distutils-sig



Which I assume is gmane.comp.python.distutils.devel for people like myself who
like the one stop shop :)


thanks all, I'll query over there
--
Robin Becker

--
https://mail.python.org/mailman/listinfo/python-list


any wheel experts

2014-06-05 Thread Robin Becker
I used to create exe files for windows, but the latest and greatest concept is 
wheels .whl files.


Does anyone know how to make the created exes that the wheel can install have an 
icon for windows?


How is one supposed to make the wheel install a desktop short cut etc etc?

The wheel is just a zip so is there perhaps a way to make the wheel installation 
run a post installation script?

--
Robin Becker

--
https://mail.python.org/mailman/listinfo/python-list


Re: any wheel experts

2014-06-05 Thread Rustom Mody
On Thursday, June 5, 2014 10:21:06 PM UTC+5:30, Robin Becker wrote:
 I used to create exe files for windows, but the latest and greatest concept 
 is 
 wheels .whl files.

If someone here knows (and answers!) great.
Else you'll probably get more info here:
https://groups.google.com/forum/?pli=1#!forum/python-virtualenv
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: any wheel experts

2014-06-05 Thread Ned Deily
In article b91c428a-514d-4ddd-84a2-a4bdeb1ed...@googlegroups.com,
 Rustom Mody rustompm...@gmail.com wrote:

 On Thursday, June 5, 2014 10:21:06 PM UTC+5:30, Robin Becker wrote:
  I used to create exe files for windows, but the latest and greatest concept 
  is 
  wheels .whl files.
 
 If someone here knows (and answers!) great.
 Else you'll probably get more info here:
 https://groups.google.com/forum/?pli=1#!forum/python-virtualenv

Actually, the Distutils-SIG would be a better place to ask about 
packaging issues, including wheels:

https://mail.python.org/mailman/listinfo/distutils-sig

-- 
 Ned Deily,
 n...@acm.org

-- 
https://mail.python.org/mailman/listinfo/python-list


Re: any wheel experts

2014-06-05 Thread Mark Lawrence

On 05/06/2014 22:42, Ned Deily wrote:

In article b91c428a-514d-4ddd-84a2-a4bdeb1ed...@googlegroups.com,
  Rustom Mody rustompm...@gmail.com wrote:


On Thursday, June 5, 2014 10:21:06 PM UTC+5:30, Robin Becker wrote:

I used to create exe files for windows, but the latest and greatest concept
is
wheels .whl files.


If someone here knows (and answers!) great.
Else you'll probably get more info here:
https://groups.google.com/forum/?pli=1#!forum/python-virtualenv


Actually, the Distutils-SIG would be a better place to ask about
packaging issues, including wheels:

https://mail.python.org/mailman/listinfo/distutils-sig



Which I assume is gmane.comp.python.distutils.devel for people like 
myself who like the one stop shop :)


--
My fellow Pythonistas, ask not what our language can do for you, ask 
what you can do for our language.


Mark Lawrence

---
This email is free from viruses and malware because avast! Antivirus protection 
is active.
http://www.avast.com


--
https://mail.python.org/mailman/listinfo/python-list


Re: any wheel experts here?

2014-01-23 Thread Oscar Benjamin
On Wed, Jan 22, 2014 at 06:17:33AM -0800, Rustom Mody wrote:
 On Wednesday, January 22, 2014 4:31:32 PM UTC+5:30, Oscar Benjamin wrote:
  Sounds reasonable. I don't know the answer or whether anyone else on this 
  list
  will but you can definitely find the relevant developers at this mailing 
  list:
  https://mail.python.org/mailman/listinfo/distutils-sig/
 
 I believe the wheel/pip/virtualenv guys are on this list
 
 https://groups.google.com/forum/#!forum/python-virtualenv

Maybe in some kind of quantum superposition they can be on both mailing lists
at once!


Oscar
-- 
https://mail.python.org/mailman/listinfo/python-list


any wheel experts here?

2014-01-22 Thread Robin Becker

I'm trying to use --plat-name in

python33 setup.py bdist_wheel --plat-name=win-amd64

I have a patched distutils package on my path that does allow me to do cross 
platform builds with normal distutils setup.py.


However, I noticed immediately that my allegedly amd64 build is saying things 
like

running bdist_wheel
running build
running build_py
copying src\reportlab\lib\hyphen.mashed - build\lib.win32-3.3\reportlab\lib
running build_ext
installing to build\bdist.win32\wheel
running install
running install_lib
creating build\bdist.win32\wheel
creating build\bdist.win32\wheel\reportlab
creating build\bdist.win32\wheel\reportlab\fonts

and later on it crashes with

Traceback (most recent call last):
  File setup.py, line 541, in module
main()
  File setup.py, line 530, in main
ext_modules =   EXT_MODULES,
  File c:\ux\ExeBuilder\py33\distutils\core.py, line 148, in setup
dist.run_commands()
  File c:\ux\ExeBuilder\py33\distutils\dist.py, line 929, in run_commands
self.run_command(cmd)
  File c:\ux\ExeBuilder\py33\distutils\dist.py, line 948, in run_command
cmd_obj.run()
  File C:\code\hg-repos\py33\lib\site-packages\wheel\bdist_wheel.py, line 
207, in run

archive_basename = self.get_archive_basename()
  File C:\code\hg-repos\py33\lib\site-packages\wheel\bdist_wheel.py, line 
156, in get_archive_basename

impl_tag, abi_tag, plat_tag = self.get_tag()
  File C:\code\hg-repos\py33\lib\site-packages\wheel\bdist_wheel.py, line 
150, in get_tag

assert tag == supported_tags[0]
AssertionError

so I guess that wheel doesn't support the idea of cross platform building on 
windows. Can anyone more on the bleeding edge confirm this?


I can guess that somewhere in wheel the plat-name argument is not being passed 
on to distutils bdist, but in addition something about the platform name is 
causing the crash later on.

--
Robin Becker

--
https://mail.python.org/mailman/listinfo/python-list


Re: any wheel experts here?

2014-01-22 Thread Oscar Benjamin
On Wed, Jan 22, 2014 at 10:49:29AM +, Robin Becker wrote:
 I'm trying to use --plat-name in
 
 python33 setup.py bdist_wheel --plat-name=win-amd64
 
 I have a patched distutils package on my path that does allow me to
 do cross platform builds with normal distutils setup.py.
 
 However, I noticed immediately that my allegedly amd64 build is saying things 
 like
 
 running bdist_wheel
 running build
 running build_py
 copying src\reportlab\lib\hyphen.mashed - build\lib.win32-3.3\reportlab\lib
 running build_ext
 installing to build\bdist.win32\wheel
 running install
 running install_lib
 creating build\bdist.win32\wheel
 creating build\bdist.win32\wheel\reportlab
 creating build\bdist.win32\wheel\reportlab\fonts
 
 and later on it crashes with
 
 Traceback (most recent call last):
   File setup.py, line 541, in module
 main()
   File setup.py, line 530, in main
 ext_modules =   EXT_MODULES,
   File c:\ux\ExeBuilder\py33\distutils\core.py, line 148, in setup
 dist.run_commands()
   File c:\ux\ExeBuilder\py33\distutils\dist.py, line 929, in run_commands
 self.run_command(cmd)
   File c:\ux\ExeBuilder\py33\distutils\dist.py, line 948, in run_command
 cmd_obj.run()
   File
 C:\code\hg-repos\py33\lib\site-packages\wheel\bdist_wheel.py, line
 207, in run
 archive_basename = self.get_archive_basename()
   File
 C:\code\hg-repos\py33\lib\site-packages\wheel\bdist_wheel.py, line
 156, in get_archive_basename
 impl_tag, abi_tag, plat_tag = self.get_tag()
   File
 C:\code\hg-repos\py33\lib\site-packages\wheel\bdist_wheel.py, line
 150, in get_tag
 assert tag == supported_tags[0]
 AssertionError
 
 so I guess that wheel doesn't support the idea of cross platform
 building on windows. Can anyone more on the bleeding edge confirm
 this?

In principle the wheel format support any kind of cross-building. It's
possible though that the current wheel library has a bug that prevents this
somehow or that you've monkeypatched distutils/setuptools in such a way that
isn't compatible with bdist_wheel.

It may be that the bdist_wheel command itself does not support cross-building
but the wheel format certainly does, and perhaps the wheel library does if you
import it directly.

 I can guess that somewhere in wheel the plat-name argument is not
 being passed on to distutils bdist, but in addition something about
 the platform name is causing the crash later on.

Sounds reasonable. I don't know the answer or whether anyone else on this list
will but you can definitely find the relevant developers at this mailing list:
https://mail.python.org/mailman/listinfo/distutils-sig/


Oscar
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: any wheel experts here?

2014-01-22 Thread Rustom Mody
On Wednesday, January 22, 2014 4:31:32 PM UTC+5:30, Oscar Benjamin wrote:
 Sounds reasonable. I don't know the answer or whether anyone else on this list
 will but you can definitely find the relevant developers at this mailing list:
 https://mail.python.org/mailman/listinfo/distutils-sig/

I believe the wheel/pip/virtualenv guys are on this list

https://groups.google.com/forum/#!forum/python-virtualenv

-- 
https://mail.python.org/mailman/listinfo/python-list