forked from data61/python-paillier
-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
66 lines (59 loc) · 2.26 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
66
# 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__))
def find_version():
# Note the version is also in the docs/conf.py file
# We use semantic versioning - semver.org
return "1.3.1"
setup(
name="phe",
version=find_version(),
description="Partially Homomorphic Encryption library for Python",
long_description=open(os.path.join(here, "README.rst")).read(),
url="https://github.com/n1analytics/python-paillier",
download_url="https://pypi.python.org/pypi/phe/#downloads",
author="Data61 | CSIRO",
author_email="brian.thorne@data61.csiro.au",
license="GPLv3",
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.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
],
keywords="cryptography encryption homomorphic",
packages=find_packages(exclude=['tests*']),
entry_points={
'console_scripts': [
'pheutil = phe.command_line:cli [cli]'
],
},
extras_require={
'cli': ['click'],
'examples': ['sklearn']
},
install_requires=['gmpy2'],
tests_require=['numpy', 'click'],
test_suite="phe.tests"
)