-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
110 lines (96 loc) · 2.57 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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""The setup script."""
from setuptools import setup, find_packages
with open('README.md') as readme_file:
readme = readme_file.read()
with open('HISTORY.md') as history_file:
history = history_file.read()
install_requires = [
'Click>=6.0',
'numpy',
'jpeg2dct',
'Pillow<=7.0.0',
'sklearn',
'matplotlib>=1.4.0'
'scikit-plot',
'docker',
'pathos',
'scikit-image',
'scikit-plot',
'torch>=1.0.0,<2.0.0',
'torchvision>=0.2.1,<1.0.0',
'tqdm',
'adversarial-robustness-toolbox==1.2.0'
]
setup_requires = [
'pytest-runner>=2.11.1',
]
tests_require = [
'pytest>=3.4.2',
'pytest-cov>=2.6.0',
]
development_requires = [
# general
'bumpversion>=0.5.3',
'pip>=9.0.1',
'watchdog>=0.8.3',
# docs
'm2r>=0.2.0',
'Sphinx>=1.7.1',
'sphinx_rtd_theme>=0.2.4',
'autodocsumm>=0.1.10',
# style check
'flake8>=3.7.7',
'isort>=4.3.4',
# fix style issues
'autoflake>=1.2',
'autopep8>=1.4.3',
# distribute on PyPI
'twine>=1.10.0',
'wheel>=0.30.0',
# Advanced testing
'coverage>=4.5.1',
'tox>=2.9.1',
]
setup(
author='MIT Data To AI Lab',
author_email='[email protected]',
classifiers=[
'Development Status :: 2 - Pre-Alpha',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Natural Language :: English',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
],
description='This package allows autotesting of different datasets, steganographers, and steganalyzers.',
entry_points={
'console_scripts': [
'stegbench=stegbench.cli:main',
],
},
extras_require={
'test': tests_require,
'dev': development_requires + tests_require,
},
install_package_data=True,
install_requires=install_requires,
license='MIT license',
long_description=readme + '\n\n' + history,
long_description_content_type='text/markdown',
include_package_data=True,
keywords='stegbench stegbench StegBench',
name='stegbench',
packages=find_packages(include=['stegbench', 'stegbench.*']),
python_requires='>=3.4',
setup_requires=setup_requires,
test_suite='tests',
tests_require=tests_require,
url='https://github.com/DAI-Lab/stegbench',
version='0.1.0.dev0',
zip_safe=False,
)