Source

Stegano / setup.py

#!/usr/bin/python
# -*- coding: utf-8 -*-

from distutils.core import setup
import os
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',
    author='Cédric Bonhomme',
    author_email='kimble.mandel@gmail.com',
    packages=['stegano'],
    #scripts=[''],
    url='http://bitbucket.org/cedricbonhomme/stegano',
    platforms = ['Linux'],
    license='COPYING',
    description='A Python Steganography module.',
    **kw
)

print("Installing binaries")
shutil.copy2("./bin/slsb-set", "/bin/slsb-set")
shutil.copymode("./bin/slsb-set", "/bin/slsb-set")

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")
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.