Alex Gaynor | 5951f46 | 2014-11-16 09:08:42 -0800 | [diff] [blame^] | 1 | # This file is dual licensed under the terms of the Apache License, Version |
| 2 | # 2.0, and the BSD License. See the LICENSE file in the root of this repository |
| 3 | # for complete details. |
Alex Stapleton | a39a319 | 2014-03-14 20:03:12 +0000 | [diff] [blame] | 4 | |
| 5 | from __future__ import absolute_import, division, print_function |
| 6 | |
Alex Stapleton | 0bd20e2 | 2014-03-14 19:58:07 +0000 | [diff] [blame] | 7 | import os |
Alex Stapleton | 3888a84 | 2014-03-24 23:05:53 +0000 | [diff] [blame] | 8 | |
Alex Stapleton | 707b008 | 2014-04-20 22:24:41 +0100 | [diff] [blame] | 9 | from setuptools import find_packages, setup |
Alex Stapleton | 0bd20e2 | 2014-03-14 19:58:07 +0000 | [diff] [blame] | 10 | |
| 11 | |
| 12 | base_dir = os.path.dirname(__file__) |
| 13 | |
| 14 | about = {} |
Alex Stapleton | a39a319 | 2014-03-14 20:03:12 +0000 | [diff] [blame] | 15 | with open(os.path.join(base_dir, "cryptography_vectors", "__about__.py")) as f: |
Alex Stapleton | 0bd20e2 | 2014-03-14 19:58:07 +0000 | [diff] [blame] | 16 | exec(f.read(), about) |
| 17 | |
| 18 | |
| 19 | setup( |
| 20 | name=about["__title__"], |
| 21 | version=about["__version__"], |
| 22 | |
| 23 | description=about["__summary__"], |
| 24 | license=about["__license__"], |
| 25 | url=about["__uri__"], |
| 26 | author=about["__author__"], |
| 27 | author_email=about["__email__"], |
| 28 | |
| 29 | packages=find_packages(), |
| 30 | zip_safe=False, |
Alex Stapleton | a39a319 | 2014-03-14 20:03:12 +0000 | [diff] [blame] | 31 | include_package_data=True |
Alex Stapleton | 0bd20e2 | 2014-03-14 19:58:07 +0000 | [diff] [blame] | 32 | ) |