mirror of
https://github.com/cedricbonhomme/Stegano.git
synced 2025-05-12 17:18:30 +02:00
PIL is required for Stéganô.
This commit is contained in:
parent
b4a1e1d0bb
commit
9c5250af01
1 changed files with 15 additions and 1 deletions
16
setup.py
16
setup.py
|
@ -7,6 +7,19 @@ import shutil
|
|||
|
||||
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',
|
||||
|
@ -18,6 +31,7 @@ setup(
|
|||
platforms = ['Linux'],
|
||||
license='COPYING',
|
||||
description='A Python Steganography module.',
|
||||
**kw
|
||||
)
|
||||
|
||||
print "Installing binaries"
|
||||
|
@ -28,4 +42,4 @@ shutil.copy2("./bin/slsb", "/bin/slsb")
|
|||
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")
|
||||
|
|
Loading…
Add table
Reference in a new issue