core: MANIFEST.in and setup.py cleaning

This commit is contained in:
Goffi 2011-07-28 01:03:22 +02:00
commit 60cb43435f
2 changed files with 2 additions and 5 deletions

View file

@ -4,9 +4,7 @@ global-include *.ini
global-include *.po *.mo
global-include CHANGELOG COPYING* INSTALL README*
global-include *.sh
global-include *.png *.xpm
include src/sat.*
include frontends/src/jp/jp frontends/src/primitivus/primitivus frontends/src/wix/wix
include frontends/src/wix/images/cards/.size
include src/bridge/bridge_constructor/mediawiki_template.tpl
prune src/bridge/bridge_constructor/generated

View file

@ -198,12 +198,11 @@ setup(name=NAME,
'sat_frontends', 'sat_frontends.bridge', 'sat_frontends.quick_frontend',
'sat_frontends.primitivus', 'sat_frontends.wix'],
package_data = {'sat': ['sat.tac','sat.sh'],
'sat_frontends': ['wix/COPYING','wix/images/*png','wix/images/cards/*','wix/images/crystal/*']},
'sat_frontends': ['wix/COPYING']},
data_files=[(os.path.join(sys.prefix,'share/locale/fr/LC_MESSAGES'), ['i18n/fr/LC_MESSAGES/sat.mo']),
(os.path.join(sys.prefix,'share/locale/fr/LC_MESSAGES'), ['frontends/i18n/fr/LC_MESSAGES/sat_frontend.mo']),
(os.path.join(sys.prefix,'share/locale/fr/LC_MESSAGES'), ['frontends/src/jp/i18n/fr/LC_MESSAGES/jp.mo']),
('share/doc/%s' % NAME, ['CHANGELOG', 'COPYING', 'INSTALL', 'README', 'README4TRANSLATORS']),
('share/doc/%s/misc' % NAME, ['frontends/src/wix/images/split_card.sh']),
],
scripts=['frontends/src/jp/jp', 'frontends/src/primitivus/primitivus', 'frontends/src/wix/wix'],
zip_safe=False,
@ -211,6 +210,6 @@ setup(name=NAME,
install_requires=['twisted', 'progressbar', 'urwid', 'beautifulsoup', 'mercurial', 'urwid-satext','pyfeed','xe'],
cmdclass=dict(install=custom_install),
) #XXX: The Mercurial dependency is just here to build the custom wokkel (with MUC branch), it must be removed
# and replace by wokkel as soon as MUC branch is officially available in wokkel main branch.
# and replaced by wokkel as soon as MUC branch is officially available in wokkel main branch.
# wxpython doesn't work, it's managed with preinstall_check