forked from yuxiangw/autodp
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
40 lines (34 loc) · 1.5 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
from setuptools import setup
import os
here = os.path.dirname(os.path.abspath(__file__))
with open("README.md", 'r') as f:
long_description = f.read()
def _parse_requirements(path):
"""Parses requirements from file."""
with open(os.path.join(here, path)) as f:
deps = []
for line in f:
deps.append(line.rstrip())
return deps
setup(
name='autodp',
version='0.2.1b',
description='Automating Differential Privacy Computation',
license="Apache",
long_description="The package helps researchers and developers to correctly use advanced methods in differential privacy and obtain provable DP guarantees. The core of the package is an analytical moments accountant that keeps track of Renyi Differential Privacy in analytical forms.",
author='Yu-Xiang Wang',
author_email='[email protected]',
url='https://github.com/yuxiangw/autodp',
download_url = 'https://github.com/yuxiangw/autodp/archive/refs/tags/v0.2.1b.tar.gz',
keywords = ['Differential Privacy','Moments Accountant','Renyi Differential Privacy'],
packages=['autodp'], #same as name
install_requires=[_parse_requirements('requirements.txt')], #external packages as dependencies
classifiers=['Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'Intended Audience :: Science/Research',
'Topic :: Scientific/Engineering :: Artificial Intelligence',
'Topic :: Security',
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python :: 3',
],
)