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