About pypi2port

Aljaž Srebrnič g5pw at macports.org
Tue Sep 16 09:28:36 PDT 2014


Hello everyone!
I managed to finally take a look and use pypi2port. I can’t help but notice two things:

	1) No Portfile. I think it would be nice to have portfiles for our tools. 
	   A basic porfile would be easy, but a more “pythonic” solution would be 
	   write a setup.py with distutils. Moreover, I see that the shabang is
	   for bash and python is subsequently invoked… Couldn’t we use
	   "#!/usr/bin/env python” ?

	2) Pypi2port does not support python3. Moreover, it fails to select the 
	   correct python version, failing when the user has python3 as python 
	   default. I think it’s a real shame, as a quick pass through 2to3 yields
	   a solution that, on a quick look, should work for python3 too.

That said, I’m prepared to “pythonize” it a bit more and make a portfile so it’s easy 
to install. What do you think?

--
Aljaž Srebrnič a.k.a g5pw
My public key:  http://bit.ly/g5pw_pubkey



More information about the macports-dev mailing list