Mercurial > libervia-backend
comparison setup.py @ 230:b25cbec73c1e
distutils: removes build and dist from manifest's prune
author | Goffi <goffi@goffi.org> |
---|---|
date | Thu, 06 Jan 2011 18:09:00 +0100 |
parents | 533507bb4e32 |
children | 0cd5b3c4513f |
comparison
equal
deleted
inserted
replaced
229:0154059ecf3f | 230:b25cbec73c1e |
---|---|
1 #!/usr/bin/env python | 1 #!/usr/bin/env python |
2 # -*- coding: utf-8 -*- | 2 # -*- coding: utf-8 -*- |
3 | 3 |
4 from distutils.command.install import install | 4 from distribute_setup import use_setuptools |
5 from distutils.core import setup | 5 use_setuptools() |
6 from setuptools.command.install import install | |
7 from setuptools import setup | |
6 from distutils.file_util import copy_file | 8 from distutils.file_util import copy_file |
7 import os,sys,subprocess | 9 import os,sys,subprocess |
8 from stat import ST_MODE | 10 from stat import ST_MODE |
9 from glob import glob | 11 from glob import glob |
10 | 12 |
79 (os.path.join(sys.prefix,'share/locale/fr/LC_MESSAGES'), ['frontends/src/jp/i18n/fr/LC_MESSAGES/jp.mo']), | 81 (os.path.join(sys.prefix,'share/locale/fr/LC_MESSAGES'), ['frontends/src/jp/i18n/fr/LC_MESSAGES/jp.mo']), |
80 ('share/doc/%s' % NAME, ['CHANGELOG', 'COPYING', 'INSTALL', 'README', 'README4TRANSLATORS']), | 82 ('share/doc/%s' % NAME, ['CHANGELOG', 'COPYING', 'INSTALL', 'README', 'README4TRANSLATORS']), |
81 ('share/doc/%s/misc' % NAME, ['frontends/src/wix/images/split_card.sh']), | 83 ('share/doc/%s/misc' % NAME, ['frontends/src/wix/images/split_card.sh']), |
82 ], | 84 ], |
83 scripts=['frontends/src/jp/jp', 'frontends/src/primitivus/primitivus', 'frontends/src/wix/wix'], | 85 scripts=['frontends/src/jp/jp', 'frontends/src/primitivus/primitivus', 'frontends/src/wix/wix'], |
86 zip_safe=False, | |
87 install_requires=['twisted', 'progressbar', 'wxPython', 'urwid', 'BeautifulSoup'], | |
84 cmdclass=dict(install=custom_install), | 88 cmdclass=dict(install=custom_install), |
85 ) | 89 ) |
86 | 90 |