-
Notifications
You must be signed in to change notification settings - Fork 5
/
setup.py
80 lines (73 loc) · 2.73 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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
# SPDX-License-Identifier: Apache-2.0
# SPDX-FileCopyrightText: © 2022- twinify Developers and their Assignees
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# http://www.apache.org/licenses/LICENSE-2.0
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
import setuptools
with open("README.md", "r") as f:
long_description = f.read()
# read version number
import importlib
spec = importlib.util.spec_from_file_location("version_module", "twinify/version.py")
version_module = importlib.util.module_from_spec(spec)
spec.loader.exec_module(version_module)
setuptools.setup(
name='twinify',
version = version_module.VERSION,
author="twinify Developers",
author_email="lukas.m.prediger@aalto.fi",
description="A software package for privacy-preserving generation of a synthetic twin to a given sensitive data set.",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/DPBayes/twinify",
packages=setuptools.find_packages(include=['twinify', 'twinify.*']),
python_requires='>=3.7',
install_requires=[
'pandas >= 1.3.4, < 2.0',
'd3p >= 0.2.0, < 1.0',
'tqdm >= 4.62, < 5.0',
'numpy >= 1.21, < 2.0',
'graphviz >= 0.20.1, < 1.0.0',
'arviz >= 0.12.1, < 1.0.0',
'networkx >= 2.6.0, < 3.0.0',
'disjoint-set >= 0.7.0, < 1.0.0'
],
extras_require = {
'examples': [
'xlrd < 2.0',
'scikit-learn',
'openpyxl',
'statsmodels',
'seaborn >= 0.12.0, < 1.0',
'matplotlib >= 3.7, < 4'
],
'dev': [
'pytest',
'sphinx >= 4.5.0, < 5.0.0',
'myst_nb >= 0.17.0, < 1.0.0',
'sphinx-book-theme >= 0.3.0, < 1.0.0',
],
'compatible-dependencies': "d3p[compatible-dependencies]",
'cpu': "d3p[cpu]",
'cuda': "d3p[cuda]",
},
entry_points = {
'console_scripts': [
'twinify=twinify.cli.__main__:main',
'twinify-tools=twinify.cli.tools.__main__:main'
],
},
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Development Status :: 4 - Beta",
"Intended Audience :: Science/Research"
],
)