Re: Setuptools - help!

2009-08-19 Thread ryles
On Aug 7, 3:04 pm, Peter Chant rempete...@petezilla.co.uk 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

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 --

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

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

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 =