Hello!

I've written a small app, succesfully packaged it and trying to install.
I'm getting following error:
# python setup.py install -n
running install
running build
running build_py
running build_scripts
running install_lib
creating /usr/lib/python2.4/site-packages/logmanager
creating /usr/lib/python2.4/site-packages/logmanager/core
copying build/lib/logmanager/core/logfile.py ->
/usr/lib/python2.4/site-packages/logmanager/core
copying build/lib/logmanager/core/logfiles.py ->
/usr/lib/python2.4/site-packages/logmanager/core
copying build/lib/logmanager/core/config.py ->
/usr/lib/python2.4/site-packages/logmanager/core
copying build/lib/logmanager/core/fs.py ->
/usr/lib/python2.4/site-packages/logmanager/core
copying build/lib/logmanager/core/__init__.py ->
/usr/lib/python2.4/site-packages/logmanager/core
copying build/lib/logmanager/__init__.py ->
/usr/lib/python2.4/site-packages/logmanager
byte-compiling /usr/lib/python2.4/site-packages/logmanager/core/logfile.py
to logfile.pyc
byte-compiling /usr/lib/python2.4/site-packages/logmanager/core/logfiles.py
to logfiles.pyc
byte-compiling /usr/lib/python2.4/site-packages/logmanager/core/config.py to
config.pyc
byte-compiling /usr/lib/python2.4/site-packages/logmanager/core/fs.py to
fs.pyc
byte-compiling /usr/lib/python2.4/site-packages/logmanager/core/__init__.py
to __init__.pyc
byte-compiling /usr/lib/python2.4/site-packages/logmanager/__init__.py to
__init__.pyc
running install_scripts
copying build/scripts-2.4/logmanager.py -> /usr/bin
changing mode of /usr/bin/logmanager.py to 755
running install_data
error: can't copy 'f': doesn't exist or not a regular file

What the 'f'???

Here is my setup.py:
#!/usr/bin/env python
"""
bla-bla-bla
"""

from distutils.core import setup
setup(name='logmanager',
      version='0.1.0',
      description='Log Management tool',
      author='Vladimir Rusinov',
      author_email='[EMAIL PROTECTED]',
      url='http://greenmice.info/',
      packages=[
        'logmanager',
        'logmanager.core'
        ],
        scripts=['logmanager.py'],
        data_files=[
            ('/etc/', 'files/etc/logmanager.conf'),
            ('/etc/logmanager.d/', 'files/etc/logmanager.d/portage.py')
        ],

        long_description="""
        bla-bla-bla
        """,
        classifiers=[
'many'
        ]
     )

File structure:
$ ls -R
.:
AUTHORS  CHANGELOG  dist  files  LICENSE  logmanager  logmanager.e3p
logmanager.e3t  logmanager.py  make_distribution.sh  MANIFEST  MANIFEST.in
setup.py

./dist:
logmanager-0.1.0.tar.bz2

./files:
etc

./files/etc:
logmanager.conf  logmanager.d

./files/etc/logmanager.d:
portage.py

./logmanager:
core  __init__.py  __init__.pyc

./logmanager/core:
config.py  config.pyc  fs.py  fs.pyc  __init__.py  __init__.pyc  logfile.py
logfile.pyc  logfiles.py  logfiles.pyc

$ tar tf dist/logmanager-0.1.0.tar.bz2
logmanager-0.1.0/
logmanager-0.1.0/PKG-INFO
logmanager-0.1.0/logmanager/
logmanager-0.1.0/logmanager/core/
logmanager-0.1.0/logmanager/core/logfile.py
logmanager-0.1.0/logmanager/core/logfiles.py
logmanager-0.1.0/logmanager/core/config.py
logmanager-0.1.0/logmanager/core/fs.py
logmanager-0.1.0/logmanager/core/__init__.py
logmanager-0.1.0/logmanager/__init__.py
logmanager-0.1.0/files/
logmanager-0.1.0/files/etc/
logmanager-0.1.0/files/etc/logmanager.conf
logmanager-0.1.0/files/etc/logmanager.d/
logmanager-0.1.0/files/etc/logmanager.d/portage.py
logmanager-0.1.0/LICENSE
logmanager-0.1.0/setup.py
logmanager-0.1.0/AUTHORS
logmanager-0.1.0/CHANGELOG
logmanager-0.1.0/logmanager.py

Please, help.

-- 
Vladimir Rusinov
GreenMice Solutions: IT-решения на базе Linux
http://greenmice.info/
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to