| 1 | Author: Jonas <[email protected]>
|
| 2 | Summary: Replaces scripts with entry points (part of upstream commit https://github.com/dirkjanm/ldapdomaindump/commit/d559463eb29857f2660bf3867bfb9f8610d1ddb1)
|
| 3 | diff --git a/bin/ldapdomaindump b/bin/ldapdomaindump
|
| 4 | deleted file mode 100644
|
| 5 | index 3b76994..0000000
|
| 6 | |
| 7 | |
| 8 | @@ -1,3 +0,0 @@
|
| 9 | -#!/usr/bin/env python
|
| 10 | -import ldapdomaindump
|
| 11 | -ldapdomaindump.main()
|
| 12 | \ No newline at end of file
|
| 13 | diff --git a/bin/ldd2bloodhound b/bin/ldd2bloodhound
|
| 14 | deleted file mode 100644
|
| 15 | index 4340802..0000000
|
| 16 | |
| 17 | |
| 18 | @@ -1,3 +0,0 @@
|
| 19 | -#!/usr/bin/env python
|
| 20 | -from ldapdomaindump import convert
|
| 21 | -convert.ldd2bloodhound()
|
| 22 | diff --git a/bin/ldd2pretty b/bin/ldd2pretty
|
| 23 | deleted file mode 100644
|
| 24 | index 82a9136..0000000
|
| 25 | |
| 26 | |
| 27 | @@ -1,3 +0,0 @@
|
| 28 | -#!/usr/bin/env python
|
| 29 | -from ldapdomaindump import pretty
|
| 30 | -pretty.main()
|
| 31 | diff --git a/setup.py b/setup.py
|
| 32 | index aaf02f0..213f669 100644
|
| 33 | |
| 34 | |
| 35 | @@ -10,6 +10,8 @@ setup(name='ldapdomaindump',
|
| 36 | install_requires=['dnspython', 'ldap3>=2.5,!=2.5.2,!=2.5.0,!=2.6'],
|
| 37 | package_data={'ldapdomaindump': ['style.css']},
|
| 38 | include_package_data=True,
|
| 39 | - scripts=['bin/ldapdomaindump', 'bin/ldd2bloodhound', 'bin/ldd2pretty'],
|
| 40 | + entry_points= {
|
| 41 | + 'console_scripts': ['ldapdomaindump=ldapdomaindump:main','ldd2bloodhound=ldapdomaindump.convert:ldd2bloodhound','ldd2pretty=ldapdomaindump.pretty:main']
|
| 42 | + },
|
| 43 | license="MIT",
|
| 44 | )
|