T
Thomas =?ISO-8859-15?Q?G=FCttler?=
Hi!
What is the best directory structure for python modules?
I want to install a script called pyla into /usr/bin/pyla
The script pyla imports several methods and classes from a
module called pyla.
Up to would like to do it like this
pyla/
pyla/setup.py
pyla/dist (created by distutils)
pyla/pyla/__init__.py # This should be in site-packages/pyla
pyla/pyla/foo.py
pyla/pyla # Script for /usr/bin cannot be called like this
# because directory pyla exists.
Would be nice if there was a "prefered" directory strucuture
in the documentation of distutils. This should include
doc/, man/, etc/, ...
What does your directory strutures look like?
thomas
What is the best directory structure for python modules?
I want to install a script called pyla into /usr/bin/pyla
The script pyla imports several methods and classes from a
module called pyla.
Up to would like to do it like this
pyla/
pyla/setup.py
pyla/dist (created by distutils)
pyla/pyla/__init__.py # This should be in site-packages/pyla
pyla/pyla/foo.py
pyla/pyla # Script for /usr/bin cannot be called like this
# because directory pyla exists.
Would be nice if there was a "prefered" directory strucuture
in the documentation of distutils. This should include
doc/, man/, etc/, ...
What does your directory strutures look like?
thomas