-
Notifications
You must be signed in to change notification settings - Fork 135
/
setup.py
65 lines (59 loc) · 2.24 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
# This file is part of python-paillier.
#
# python-paillier is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# python-paillier is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with python-paillier. If not, see <http://www.gnu.org/licenses/>.
import os
from setuptools import setup, find_packages
here = os.path.abspath(os.path.dirname(__file__))
about = {}
with open(os.path.join(here, "phe", "__about__.py")) as f:
exec(f.read(), about)
setup(
name=about['__title__'],
version=about['__version__'],
description=about['__summary__'],
long_description=open(os.path.join(here, "README.rst")).read(),
url=about['__uri__'],
download_url="https://pypi.python.org/pypi/phe/#downloads",
author=about['__author__'],
author_email=about['__email__'],
license=about['__license__'],
classifiers=[
'License :: OSI Approved :: GNU General Public License v3 (GPLv3)',
'Natural Language :: English',
'Topic :: Scientific/Engineering :: Mathematics',
'Topic :: Security',
'Topic :: Security :: Cryptography',
'Intended Audience :: Science/Research',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
],
keywords="cryptography encryption homomorphic",
packages=find_packages(exclude=['tests*']),
entry_points={
'console_scripts': [
'pheutil = phe.command_line:cli [cli]'
],
},
extras_require={
'cli': ['click'],
'examples': ['numpy', 'scipy', 'sklearn']
},
install_requires=[],
tests_require=['click', 'gmpy2', 'numpy'],
test_suite="phe.tests"
)