Alex Stapleton | a39a319 | 2014-03-14 20:03:12 +0000 | [diff] [blame] | 1 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 2 | # you may not use this file except in compliance with the License. |
| 3 | # You may obtain a copy of the License at |
| 4 | # |
| 5 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 6 | # |
| 7 | # Unless required by applicable law or agreed to in writing, software |
| 8 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 9 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or |
| 10 | # implied. |
| 11 | # See the License for the specific language governing permissions and |
| 12 | # limitations under the License. |
| 13 | |
| 14 | from __future__ import absolute_import, division, print_function |
| 15 | |
Alex Stapleton | 0bd20e2 | 2014-03-14 19:58:07 +0000 | [diff] [blame] | 16 | import os |
Alex Stapleton | 3888a84 | 2014-03-24 23:05:53 +0000 | [diff] [blame] | 17 | |
Alex Stapleton | 707b008 | 2014-04-20 22:24:41 +0100 | [diff] [blame^] | 18 | from setuptools import find_packages, setup |
Alex Stapleton | 0bd20e2 | 2014-03-14 19:58:07 +0000 | [diff] [blame] | 19 | |
| 20 | |
| 21 | base_dir = os.path.dirname(__file__) |
| 22 | |
| 23 | about = {} |
Alex Stapleton | a39a319 | 2014-03-14 20:03:12 +0000 | [diff] [blame] | 24 | 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] | 25 | exec(f.read(), about) |
| 26 | |
| 27 | |
| 28 | setup( |
| 29 | name=about["__title__"], |
| 30 | version=about["__version__"], |
| 31 | |
| 32 | description=about["__summary__"], |
| 33 | license=about["__license__"], |
| 34 | url=about["__uri__"], |
| 35 | author=about["__author__"], |
| 36 | author_email=about["__email__"], |
| 37 | |
| 38 | packages=find_packages(), |
| 39 | zip_safe=False, |
Alex Stapleton | a39a319 | 2014-03-14 20:03:12 +0000 | [diff] [blame] | 40 | include_package_data=True |
Alex Stapleton | 0bd20e2 | 2014-03-14 19:58:07 +0000 | [diff] [blame] | 41 | ) |