File: 0001-stop-build-of-cli.patch

package info (click to toggle)
python-cloudflare 2.20.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,056 kB
  • sloc: python: 6,932; makefile: 138; sh: 76
file content (28 lines) | stat: -rw-r--r-- 1,084 bytes parent folder | download | duplicates (2)
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
Description: Exclude building of the cli4 tool
 At the moment, this package is being built for use as a dependency
 that does not require the command line tool.  Until a user requests
 it, I prefer to exclude it.
Author: Harlan Lieberman-Berg <hlieberman@debian.org>
Forwarded: not-needed
--- a/setup.py
+++ b/setup.py
@@ -31,17 +31,10 @@
         },
         license='MIT',
         options={"bdist_wheel": {"universal": True}},
-        packages=['CloudFlare', 'CloudFlare/tests', 'cli4', 'examples'],
         test_suite="CloudFlare.tests",
-        include_package_data=True,
-        data_files=[('share/man/man1', ['cli4/cli4.1'])],
-        install_requires=['requests', 'pyyaml', 'jsonlines'],
+        packages=['CloudFlare', 'CloudFlare.tests'],
+        install_requires=['requests', 'pyyaml'],
         keywords='cloudflare',
-        entry_points={
-            'console_scripts': [
-                'cli4=cli4.__main__:main'
-            ]
-        },
         python_requires='>3.6.0',
         classifiers=[
             'Development Status :: 5 - Production/Stable',