That will make it easier to install.
Comment #1
Posted on Mar 11, 2012 by Happy BearI've been pushing to get pyp merged into homebrew for easy installation on Macs [1]
You're more than welcome to chime in and +1 the request.
Comment #2
Posted on Mar 11, 2012 by Happy RabbitIt's in Homebrew now! Next stop: PyPI! :-)
Comment #3
Posted on Mar 11, 2012 by Happy BearIndeed it is has been merged upstream several hours ago!
PyPI is less under my control ;)
I'll cntinue updating the brew formula on any new release.
Comment #4
Posted on Mar 12, 2012 by Grumpy LionI added the latest version here:
http://pypi.python.org/pypi/pyp/2.11
thanks all,
t
Comment #5
Posted on Mar 16, 2012 by Massive PandaComment deleted
Comment #6
Posted on Mar 16, 2012 by Massive PandaNow it's on Pypi I was expecting pip to work:
$ sudo pip install pyp
Downloading/unpacking pyp
Could not find any downloads that satisfy the requirement pyp
No distributions at all found for pyp
Storing complete log in /Users/me/.pip/pip.log
Comment #7
Posted on Mar 16, 2012 by Happy RabbitDitto. pip install doesn't work for me either.
I think that this is because the release has no files associated with it. If you look at pypi for most packages, they have a "files" section with a tar.gz file.
http://pypi.python.org/pypi/pyp/2.11 does not.
So I think you need to upload a file.
Comment #8
Posted on Mar 16, 2012 by Grumpy Lionok, thanks for the info. I'll get a tar ball up there when I get a chance.
t
Comment #9
Posted on Mar 18, 2012 by Happy Kangarooit is removed from Homebrew and it still don't work on pypi
Comment #10
Posted on Mar 18, 2012 by Happy RabbitWhy was it removed from Homebrew?
Comment #11
Posted on Mar 18, 2012 by Happy Kangarooreason was that it is now on pypi.
Comment #12
Posted on Mar 18, 2012 by Happy RabbitI guess if one is desperate to install pyp they can do something like:
wget -O $(which python)/pyp http://pyp.googlecode.com/files/pyp && chmod +x $(which python)/pyp
Comment #13
Posted on Mar 19, 2012 by Grumpy LionI've uploaded the package to pypi...I had to change the name to pyp.py, which I am not crazy about as it doubles the characters, but hopefully this should work for you guys.
Comment #14
Posted on Mar 19, 2012 by Happy Kangarooafter install pyp still dont work,
i see that it is in, -rw-r--r-- 1 root wheel 91030 Mar 19 10:54 /Library/Python/2.7/site-packages/pyp.py and it is not executable
for instance fabric puts file in -rwxr-xr-x 1 root admin 250 Feb 13 11:48 /usr/local/bin/fab
sudo pip install pyp
Downloading/unpacking pyp
Downloading pyp-2.11.tar.gz
Running setup.py egg_info for package pyp
Installing collected packages: pyp Running setup.py install for pyp
Successfully installed pyp Cleaning up...
zsh: command not found: pyp.py zsh: command not found: pyp
PATH=/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin
Comment #15
Posted on Mar 19, 2012 by Grumpy LionOk, thanks for the info. I'll see if I can get this in a more standard location.
Comment #16
Posted on Mar 19, 2012 by Happy RabbitIt sounds to me like the setup.py is not quite right. You shouldn't have to rename pyp to pyp.py. I suspect you're doing that because otherwise distutils/setuptools isn't detecting pyp as a script or even as a Python file? If you have the write incantations it should work. For example, the following seems to work pretty well for me locally:
Comment #17
Posted on Mar 19, 2012 by Happy RabbitBy the way, the key bit of magic here is the "scripts" keyword argument. More info on that at http://docs.python.org/distutils/setupscript.html#installing-scripts -- that whole page is a pretty quick and nicer primer on distutils.
If you've got the time, there was a nice talk at PyCon on posting to PyPI -
https://us.pycon.org/2012/schedule/presentation/63/ http://pyvideo.org/video/678/sharing-is-caring-posting-to-the-python-package
Comment #18
Posted on Mar 19, 2012 by Grumpy Lionawesome, thanks for the help! I found the info for scripts this am, but I used (mostly) your setup file. It's on pypi now, hopefully in it's proper form. Let me know if it installs for you.
t
Comment #19
Posted on Mar 19, 2012 by Happy Kangaroonow it works, thx
Comment #20
Posted on Mar 19, 2012 by Grumpy Lionok, great, thanks for all your help everyone, especially msabramo!
Comment #21
Posted on May 16, 2012 by Grumpy LionUpdate wiki with better notes about math usage
Comment #22
Posted on Sep 6, 2012 by Happy Kangarooit is no longer working
$ sudo pip install -U pyp Downloading/unpacking pyp Downloading pyp-2.12.macosx-10.6-intel.tar.gz Running setup.py egg_info for package pyp Traceback (most recent call last): File "", line 14, in IOError: [Errno 2] No such file or directory: '/home/brko/mikro/build/pyp/setup.py' Complete output from command python setup.py egg_info: Traceback (most recent call last):
File "", line 14, in
IOError: [Errno 2] No such file or directory: '/home/brko/mikro/build/pyp/setup.py'
Status: Fixed
Labels:
Type-Defect
Priority-Medium