blob: e1cc239446318db7009bd0b29b7cb16284fb0023 [file] [log] [blame]
Alex Gaynorbfc06bc2013-08-06 19:36:19 -07001# 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.
Donald Stufft9ebb8ff2013-08-11 17:05:03 -040013from setuptools import setup, find_packages
Alex Gaynorc62e91f2013-08-06 19:25:52 -070014
Donald Stufft5f12a1b2013-08-11 16:37:43 -040015about = {}
16with open("cryptography/__about__.py") as fp:
17 exec(fp.read(), about)
18
19
20CFFI_DEPENDENCY = "cffi>=0.6"
21
22install_requires = [
23 CFFI_DEPENDENCY,
24]
25
26setup_requires = [
27 CFFI_DEPENDENCY,
28]
29
30
Alex Gaynorc62e91f2013-08-06 19:25:52 -070031setup(
Donald Stufft5f12a1b2013-08-11 16:37:43 -040032 name=about["__title__"],
33 version=about["__version__"],
34
35 description=about["__summary__"],
36 license=about["__license__"],
37 url=about["__uri__"],
38
39 author=about["__author__"],
40 author_email=about["__email__"],
41
Christian Heimesf83ed1d2013-08-10 23:28:29 +020042 classifiers=[
43 "Development Status :: 2 - Pre-Alpha",
44 "Intended Audience :: Developers",
45 "License :: OSI Approved :: Apache Software License",
46 "Natural Language :: English",
47 "Operating System :: MacOS :: MacOS X",
48 "Operating System :: POSIX",
49 "Operating System :: POSIX :: BSD",
50 "Operating System :: POSIX :: Linux",
51 "Operating System :: Microsoft :: Windows",
Christian Heimesb55f9262013-08-11 15:09:21 +020052 #"Programming Language :: cffi",
Christian Heimesf83ed1d2013-08-10 23:28:29 +020053 "Programming Language :: Python",
54 "Programming Language :: Python :: 2",
55 "Programming Language :: Python :: 2.6",
56 "Programming Language :: Python :: 2.7",
57 "Programming Language :: Python :: 3",
58 "Programming Language :: Python :: 3.2",
59 "Programming Language :: Python :: 3.3",
60 "Programming Language :: Python :: Implementation :: CPython",
61 "Programming Language :: Python :: Implementation :: PyPy",
62 "Topic :: Security :: Cryptography",
63 ],
Donald Stufft5f12a1b2013-08-11 16:37:43 -040064
Donald Stufft9ebb8ff2013-08-11 17:05:03 -040065 packages=find_packages(exclude=["tests", "tests.*"]),
66
Donald Stufft5f12a1b2013-08-11 16:37:43 -040067 install_requires=install_requires,
68 setup_requires=setup_requires,
69
70 # for cffi
71 zip_safe=False,
Alex Gaynorc62e91f2013-08-06 19:25:52 -070072)