-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
43 lines (40 loc) · 1.17 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
import sys
from setuptools import setup, find_packages
VERSIONFILE="./src/dplab/_version.py"
def get_version():
try:
version = open(VERSIONFILE, "rt").read().strip().split()[-1].replace('"', '')
except:
version = "unknown"
return version
def get_readme():
with open("readme.md", "r") as fh:
return fh.read()
setup(
name = "dplab",
version = get_version(),
description="DPLab: Benchmarking Differential Privacy Aggregation Operations",
long_description=get_readme(),
long_description_content_type="text/markdown",
author = "littleRound",
author_email = "[email protected]",
packages = find_packages('src', exclude=["*.tests", "*.tests.*", "tests.*", "tests"]),
package_dir = {'': 'src'},
install_requires = [
"psutil",
"numpy",
"tinydb",
"tqdm",
"scipy",
"jpype1",
"diffprivlib==0.5.2",
"python-dp==1.1.1",
"opendp==0.6.1",
],
entry_points = {
'console_scripts': [
'dplab_run = dplab.main:main',
'dplab_exp = dplab.experiments:main',
],
},
)