1#!/usr/bin/env python 2# -*- coding: utf-8 -*- 3 4 5try: 6 import multiprocessing 7except ImportError: 8 pass 9 10try: 11 from setuptools import setup 12except ImportError: 13 from distutils.core import setup 14 15from email.utils import parseaddr 16import safe 17 18author, author_email = parseaddr(safe.__author__) 19 20 21def fread(filename): 22 with open(filename) as f: 23 return f.read() 24 25 26setup( 27 name='Safe', 28 version=safe.__version__, 29 author=author, 30 author_email=author_email, 31 url='https://github.com/lepture/safe', 32 packages=["safe"], 33 description="Is your password safe?", 34 zip_safe=False, 35 include_package_data=True, 36 platforms='any', 37 long_description=fread('README.rst'), 38 license='BSD', 39 install_requires=[], 40 tests_require=['nose'], 41 test_suite='nose.collector', 42 classifiers=[ 43 'Development Status :: 3 - Alpha', 44 'Environment :: Web Environment', 45 'Intended Audience :: Developers', 46 'License :: OSI Approved', 47 'License :: OSI Approved :: BSD License', 48 'Operating System :: MacOS', 49 'Operating System :: POSIX', 50 'Operating System :: POSIX :: Linux', 51 'Programming Language :: Python', 52 'Programming Language :: Python :: 2.6', 53 'Programming Language :: Python :: 2.7', 54 'Programming Language :: Python :: 3.3', 55 'Programming Language :: Python :: 3.4', 56 'Programming Language :: Python :: Implementation', 57 'Programming Language :: Python :: Implementation :: CPython', 58 'Programming Language :: Python :: Implementation :: PyPy', 59 'Topic :: Software Development :: Libraries :: Python Modules', 60 ] 61) 62