Hello,
thanks for your reply.
I added these files to MANIFEST.in but they are only in the tarball (generated
using python setup.py sdist), and not in the installation directory.
I attached the tree of my source (source_tree), my setup.py script, my
MANIFEST.in and the tree of the installation directory.
Thanks,
Lukas
Am Sonntag 13 Dezember 2009 15:27:29 schrieben Sie:
> On Sun, Dec 13, 2009 at 3:08 PM, Lukas Hetzenecker <[email protected]> wrote:
> > Hello,
> >
> > i have the following folder structure:
>
> Hi Lukas, your project layout is a bit exotic but looks fine for what
> you want to do.
>
> You just need to add an extra file called MANIFEST.in alongside
> setup.py, with this content:
>
> recursive-include application *.py
> include application/INSTALL
> include application/Changelog
> include application/LICENCE
>
> This is a template file, that'll make sure package_data files are
> included in the archive then installed.
>
> Notice that this has changed in version 2.7: All the files that match
> package_data will be added to the MANIFEST file if no template is
> provided.
>
> IOW this MANIFEST.in won't be necessary anymore in your case in the future
>
> see http://docs.python.org/dev/distutils/sourcedist.html#manifest
>
> Tarek
>
r...@laptop /usr/lib/python2.6/site-packages # tree --dirsfirst
series60_remote |grep -v ".svn" |grep -v ".png" |grep -v ".pyc" |grep -v ".ui"
|grep -v ".svg" > directory_tree
series60_remote
├── devices
│ ├── __init__.py
│ ├── null.py
│ ├── series60.py
│ ├── status_numbers.py
├── lib
│ ├── classes.py
│ ├── database.py
│ ├── dbusobject.py
│ ├── delegate_movie.py
│ ├── device.py
│ ├── favorites.py
│ ├── helper.py
│ ├── import_messages.py
│ ├── __init__.py
│ ├── log.py
│ ├── obex_completer.py
│ ├── obex_handler.py
│ ├── obex_iconprovider.py
│ ├── obex_items.py
│ ├── obex_model.py
│ ├── obex_scheduler.py
│ ├── obex_wrapper.py
│ ├── settings.py
│ ├── __init__.py
│ ├── resource_rc.py
├── widget
│ ├── ContactCanvas.py
│ ├── Delegate.py
│ ├── ImageButton.py
│ ├── __init__.py
│ ├── MessageTextEdit.py
│ ├── ObexView.py
│ ├── ObexWidget.py
│ ├── PixmapRegionSelectorWidget.py
│ ├── Popup.py
│ ├── SearchLineEdit.py
│ ├── StatisticCanvas.py
├── window
│ ├── about.py
│ ├── chat.py
│ ├── contacts_edit.py
│ ├── favorites.py
│ ├── history.py
│ ├── import_messages.py
│ ├── __init__.py
│ ├── log.py
│ ├── mainwindow.py
│ ├── message_queue.py
│ ├── pixmap_region_selector_dialog.py
│ ├── popups.py
│ ├── settings.py
│ ├── statistics.py
│ ├── systemtrayicon.py
│ ├── wizard.py
├── __init__.py
├── mkpyqt.py
├── series60_remote.py
5 directories, 158 files
from distutils.core import setup
setup(name='series60-remote',
version='1.0',
packages=['series60_remote', 'series60_remote.devices', 'series60_remote.lib', 'series60_remote.ui',
'series60_remote.window', 'series60_remote.widget'],
package_dir={'series60_remote': 'pc'},
#package_data={'app' : ['Changelog', 'HACKING', 'INSTALL', 'LICENSE', 'LICENSE.icons-oxygen',
# 'README.icons-oxygen', 'TODO']},
#package_data={'' : ['']},
scripts=['series60-remote']
)
lu...@laptop /home/lukas/Projekte/series60-remote/trunk (r390) # tree
--dirsfirst |grep -v ".svn" |grep -v ".png" |grep -v ".pyc" |grep -v ".ui"
|grep -v ".sv > directory_tree
.
├── lib
├── mobile
│ ├── create_package
│ ├── __init__.py
│ ├── mobile.py
│ ├── PythonForS60_1_4_5_3rdEd.sis
│ └── series60-remote.sis
├── pc
│ ├── devices
│ │ ├── __init__.py
│ │ ├── null.py
│ │ ├── series60.py
│ │ ├── status_numbers.py
│ ├── lang
│ │ ├── app_de.qm
│ │ ├── app_de.ts
│ │ └── qt_de.qm
│ ├── lib
│ │ ├── classes.py
│ │ ├── database.py
│ │ ├── dbusobject.py
│ │ ├── delegate_movie.py
│ │ ├── device.py
│ │ ├── favorites.py
│ │ ├── helper.py
│ │ ├── import_messages.py
│ │ ├── __init__.py
│ │ ├── log.py
│ │ ├── obex_completer.py
│ │ ├── obex_handler.py
│ │ ├── obex_iconprovider.py
│ │ ├── obex_items.py
│ │ ├── obex_model.py
│ │ ├── obex_scheduler.py
│ │ ├── obex_wrapper.py
│ │ ├── settings.py
│ ├── pics
│ │ ├── hicolor
│ │ │ ├── scalable
│ │ ├── other
│ │ ├── oxygen
│ │ │ ├── scalable
│ │ │ │ ├── actions
│ │ │ │ ├── apps
│ │ │ │ ├── devices
│ │ │ │ ├── mimetypes
│ │ │ │ ├── places
│ │ │ │ └── status
│ │ │ ├── LICENSE
│ │ │ ├── README
│ │ ├── oxygen-icon-list
│ │ ├── phone.ico
│ │ └── update-oxygen.py
│ │ ├── src
│ │ │ ├── resource.qrc
│ │ ├── __init__.py
│ │ ├── resource_rc.py
│ ├── widget
│ │ ├── ContactCanvas.py
│ │ ├── Delegate.py
│ │ ├── ImageButton.py
│ │ ├── __init__.py
│ │ ├── MessageTextEdit.py
│ │ ├── ObexView.py
│ │ ├── ObexWidget.py
│ │ ├── PixmapRegionSelectorWidget.py
│ │ ├── Popup.py
│ │ ├── SearchLineEdit.py
│ │ ├── StatisticCanvas.py
│ ├── window
│ │ ├── about.py
│ │ ├── chat.py
│ │ ├── contacts_edit.py
│ │ ├── favorites.py
│ │ ├── history.py
│ │ ├── import_messages.py
│ │ ├── __init__.py
│ │ ├── log.py
│ │ ├── mainwindow.py
│ │ ├── message_queue.py
│ │ ├── pixmap_region_selector_dialog.py
│ │ ├── popups.py
│ │ ├── settings.py
│ │ ├── statistics.py
│ │ ├── systemtrayicon.py
│ │ ├── wizard.py
│ ├── generate-pro.sh
│ ├── __init__.py
│ ├── mkpyqt.py
│ ├── send_to_mobile
│ ├── series60-remote.coverage
│ ├── series60-remote.pro
│ ├── series60_remote.py
├── series60_remote.egg-info
│ ├── dependency_links.txt
│ ├── PKG-INFO
│ ├── SOURCES.txt
│ └── top_level.txt
├── Changelog
├── directory_tree
├── HACKING
├── __init__.py
├── INSTALL
├── LICENSE
├── LICENSE.icons-oxygen
├── MANIFEST.in
├── README.icons-oxygen
├── series60-remote
├── series60-remote.e4p
├── setup.py
└── TODO
23 directories, 328 files
include INSTALL
include Changelog
include LICENSE
include LICENSE.icons-oxygen
include README.icons-oxygen
include TODO
include HACKING
_______________________________________________
Distutils-SIG maillist - [email protected]
http://mail.python.org/mailman/listinfo/distutils-sig