Re: Setuptools - help!

2009-08-19 Thread ryles
On Aug 7, 3:04 pm, Peter Chant wrote: > Robert Kern wrote: > > You need to put main.py into the pphoto package. > > > $ mkdir pphoto/ > > $ mv main.py pphoto/ > > $ touch pphoto/__init__.py > > Thanks, it worked.  Any ideas how to run the resulting scripts without > installing or running as root?

Re: Setuptools - help!

2009-08-18 Thread Robert Kern
On 2009-08-18 15:06 PM, Erik Vandamme wrote: On Aug 7, 9:17 am, Robert Kern wrote: On 2009-08-06 18:04, Peter Chant wrote: Chaps, any ideas, I'm floundering - I don't quite get it. I have the following files, setup.py and main.py in a directory pphoto: # more setup.py from setuptools

Re: Setuptools - help!

2009-08-18 Thread Erik Vandamme
On Aug 7, 9:17 am, Robert Kern wrote: > On 2009-08-06 18:04, Peter Chant wrote: > > > > > Chaps, > > > any ideas, I'm floundering - I don't quite get it.  I have the following > > files, setup.py and main.py in a directory pphoto: > > > # more setup.py > > from setuptools import setup, find_packag

Re: Setuptools - help!

2009-08-07 Thread Heikki Toivonen
Peter Chant wrote: > Thanks, it worked. Any ideas how to run the resulting scripts without > installing or running as root? If you install as root, you should be able to run the scripts as normal user. However, I don't recommend this approach since it could conflict with your system Python packag

Re: Setuptools - help!

2009-08-07 Thread Peter Chant
Robert Kern wrote: > You need to put main.py into the pphoto package. > > $ mkdir pphoto/ > $ mv main.py pphoto/ > $ touch pphoto/__init__.py > Thanks, it worked. Any ideas how to run the resulting scripts without installing or running as root? Pete -- http://www.petezilla.co.uk -- http:/

Re: Setuptools - help!

2009-08-06 Thread Robert Kern
On 2009-08-06 18:04, Peter Chant wrote: Chaps, any ideas, I'm floundering - I don't quite get it. I have the following files, setup.py and main.py in a directory pphoto: # more setup.py from setuptools import setup, find_packages setup( name = "Pphoto", version = "0.1", packages

Setuptools - help!

2009-08-06 Thread Peter Chant
Chaps, any ideas, I'm floundering - I don't quite get it. I have the following files, setup.py and main.py in a directory pphoto: # more setup.py from setuptools import setup, find_packages setup( name = "Pphoto", version = "0.1", packages = find_packages(), # other arguments he