From 68d5a3cd18c69f99026c14495271e17cba6ec249 Mon Sep 17 00:00:00 2001 From: zangobot Date: Thu, 21 Sep 2023 16:18:11 +0200 Subject: [PATCH 1/2] Creating setup.py #12 --- setup.py | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 setup.py diff --git a/setup.py b/setup.py new file mode 100644 index 0000000..dc08095 --- /dev/null +++ b/setup.py @@ -0,0 +1,16 @@ +from setuptools import setup + +setup( + name='secml2', + version='1.0', + packages=['secml2', 'secml2.adv', 'secml2.adv.evasion', 'secml2.data', 'secml2.models', 'secml2.models.test', + 'secml2.models.pytorch', 'secml2.models.pytorch.test', 'secml2.models.sklearn', + 'secml2.models.sklearn.test', 'secml2.models.tensorflow', 'secml2.models.data_processing', + 'secml2.models.data_processing.test', 'secml2.metrics', 'secml2.metrics.test', 'secml2.optimization', + 'secml2.manipulations'], + url='', + license='', + author='Maura Pintor, Luca Demetrio', + author_email='', + description='' +) From 0de2e8bed942b494de1e2a109c60aa9293376a52 Mon Sep 17 00:00:00 2001 From: zangobot Date: Thu, 21 Sep 2023 16:18:44 +0200 Subject: [PATCH 2/2] Format in black setup.py #12 --- setup.py | 38 ++++++++++++++++++++++++++------------ 1 file changed, 26 insertions(+), 12 deletions(-) diff --git a/setup.py b/setup.py index dc08095..5f7ed55 100644 --- a/setup.py +++ b/setup.py @@ -1,16 +1,30 @@ from setuptools import setup setup( - name='secml2', - version='1.0', - packages=['secml2', 'secml2.adv', 'secml2.adv.evasion', 'secml2.data', 'secml2.models', 'secml2.models.test', - 'secml2.models.pytorch', 'secml2.models.pytorch.test', 'secml2.models.sklearn', - 'secml2.models.sklearn.test', 'secml2.models.tensorflow', 'secml2.models.data_processing', - 'secml2.models.data_processing.test', 'secml2.metrics', 'secml2.metrics.test', 'secml2.optimization', - 'secml2.manipulations'], - url='', - license='', - author='Maura Pintor, Luca Demetrio', - author_email='', - description='' + name="secml2", + version="1.0", + packages=[ + "secml2", + "secml2.adv", + "secml2.adv.evasion", + "secml2.data", + "secml2.models", + "secml2.models.test", + "secml2.models.pytorch", + "secml2.models.pytorch.test", + "secml2.models.sklearn", + "secml2.models.sklearn.test", + "secml2.models.tensorflow", + "secml2.models.data_processing", + "secml2.models.data_processing.test", + "secml2.metrics", + "secml2.metrics.test", + "secml2.optimization", + "secml2.manipulations", + ], + url="", + license="", + author="Maura Pintor, Luca Demetrio", + author_email="", + description="", )