forked from pool/python-impacket
- Switch to pyproject macros. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-impacket?expand=0&rev=15
44 lines
1.5 KiB
Diff
44 lines
1.5 KiB
Diff
From b4bd3dab932d655586601cfe407f7bcc69d521d9 Mon Sep 17 00:00:00 2001
|
|
From: anadrianmanrique <adrian.manrique@gmail.com>
|
|
Date: Tue, 15 Aug 2023 20:36:47 +0000
|
|
Subject: [PATCH 1/2] added setuptools requirement for pkg_resources python
|
|
library removed future as it wasn't being used
|
|
|
|
---
|
|
requirements.txt | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/requirements.txt b/requirements.txt
|
|
index cd19c89ec..3e113aae2 100644
|
|
--- a/requirements.txt
|
|
+++ b/requirements.txt
|
|
@@ -1,4 +1,4 @@
|
|
-future
|
|
+setuptools
|
|
six
|
|
charset_normalizer
|
|
pyasn1>=0.2.3
|
|
|
|
From 479750fe2df28bcd1441404fe031be5a5d216c05 Mon Sep 17 00:00:00 2001
|
|
From: anadrianmanrique <adrian.manrique@gmail.com>
|
|
Date: Wed, 16 Aug 2023 13:10:46 +0000
|
|
Subject: [PATCH 2/2] added setuptools to requirements, removed future
|
|
|
|
---
|
|
setup.py | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/setup.py b/setup.py
|
|
index 47a651f66..f9484a04c 100644
|
|
--- a/setup.py
|
|
+++ b/setup.py
|
|
@@ -68,7 +68,7 @@ def read(fname):
|
|
scripts=glob.glob(os.path.join('examples', '*.py')),
|
|
data_files=data_files,
|
|
install_requires=['pyasn1>=0.2.3', 'pycryptodomex', 'pyOpenSSL>=21.0.0', 'six', 'ldap3>=2.5,!=2.5.2,!=2.5.0,!=2.6',
|
|
- 'ldapdomaindump>=0.9.0', 'flask>=1.0', 'future', 'charset_normalizer', 'dsinternals'],
|
|
+ 'ldapdomaindump>=0.9.0', 'flask>=1.0', 'setuptools', 'charset_normalizer', 'dsinternals'],
|
|
extras_require={'pyreadline:sys_platform=="win32"': [],
|
|
},
|
|
classifiers=[
|