forked from microsoft/presidio-research
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
53 lines (49 loc) · 1.72 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
from setuptools import setup, find_packages
import os.path
# read the contents of the README file
from os import path
this_directory = path.abspath(path.dirname(__file__))
with open(path.join(this_directory, "README.md"), encoding="utf-8") as f:
long_description = f.read()
# print(long_description)
with open(os.path.join(this_directory, "VERSION")) as version_file:
__version__ = version_file.read().strip()
setup(
name="presidio-evaluator",
long_description=long_description,
long_description_content_type="text/markdown",
version=__version__,
packages=find_packages(exclude=["tests"]),
url="https://www.github.com/microsoft/presidio-research",
license="MIT",
description="PII dataset generator, model evaluator for Presidio and PII data in general", # noqa
data_files=[
(
"presidio_evaluator/data_generator/raw_data",
[
"presidio_evaluator/data_generator/raw_data/FakeNameGenerator.com_3000.csv", # noqa
"presidio_evaluator/data_generator/raw_data/templates.txt",
"presidio_evaluator/data_generator/raw_data/companies_and_organizations.csv",
"presidio_evaluator/data_generator/raw_data/nationalities.csv",
"presidio_evaluator/data_generator/raw_data/us_driver_licenses.csv",
],
)
],
include_package_data=True,
install_requires=[
"presidio_analyzer",
"presidio_anonymizer",
"spacy>=3.0.0",
"requests",
"numpy",
"pandas",
"tqdm>=4.32.1",
"jupyter>=1.0.0",
"pytest>=4.6.2",
"haikunator",
"schwifty",
"faker",
"sklearn_crfsuite",
"python-dotenv",
],
)