On May 14, 1:28 pm, Måns <[email protected]> wrote:
> I use PortablePython_1.1_py2.6.1  ie 2.6.1
>
> I will try your suggestion and follow the paths in the tutorial - I'll
> be back..
>

Whew, just for fun, I too tried FND's tutorial and it works! well sort
of..

I threw both PortablePython and the TiddlyWeb dist into a spare USB
drive E: (i should have started at C: like FND said)

I got it to work with cygwin but not DOS. I even added the USB drive
letter to the environmental variable but no dice.

I couldn't get it to work with DOS as in:

E:\PortablePython_1.1_py2.6.1\App>python.exe easy_install.py selector
simplejson
 BeautifulSoup html5lib wikklytext
Traceback (most recent call last):
  File "easy_install.py", line 4, in <module>
    from setuptools.command.easy_install import main
  File "E:\PortablePython_1.1_py2.6.1\App\setuptools\command
\easy_install.py", l
ine 21, in <module>
    from setuptools.package_index import PackageIndex,
parse_bdist_wininst
  File "E:\PortablePython_1.1_py2.6.1\App\setuptools
\package_index.py", line 145
, in <module>
    urllib2.__version__, require('setuptools')[0].version
  File "E:\PortablePython_1.1_py2.6.1\App\pkg_resources.py", line 626,
in requir
e
    needed = self.resolve(parse_requirements(requirements))
  File "E:\PortablePython_1.1_py2.6.1\App\pkg_resources.py", line 524,
in resolv
e
    raise DistributionNotFound(req)  # XXX put more info here
pkg_resources.DistributionNotFound: setuptools


but if I used cygwin as in:

cd  /cygdrive/e/PortablePython_1.1_py2.6.1/App

$ python.exe easy_install.py selector simplejson BeautifulSoup
html5lib wikklytext

Searching for selector
Best match: selector 0.8.11
Processing selector-0.8.11-py2.5.egg
selector 0.8.11 is already the active version in easy-install.pth
...
Using /usr/lib/python2.5/site-packages/WikklyText-1.5.0-py2.5.egg
Processing dependencies for wikklytext
Finished processing dependencies for wikklytext

Then make the instance as in:

/cygdrive/e/PortablePython_1.1_py2.6.1/tiddlyweb-0.9.32
$ twanager instance MyTweb
handling 
http://svn.tiddlywiki.org/Trunk/association/adaptors/TiddlyWebAdaptor.js
...

then start the server in the instance as in:
/cygdrive/e/PortablePython_1.1_py2.6.1/tiddlyweb-0.9.32/MyTweb
$ twanager server localhost 8080
Starting CherryPy at localhost:8080

voila!

it runs solely in the USB drive.

Mans if cygwin can't be installed or if DOS is a no go, you might try
unixKit, a set of unix tools over at http://quadlasers.com/wp/?p=423

I used to use that for a shell before i learned of cygwin.

I'll keep trying on the DOS end, post if any update.

Best,
tony


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/TiddlyWiki?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to