forked from privacytrustlab/ml_privacy_meter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
40 lines (36 loc) · 1.2 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
import io
import os
from setuptools import setup
DESCRIPTION = (
"Privacy Meter: An open-source library to audit data privacy in statistical and machine learning "
"algorithms."
)
here = os.path.abspath(os.path.dirname(__file__))
version = "1.0.1"
# Import the README and use it as the long-description.
# Note: this will only work if 'README.md' is present in your MANIFEST.in file!
try:
with io.open(os.path.join(here, "README.md"), encoding="utf-8") as f:
long_description = "\n" + f.read()
except FileNotFoundError:
long_description = DESCRIPTION
setup(
name="Privacy-Meter",
version=version,
description=DESCRIPTION,
long_description=long_description,
long_description_content_type="text/markdown",
# change to the privacy_meter when the repo is renamed
url="https://github.com/privacytrustlab/ml_privacy_meter",
author_email="[email protected]",
maintainer="Hongyan Chang",
maintainer_email="[email protected]",
license="MIT",
packages=["privacy_meter"],
python_requires=">=3.8.0",
include_package_data=True,
classifiers=[
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
],
)