Pablo H. Rivera Sr. wrote:
> Here's the latest try, and a question.  First the try:
> 
>>From inside the virtual pc and at the DOS prompt c:\Projects\Dabo> I enter:
> python setup.py install
> and I get messaged:
> python: can't open file 'setup.py': [Errno 2] No such file or directory

Where did you get this dabo directory from? Subversion? Nightly Tarball? 
Other? I ask because it sounds like you don't have the top-level dabo 
directory, the one with the following files and subdirs:

sol:~/dabo pmcnett$ ll
total 232
-rw-r--r--    1 pmcnett  pmcnett   5673 Mar  1 21:56 ANNOUNCE
-rw-r--r--    1 pmcnett  pmcnett    291 May  1 09:03 AUTHORS
-rw-r--r--    1 pmcnett  pmcnett  76309 May  9 16:53 ChangeLog
-rw-r--r--    1 pmcnett  pmcnett    987 Apr  2 19:50 INSTALL
lrwxr-xr-x    1 pmcnett  pmcnett     16 Mar  1 21:56 LICENSE.TXT 
-rw-r--r--    1 pmcnett  pmcnett     25 Mar  1 21:56 README
-rw-r--r--    1 pmcnett  pmcnett    956 Mar  1 21:56 TODO
drwxr-xr-x   40 pmcnett  pmcnett   1360 Jul 10 16:35 dabo
-rw-r--r--    1 pmcnett  pmcnett   8126 Mar  1 21:56 ez_setup.py
-rw-r--r--    1 pmcnett  pmcnett   1415 Jun  9 20:25 setup.py
drwxr-xr-x    6 pmcnett  pmcnett    204 Mar 10 14:26 tests
drwxr-xr-x    8 pmcnett  pmcnett    272 Apr 14 09:07 tools


> I change to the DOS prompt c:\Projects\Dabo\lib\autosuper> where I know
> setup.py is located, and enter:

No! That's the setup.py for an external lib that we use for our 
self.super() functionality. It installs autosuper into your python's 
site-packages, not dabo.

> the same command and I get messaged:
> Traceback (most recent call last):
>   File "setup.py", line 30, in <module>
>       from Pyrex.Distutils import build_ext
> ImportError: No module named Pyrex.Distutils

...autosuper apparently requires Pyrex, but again this is moot since you 
don't want to install autosuper.


> Before today when following other instructions I managed to get the Dabo and
> the DaboUI get that check mark on the directory folders.

I have no clue what you mean by "that check mark". :)  Oh, aha! Are you 
using TortoiseSVN? If so, wipe out your c:\projects\dabo directory and 
start all over again. Please follow along at the command line. Once you 
get the checkout correct, you can use Tortoise to keep updated if you 
are more comfortable with it. Here are the steps I want you to take:

1) Add the subversion binary path to your Windows system path. For me, 
this is:

c:\program files\subversion\bin

To add it to the path, go to control panel|system|advanced|environment 
variables and in the system variables section, dbl-click "path". Now 
append ";c:\program files\subversion\bin\" to your current path and 
accept it. Close any open command windows and open a new one. Verify 
that the svn command can be found:

C:\>svn --version
svn, version 1.4.2 (r22196)
    compiled Nov  3 2006, 16:53:07

2) clear away your old dabo directories e.g.:

rmdir /s c:\projects\dabo
rmdir /s c:\python25\lib\site-packages\dabo*


3) use subversion to check out dabo to c:\projects:

c:
cd c:\projects
svn checkout https://svn.dabodev.com/dabo/trunk dabo

4) now, leave that directory alone. Don't issue the 'python setup.py 
install' since you are using subversion and as such would probably like 
to keep updated more easily. Instead, locate your python's site-packages 
directory (probably c:\python25\lib\site-packages) and add a file there 
named dabo.pth (make sure windows doesn't call it dabo.pth.txt and then 
hide that fact from you) that has as its contents a single line:

c:\projects\dabo

5) test it out:

c:
python
import dabo
print dabo.version


> Now the question:
> 
> Can I now delete those two folders and start "fresh" a Dabo install?

Absolutely. It is your computer after all, and you are entitled to do 
whatever you like, no matter what Microsoft wants you to believe! :)

HTH
Paul

-- 
pkm ~ http://paulmcnett.com


_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev
Searchable Archives: http://leafe.com/archives/search/dabo-dev
This message: http://leafe.com/archives/byMID/dabo-dev/[EMAIL PROTECTED]

Reply via email to