<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:arial,helvetica,sans-serif;font-size:12pt">> Hmmm,
okay,
I
finally
got
it
to
work
by
putting
the
main
repository,
not <br>> the
two
subdirectories
in
it
into
my
python
path.<br><br>Did I mention I'm new to SVN also? So, what is that repository called when you grab it? Am I understanding that you have something like:<br> pugproject<br> mygame<br> pug<br>With pugproject in your pythonpath?<br><br>> I
tried
it
out
and
it
looks
pretty
cool.<br><br>Thanks:)<br><br>> So
if
I
understand
the
mygame
example
correctly,
the
game
itself
doesn't <br>> need
to
reference
pug
directly
in
any
way,
you
just
write
a
script
like <br><a target="_blank" href="http://puginterface.py/">> puginterface.py</a>
that
wraps
your
game
in
pug,
and
grants
pug
access
to <br>> things,
yes?<br><br>Yep. Supposed to plug right in for development and then pop right out when you release your project. Should be pretty easy to copy the way puginterface works from the example, too.<br><br>> Directly
running
an
<a target="_blank" href="http://__init__.py/">__init__.py</a>
file
feels
weird
:)<br><br>I was not sure about that. Or the way I set up PugInterface, for that matter. If you had any examples to point me to that are more common ways to set things like this up, I'd be grateful.<br><br>Ivan<br><br>///\*_*/\\\ <br><br><div>NOTICE: Empowered by Presidential Executive Orders, the National Security Agency may read this email without warning, warrant, or notice. The NSA may do this without any judicial or legislative oversight. The President also claims the right to designate the sender or the reader as an enemy combatant and to imprison him/her indefinitely without access to legal counsel or anyone else, and to be "rendered" to a foreign government for possible torture or death.<div style="font-family: arial,helvetica,sans-serif; font-size: 12pt;"><br><br><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;">----- Original Message ----<br>From: James Paige <Bob@HamsterRepublic.com><br>To:
$P!D3R DelSol <sun.spider@yahoo.com>; Motherhamster Developers <dev@lists.motherhamster.org><br>Sent: Wednesday, March 5, 2008 2:16:09 PM<br>Subject: Re: [Dev] PUG<br><br>
On
Wed,
Mar
05,
2008
at
12:57:40PM
-0800,
$P!D3R
DelSol
wrote:<br>>
Saw
James'
reply
on
the
pygame
board,
so
I
thought
I'd
drop
a
line. <br>>
Here's
some
basic
info
on
pug:<br>>
*
There's
a
brief
intro
doc
in
the
documentation
section
on
sourceforge<br>>
(
<a href="http://www.sourceforge.net/projects/pug" target="_blank">http://www.sourceforge.net/projects/pug</a>
)<br>>
*
Basically,
to
get
started,
put
both
folders
in
the
repo
into
your<br>>
PYTHONPATH.
Run
the
<a target="_blank" href="http://__init__.py">__init__.py</a>
in
either
one
to
run
the
proof
of<br>>
concept.<br>>
*
Pug
is
meant
to
be
added
on
to
a
project
during
development
to
allow<br>>
easy
runtime
manipulation
of
python
objects.<br>>
*
I'm
an
experienced
developer,
but
I'm
just
learning
linux,
python,
and<br>>
wx
AND
I'm
working
alone,
so
it
may
come
a
bit
slow.<br>>
*
I'm
getting
ready
to
create
a
pug
interface
for
opioid2d,
but
I'd
be<br>>
excited
to
help
create
one
for
motherhamster
too,
if
you
find
that<br>>
you're
interested.<br>>
*
A
new
pug
version
should
be
up
this
week
that
has
better
Save
and
Load<br>>
functionality.<br>>
*
Any
feedback
is
appreciated<br>>
Cheers<br>>
Ivan<br><br><br>Hmmm,
okay,
I
finally
got
it
to
work
by
putting
the
main
repository,
not <br>the
two
subdirectories
in
it
into
my
python
path.<br><br>I
tried
it
out
and
it
looks
pretty
cool.<br><br>So
if
I
understand
the
mygame
example
correctly,
the
game
itself
doesn't <br>need
to
reference
pug
directly
in
any
way,
you
just
write
a
script
like <br><a target="_blank" href="http://puginterface.py">puginterface.py</a>
that
wraps
your
game
in
pug,
and
grants
pug
access
to <br>things,
yes?<br><br>Directly
running
an
<a target="_blank" href="http://__init__.py">__init__.py</a>
file
feels
weird
:)<br><br>---<br>James<br></div><br></div></div></div><br>
<hr size=1>Never miss a thing. <a href="http://us.rd.yahoo.com/evt=51438/*http://www.yahoo.com/r/hs"> Make Yahoo your homepage.</a>
</body></html>