2020-01-06 23:59:12 +03:00
|
|
|
from setuptools import setup
|
2020-03-14 22:02:03 +03:00
|
|
|
from glob import glob
|
2020-01-06 23:59:12 +03:00
|
|
|
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)
|
|
|
|
__version__ = ""
|
|
|
|
|
|
|
|
with open(os.path.join(this_directory, 'VERSION')) as version_file:
|
|
|
|
__version__ = version_file.read().strip()
|
|
|
|
|
2020-03-14 22:02:03 +03:00
|
|
|
data_files = []
|
|
|
|
directory = 'presidio_evaluator/data_generator/raw_data/'
|
|
|
|
files = glob(directory+'*')
|
|
|
|
data_files.append((directory, files))
|
|
|
|
|
2020-01-06 23:59:12 +03:00
|
|
|
setup(
|
|
|
|
name='presidio-evaluator',
|
|
|
|
long_description=long_description,
|
|
|
|
long_description_content_type='text/markdown',
|
|
|
|
version=__version__,
|
|
|
|
packages=['presidio_evaluator', 'presidio_evaluator.data_generator'
|
|
|
|
],
|
|
|
|
url='https://www.github.com/microsoft/presidio',
|
|
|
|
license='MIT',
|
|
|
|
description='PII dataset generator, model evaluator for Presidio and PII data in general',
|
2020-03-14 22:02:03 +03:00
|
|
|
data_files=data_files,
|
|
|
|
include_package_data=True,
|
2020-01-06 23:59:12 +03:00
|
|
|
install_requires=[
|
|
|
|
'spacy>=2.2.0',
|
|
|
|
'requests==2.22.0',
|
2020-03-15 00:12:29 +03:00
|
|
|
'numpy',
|
2020-01-13 11:42:54 +03:00
|
|
|
'pandas',
|
2020-01-06 23:59:12 +03:00
|
|
|
'tqdm>=4.32.1',
|
|
|
|
'jupyter>=1.0.0',
|
|
|
|
'pytest>=4.6.2',
|
|
|
|
'haikunator',
|
|
|
|
'schwifty',
|
|
|
|
'faker',
|
|
|
|
'sklearn_crfsuite']
|
|
|
|
|
|
|
|
)
|