changeset 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 (2011-01-06)
parents 0154059ecf3f
children f68a9a429c88
files MANIFEST.in setup.py
diffstat 2 files changed, 6 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/MANIFEST.in	Wed Jan 05 21:48:35 2011 +0100
+++ b/MANIFEST.in	Thu Jan 06 18:09:00 2011 +0100
@@ -6,6 +6,3 @@
 include src/sat.*
 include frontends/src/jp/jp frontends/src/primitivus/primitivus frontends/src/wix/wix
 include frontends/src/wix/images/cards/.size
-prune build
-prune dist
-
--- a/setup.py	Wed Jan 05 21:48:35 2011 +0100
+++ b/setup.py	Thu Jan 06 18:09:00 2011 +0100
@@ -1,8 +1,10 @@
 #!/usr/bin/env python
 # -*- coding: utf-8 -*-
 
-from distutils.command.install import install
-from distutils.core import setup
+from distribute_setup import use_setuptools
+use_setuptools()
+from setuptools.command.install import install
+from setuptools import setup
 from distutils.file_util import copy_file
 import os,sys,subprocess
 from stat import ST_MODE
@@ -81,6 +83,8 @@
                   ('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,
+      install_requires=['twisted', 'progressbar', 'wxPython', 'urwid', 'BeautifulSoup'],
       cmdclass=dict(install=custom_install),
       )