1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50
|
#!/usr/bin/python
import os.path
from distutils.core import setup
version = '2.1.1'
readme_file = open(os.path.join(os.path.dirname(__file__), 'README.rst'))
long_description = '\n' + readme_file.read()
readme_file.close()
classifiers = [
'Development Status :: 5 - Production/Stable',
'License :: OSI Approved :: BSD License',
'Operating System :: POSIX',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.1',
'Programming Language :: Python :: 3.2',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Topic :: Security',
'Topic :: Software Development :: Libraries :: Python Modules'
]
cmdclass = {}
try:
from sphinx.setup_command import BuildDoc
except:
pass
else:
cmdclass['build_sphinx'] = BuildDoc
setup(name='SecretStorage',
version=version,
description='Secure storing of passwords and other secrets',
long_description=long_description,
author='Dmitry Shachnev',
author_email='mitya57@gmail.com',
url='http://launchpad.net/python-secretstorage',
packages=['secretstorage'],
platforms='Linux',
license='BSD',
classifiers=classifiers,
cmdclass=cmdclass,
requires=['dbus', 'Crypto']
)
|