RE: [Pydev-users] Importing an Existing Package into PyDev
Brought to you by:
fabioz
From: Carroll, B. <Bar...@ps...> - 2006-04-25 19:58:14
|
Fabio: Thanks for your prompt reply. I did not know about the manual before I = received your post. I have read through it now, but unfortunately I = still don't know how to convert an existing Python package into a PyDev = project. =20 My package is named encode. It is part of a (non-PyDev) project named = symgen. The file system hierarchy looks like this: J:\My Documents\Projects\symgen testfiles.py (test case files) encode\ (the package directory) __init__.py codefiles.py (Python source code files) (The encode folder is actually a shortcut to J:\My = Documents\python\encode. The python folder is our department's standard = repository for Python development code, and is included in the = PYTHONPATH list by a .pth file in C:\Python23. A bit odd, I know, but = it works and the details aren't important to the current problem.) The first issues I need to solve are: 1. Can I turn my symgen folder into a PyDev project folder,=20 and if so, how? 2. Can I use my existing __init__ file as PyDev's __init__ file, and, if so how?=20 Thanks in advance for any help you or other readers of this list can = provide. Meanwhile, I will forge ahead. If I figure out anything = useful, I'll post it here. Regards, =A0 Barry bar...@ps... 541-302-1107 ________________________ We who cut mere stones must always be envisioning cathedrals. -Quarry worker's creed ________________________________________ >From: Fabio Zadrozny [mailto:fa...@gm...]=20 >Sent: Tuesday, April 25, 2006 3:43 AM >To: pyd...@li... >Cc: Carroll, Barry >Subject: Re: [Pydev-users] Importing an Existing Package into PyDev > >Hi Barry, >=A0 <<snip>> > >Have you checked http://www.fabioz.com/pydev/manual_101_root.html? If = you >still don't know how to do it after reading it, please post back = again. > >Cheers, > >Fabio |