mirror of
https://github.com/cedricbonhomme/Stegano.git
synced 2025-05-12 17:18:30 +02:00
preparation for the submission to pypi
This commit is contained in:
parent
f8189fa338
commit
ee48087222
1 changed files with 19 additions and 15 deletions
34
setup.py
34
setup.py
|
@ -1,36 +1,40 @@
|
||||||
#!/usr/bin/python
|
#!/usr/bin/python
|
||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
|
|
||||||
from distutils.core import setup
|
import setuptools
|
||||||
import os
|
import os
|
||||||
import shutil
|
import shutil
|
||||||
|
|
||||||
|
from distutils.core import setup, Extension
|
||||||
|
|
||||||
requires = ['pillow']
|
requires = ['pillow']
|
||||||
|
|
||||||
|
kw = { 'zip_safe': False,
|
||||||
|
'install_requires': requires
|
||||||
|
}
|
||||||
|
|
||||||
try:
|
def read(fname):
|
||||||
from setuptools import setup
|
return open(os.path.join(os.path.dirname(__file__), fname)).read()
|
||||||
kw = {'zip_safe': False,
|
|
||||||
'install_requires': requires
|
|
||||||
}
|
|
||||||
except ImportError:
|
|
||||||
from distutils.core import setup
|
|
||||||
kw = {'requires': requires}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
setup(
|
setup(
|
||||||
name='Stegano',
|
name='Stegano',
|
||||||
version='0.4',
|
version='0.4',
|
||||||
author='Cédric Bonhomme',
|
author='Cédric Bonhomme',
|
||||||
author_email='kimble.mandel@gmail.com',
|
author_email='cedric@cedricbonhomme.org',
|
||||||
packages=['stegano'],
|
packages=['stegano'],
|
||||||
#scripts=[''],
|
#scripts=[''],
|
||||||
url='http://bitbucket.org/cedricbonhomme/stegano',
|
url='https://bitbucket.org/cedricbonhomme/stegano',
|
||||||
|
long_description=read('README.md'),
|
||||||
platforms = ['Linux'],
|
platforms = ['Linux'],
|
||||||
license='COPYING',
|
license='GPLv3',
|
||||||
description='A Python Steganography module.',
|
description='A Python Steganography module.',
|
||||||
|
classifiers=[
|
||||||
|
"Development Status :: 4 - Beta",
|
||||||
|
"Environment :: Console",
|
||||||
|
"Topic :: Utilities",
|
||||||
|
"Operating System :: OS Independent",
|
||||||
|
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
|
||||||
|
],
|
||||||
**kw
|
**kw
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue