At 10:17 AM 12/4/2008 +0000, Fadhley Salim wrote:
>Could somebody point me to the distutils option which prevents built
>eggs from containing the source-code: The egg should only contain the
>compiled byte-code. I seem to remember that there's a simple keyword
>argument to the setuptools.setup command which will do this.
$ python setup.py bdist_egg --help
Common commands: (see '--help-commands' for more)
setup.py build will build the package underneath 'build/'
setup.py …
[View More]install will install the package
Global options:
--verbose (-v) run verbosely (default)
--quiet (-q) run quietly (turns verbosity off)
--dry-run (-n) don't actually do anything
--help (-h) show detailed help message
Options for 'bdist_egg' command:
--bdist-dir (-b) temporary directory for creating the distribution
--plat-name (-p) platform name to embed in generated filenames
(default: win32)
--exclude-source-files remove all .py files from the generated egg
--keep-temp (-k) keep the pseudo-installation tree around after
creating the distribution archive
--dist-dir (-d) directory to put final built distributions in
--skip-build skip rebuilding everything (for testing/debugging)
[View Less]
Maybe somebody else on the distutils-sig has some idea, then. I'm
lost. If I had to guess though, I'd check and see if maybe your /tmp
directory has too many files or directories in it -- i.e., it seems
like perhaps easy_install is trying to create a temporary directory,
and failing before it can do anything else. (Creating a temporary
directory would be one of the very first things it does.)
At 01:59 PM 12/2/2008 -0500, dunia wrote:
>Phillip J. Eby wrote:
>>At 11:43 AM 12/1/…
[View More]2008 -0500, dunia wrote:
>>>Hi
>>>
>>>I installed setuptools following the instructions at
>>>http://peak.telecommunity.com/DevCenter/EasyInstall...but then i
>>>realized that this package was in my repo (i'm using Debian sid).
>>>I tried to undo my previous installation by removing from /usr/bin
>>>and /usr/lib/python2.4/site-packages all setuptools
>>>packages/files, and installed python-setuptools from the
>>>repository without inconvenients. Now, when i try to use it, i get
>>>the following error:
>>>
>>># easy_install -v ZopeSkel
>>>error: /tmp/easy_install-8zRT0t: Too many links
>>>
>>>Please, i'm stuck here, any hints will be much appreciated.
>>
>>Is it the same error message each time (i.e.
>>/tmp/easy_install-8zRT0t)? Or does the directory name change each time?
>The error is always «error: /tmp/easy_install-<XXX>: Too many links»
>where <XXX> is the part that changes.
>>Also, is there any text that appears *before* the "error:" line,
>>but after you type in the command?
>The only text i get is the error i mentioned, there isn't any text
>before or after.
>
>Thanks...
[View Less]
Maybe somebody else on the distutils-sig has some idea, then. I'm
lost. If I had to guess though, I'd check and see if maybe your /tmp
directory has too many files or directories in it -- i.e., it seems
like perhaps easy_install is trying to create a temporary directory,
and failing before it can do anything else. (Creating a temporary
directory would be one of the very first things it does.)
At 01:59 PM 12/2/2008 -0500, dunia wrote:
>Phillip J. Eby wrote:
>>At 11:43 AM 12/1/…
[View More]2008 -0500, dunia wrote:
>>>Hi
>>>
>>>I installed setuptools following the instructions at
>>>http://peak.telecommunity.com/DevCenter/EasyInstall...but then i
>>>realized that this package was in my repo (i'm using Debian sid).
>>>I tried to undo my previous installation by removing from /usr/bin
>>>and /usr/lib/python2.4/site-packages all setuptools
>>>packages/files, and installed python-setuptools from the
>>>repository without inconvenients. Now, when i try to use it, i get
>>>the following error:
>>>
>>># easy_install -v ZopeSkel
>>>error: /tmp/easy_install-8zRT0t: Too many links
>>>
>>>Please, i'm stuck here, any hints will be much appreciated.
>>
>>Is it the same error message each time (i.e.
>>/tmp/easy_install-8zRT0t)? Or does the directory name change each time?
>The error is always «error: /tmp/easy_install-<XXX>: Too many links»
>where <XXX> is the part that changes.
>>Also, is there any text that appears *before* the "error:" line,
>>but after you type in the command?
>The only text i get is the error i mentioned, there isn't any text
>before or after.
>
>Thanks...
[View Less]
Hi
I installed setuptools following the instructions at
http://peak.telecommunity.com/DevCenter/EasyInstall...but then i
realized that this package was in my repo (i'm using Debian sid). I
tried to undo my previous installation by removing from /usr/bin and
/usr/lib/python2.4/site-packages all setuptools packages/files, and
installed python-setuptools from the repository without inconvenients.
Now, when i try to use it, i get the following error:
# easy_install -v ZopeSkel
error: /tmp/…
[View More]easy_install-8zRT0t: Too many links
Please, i'm stuck here, any hints will be much appreciated.
PS: sorry for my english :(
[View Less]