Commits

Cédric Bonhomme  committed 460a6af

PIL is required for Stéganô.

  • Participants
  • Parent commits 06f7229

Comments (0)

Files changed (1)

 
 requires = ['PIL']
 
+
+try:
+    from setuptools import setup
+    kw = {'zip_safe': False,
+          'install_requires': requires
+          }
+except ImportError:
+    from distutils.core import setup
+    kw = {'requires': requires}
+
+
+
+
 setup(
     name='Stegano',
     version='0.4',
     platforms = ['Linux'],
     license='COPYING',
     description='A Python Steganography module.',
+    **kw
 )
 
 print "Installing binaries"
 shutil.copymode("./bin/slsb", "/bin/slsb")
 
 shutil.copy2("./bin/steganalysis-parity", "/bin/steganalysis-parity")
-shutil.copymode("./bin/steganalysis-parity", "/bin/steganalysis-parity")
+shutil.copymode("./bin/steganalysis-parity", "/bin/steganalysis-parity")