myldapsync 1.0.2__tar.gz → 1.0.4__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of myldapsync might be problematic. Click here for more details.

Files changed (23) hide show
  1. {myldapsync-1.0.2 → myldapsync-1.0.4}/LICENSE +1 -1
  2. myldapsync-1.0.4/PKG-INFO +74 -0
  3. {myldapsync-1.0.2 → myldapsync-1.0.4}/README.md +2 -2
  4. {myldapsync-1.0.2 → myldapsync-1.0.4}/myldapsync/__init__.py +23 -25
  5. {myldapsync-1.0.2 → myldapsync-1.0.4}/myldapsync/ldaputils/connection.py +13 -12
  6. {myldapsync-1.0.2 → myldapsync-1.0.4}/myldapsync/myutils/users.py +1 -2
  7. myldapsync-1.0.4/myldapsync.egg-info/PKG-INFO +74 -0
  8. {myldapsync-1.0.2 → myldapsync-1.0.4}/myldapsync.egg-info/entry_points.txt +1 -0
  9. {myldapsync-1.0.2 → myldapsync-1.0.4}/setup.py +3 -4
  10. myldapsync-1.0.2/PKG-INFO +0 -78
  11. myldapsync-1.0.2/myldapsync.egg-info/PKG-INFO +0 -78
  12. {myldapsync-1.0.2 → myldapsync-1.0.4}/MANIFEST.in +0 -0
  13. {myldapsync-1.0.2 → myldapsync-1.0.4}/myldapsync/config.ini.example +0 -0
  14. {myldapsync-1.0.2 → myldapsync-1.0.4}/myldapsync/config_default.ini +0 -0
  15. {myldapsync-1.0.2 → myldapsync-1.0.4}/myldapsync/ldaputils/__init__.py +0 -0
  16. {myldapsync-1.0.2 → myldapsync-1.0.4}/myldapsync/ldaputils/users.py +0 -0
  17. {myldapsync-1.0.2 → myldapsync-1.0.4}/myldapsync/myutils/__init__.py +0 -0
  18. {myldapsync-1.0.2 → myldapsync-1.0.4}/myldapsync.egg-info/SOURCES.txt +0 -0
  19. {myldapsync-1.0.2 → myldapsync-1.0.4}/myldapsync.egg-info/dependency_links.txt +0 -0
  20. {myldapsync-1.0.2 → myldapsync-1.0.4}/myldapsync.egg-info/requires.txt +0 -0
  21. {myldapsync-1.0.2 → myldapsync-1.0.4}/myldapsync.egg-info/top_level.txt +0 -0
  22. {myldapsync-1.0.2 → myldapsync-1.0.4}/requirements.txt +0 -0
  23. {myldapsync-1.0.2 → myldapsync-1.0.4}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  myldapsync - adopted for MySQL fork of pgldapsync by EnterpriseDB Corporation
2
2
 
3
- The MIT License (MIT)
3
+ GNU General Public License (GPL)
4
4
 
5
5
  Copyright (c) 2024, Artur Lebedev
6
6
 
@@ -0,0 +1,74 @@
1
+ Metadata-Version: 2.1
2
+ Name: myldapsync
3
+ Version: 1.0.4
4
+ Summary: Synchronise LDAP users to MySQL and MariaDB
5
+ Home-page: https://github.com/6eh01der/myldapsync
6
+ Author: Artur Lebedev
7
+ Author-email: ras_atari@mail.ru
8
+ License: MySQL
9
+ Description: # myldapsync - fork of [pgldapsync](https://github.com/EnterpriseDB/pgldapsync) by [EnterpriseDB Corporation](https://www.enterprisedb.com/) adopted for MySQL and MariaDB
10
+
11
+ This Python module allows you to synchronise MySQL or MariaDB users
12
+ with users in an LDAP directory.
13
+
14
+ Require MySQL 8 with installed and configured simple or sasl LDAP Authentication Plugin or PAM plugin (pam also supported in MySQL 5.7 and MariaDB).
15
+
16
+ Percona Server for MySQL:
17
+
18
+ https://docs.percona.com/percona-server/8.0/ldap-authentication
19
+
20
+ https://docs.percona.com/percona-server/8.0/pam-plugin.html
21
+
22
+ MySQL:
23
+
24
+ https://dev.mysql.com/doc/refman/8.0/en/ldap-pluggable-authentication.html
25
+
26
+ https://dev.mysql.com/doc/refman/8.0/en/pam-pluggable-authentication.html
27
+
28
+ MariaDB:
29
+
30
+ https://mariadb.com/kb/en/authentication-plugin-pam/
31
+
32
+ *myldapsync is supported on Python 3.8 or later.*
33
+
34
+ In order to use it, you will need to create a _config.ini_
35
+ file containing the site-specific configuration you require.
36
+ See _config.ini.example_ for a complete list of all the
37
+ available configuration options. This file should be copied to
38
+ create your own configuration.
39
+
40
+ Once configured, simply run myldapsync like so:
41
+
42
+ python3 myldapsync.py /path/to/config.ini
43
+
44
+ In order to test the configuration (and dump the SQL that would
45
+ be executed to stdout), run it like this:
46
+
47
+ python3 myldapsync.py --dry-run /path/to/config.ini
48
+
49
+ ## Creating a virtual environment for dev/test
50
+
51
+ python3 -m venv /path/to/myldapsync
52
+ source /path/to/myldapsync/bin/activate
53
+ pip install -r requirements.txt
54
+
55
+ Adapt the first command as required for your environment/Python
56
+ version.
57
+
58
+ ## Creating a package
59
+
60
+ To create a package (wheel), run the following in your virtual
61
+ environment:
62
+
63
+ python3 setup.py sdist bdist_wheel
64
+
65
+ Platform: UNKNOWN
66
+ Classifier: Programming Language :: Python :: 3
67
+ Classifier: Programming Language :: Python :: 3.8
68
+ Classifier: Programming Language :: Python :: 3.9
69
+ Classifier: Programming Language :: Python :: 3.10
70
+ Classifier: Programming Language :: Python :: 3.11
71
+ Classifier: License :: OSI Approved :: GNU General Public License (GPL)
72
+ Classifier: Operating System :: OS Independent
73
+ Requires-Python: >=3.8
74
+ Description-Content-Type: text/markdown
@@ -21,7 +21,7 @@ MariaDB:
21
21
 
22
22
  https://mariadb.com/kb/en/authentication-plugin-pam/
23
23
 
24
- *myldapsync is supported on Python 3.7 or later.*
24
+ *myldapsync is supported on Python 3.8 or later.*
25
25
 
26
26
  In order to use it, you will need to create a _config.ini_
27
27
  file containing the site-specific configuration you require.
@@ -52,4 +52,4 @@ version.
52
52
  To create a package (wheel), run the following in your virtual
53
53
  environment:
54
54
 
55
- python3 setup.py sdist bdist_wheel --universal
55
+ python3 setup.py sdist bdist_wheel
@@ -87,42 +87,40 @@ def main():
87
87
  # MySQL connection dictionary
88
88
  connection_string_params = {}
89
89
 
90
- if config.get('mysql', 'host') != '':
91
- connection_string_params = dict(connection_string_params, host=config.get('mysql', 'host'))
90
+ if (host := config.get('mysql', 'host')) != '':
91
+ connection_string_params = dict(connection_string_params, host=host)
92
92
 
93
- if config.get('mysql', 'user') != '':
94
- connection_string_params = dict(connection_string_params, user=config.get('mysql', 'user'))
93
+ if (user := config.get('mysql', 'user')) != '':
94
+ connection_string_params = dict(connection_string_params, user=user)
95
95
 
96
- if config.get('mysql', 'password') != '':
97
- connection_string_params = dict(connection_string_params, password=config.get('mysql', 'password'))
96
+ if (password := config.get('mysql', 'password')) != '':
97
+ connection_string_params = dict(connection_string_params, password=password)
98
98
 
99
- if config.get('mysql', 'db') != '':
100
- connection_string_params = dict(connection_string_params, db=config.get('mysql', 'db'))
99
+ if (db := config.get('mysql', 'db')) != '':
100
+ connection_string_params = dict(connection_string_params, db=db)
101
101
 
102
- if config.get('mysql', 'auth_plugin') != '':
103
- connection_string_params = dict(connection_string_params, auth_plugin=config.get('mysql', 'auth_plugin'))
102
+ if (auth_plugin := config.get('mysql', 'auth_plugin')) != '':
103
+ connection_string_params = dict(connection_string_params, auth_plugin=auth_plugin)
104
104
 
105
- if config.get('mysql', 'ssl_ca') != '':
106
- connection_string_params = dict(connection_string_params, ssl_ca=config.get('mysql', 'ssl_ca'))
105
+ if (ssl_ca := config.get('mysql', 'ssl_ca')) != '':
106
+ connection_string_params = dict(connection_string_params, ssl_ca=ssl_ca)
107
107
 
108
- if config.get('mysql', 'ssl_cert') != '':
109
- connection_string_params = dict(connection_string_params, ssl_cert=config.get('mysql', 'ssl_cert'))
108
+ if (ssl_cert := config.get('mysql', 'ssl_cert')) != '':
109
+ connection_string_params = dict(connection_string_params, ssl_cert=ssl_cert)
110
110
 
111
- if config.get('mysql', 'ssl_key') != '':
112
- connection_string_params = dict(connection_string_params, ssl_key=config.get('mysql', 'ssl_key'))
111
+ if (ssl_key := config.get('mysql', 'ssl_key')) != '':
112
+ connection_string_params = dict(connection_string_params, ssl_key=ssl_key)
113
113
 
114
- if config.get('mysql', 'ssl_verify_identity') != '':
115
- connection_string_params = dict(connection_string_params, ssl_verify_identity=config.get('mysql', 'ssl_verify_identity'))
114
+ if (ssl_verify_identity := config.get('mysql', 'ssl_verify_identity')) != '':
115
+ connection_string_params = dict(connection_string_params, ssl_verify_identity=ssl_verify_identity)
116
116
 
117
- if config.get('mysql', 'ssl_verify_cert') != '':
118
- connection_string_params = dict(connection_string_params, ssl_verify_cert=config.get('mysql', 'ssl_verify_cert'))
117
+ if (ssl_verify_cert := config.get('mysql', 'ssl_verify_cert')) != '':
118
+ connection_string_params = dict(connection_string_params, ssl_verify_cert=ssl_verify_cert)
119
119
 
120
- if config.get('mysql', 'use_pure') != '':
121
- connection_string_params = dict(connection_string_params, use_pure=config.get('mysql', 'use_pure'))
120
+ if (use_pure := config.get('mysql', 'use_pure')) != '':
121
+ connection_string_params = dict(connection_string_params, use_pure=use_pure)
122
122
 
123
- if config.get('mysql', 'SERVICE_NAME') and config.get('mysql', 'LDAP_SERVER_IP') != '':
124
- SERVICE_NAME = config.get('mysql', 'SERVICE_NAME')
125
- LDAP_SERVER_IP = config.get('mysql', 'LDAP_SERVER_IP')
123
+ if (SERVICE_NAME := config.get('mysql', 'SERVICE_NAME')) and (LDAP_SERVER_IP := config.get('mysql', 'LDAP_SERVER_IP')) != '':
126
124
  connection_string_params = dict(connection_string_params, krb_service_principal=f"{SERVICE_NAME}/{LDAP_SERVER_IP}")
127
125
 
128
126
  # Connect to LDAP and get the users we care about
@@ -43,17 +43,20 @@ def connect_ldap_server(config):
43
43
 
44
44
  if uri.scheme == 'ldaps' or config.getboolean('ldap', 'use_starttls'):
45
45
 
46
- ca_cert_file = None
47
- if config.get('ldap', 'ca_cert_file') != '':
48
- ca_cert_file = config.get('ldap', 'ca_cert_file')
46
+ if (ca_cert_file := config.get('ldap', 'ca_cert_file')) != '':
47
+ pass
48
+ else:
49
+ ca_cert_file = None
49
50
 
50
- cert_file = None
51
- if config.get('ldap', 'cert_file') != '':
52
- cert_file = config.get('ldap', 'cert_file')
51
+ if (cert_file := config.get('ldap', 'cert_file')) != '':
52
+ pass
53
+ else:
54
+ cert_file = None
53
55
 
54
- key_file = None
55
- if config.get('ldap', 'key_file') != '':
56
- key_file = config.get('ldap', 'key_file')
56
+ if (key_file := config.get('ldap', 'key_file')) != '':
57
+ pass
58
+ else:
59
+ key_file = None
57
60
 
58
61
  tls = Tls(
59
62
  local_private_key_file=key_file,
@@ -81,9 +84,7 @@ def connect_ldap_server(config):
81
84
  if config.get('ldap', 'bind_username') == '' and config.get('ldap', 'use_krb') == '':
82
85
  conn = Connection(server, auto_bind=True)
83
86
  elif config.get('ldap', 'use_krb') != '':
84
- if config.get('ldap', 'SERVICE_NAME') != '' and config.get('ldap', 'LDAP_SERVER_IP') != '':
85
- SERVICE_NAME = config.get('ldap', 'SERVICE_NAME')
86
- LDAP_SERVER_IP = config.get('ldap', 'LDAP_SERVER_IP')
87
+ if (SERVICE_NAME := config.get('ldap', 'SERVICE_NAME')) and (LDAP_SERVER_IP := config.get('ldap', 'LDAP_SERVER_IP')) != '':
87
88
  SPN = f"{SERVICE_NAME}/{LDAP_SERVER_IP}"
88
89
  conn = Connection(server, user=SPN, authentication=SASL, sasl_mechanism=KERBEROS)
89
90
  else:
@@ -83,8 +83,7 @@ def get_user_privileges(config, user, with_admin=False):
83
83
  privilege_list = ''
84
84
  sql = ''
85
85
 
86
- if config.get('general', 'database') != '':
87
- database = config.get('general', 'database')
86
+ if (database := config.get('general', 'database')) != '':
88
87
  database = '`' + database + '`'
89
88
  else:
90
89
  database = '*'
@@ -0,0 +1,74 @@
1
+ Metadata-Version: 2.1
2
+ Name: myldapsync
3
+ Version: 1.0.4
4
+ Summary: Synchronise LDAP users to MySQL and MariaDB
5
+ Home-page: https://github.com/6eh01der/myldapsync
6
+ Author: Artur Lebedev
7
+ Author-email: ras_atari@mail.ru
8
+ License: MySQL
9
+ Description: # myldapsync - fork of [pgldapsync](https://github.com/EnterpriseDB/pgldapsync) by [EnterpriseDB Corporation](https://www.enterprisedb.com/) adopted for MySQL and MariaDB
10
+
11
+ This Python module allows you to synchronise MySQL or MariaDB users
12
+ with users in an LDAP directory.
13
+
14
+ Require MySQL 8 with installed and configured simple or sasl LDAP Authentication Plugin or PAM plugin (pam also supported in MySQL 5.7 and MariaDB).
15
+
16
+ Percona Server for MySQL:
17
+
18
+ https://docs.percona.com/percona-server/8.0/ldap-authentication
19
+
20
+ https://docs.percona.com/percona-server/8.0/pam-plugin.html
21
+
22
+ MySQL:
23
+
24
+ https://dev.mysql.com/doc/refman/8.0/en/ldap-pluggable-authentication.html
25
+
26
+ https://dev.mysql.com/doc/refman/8.0/en/pam-pluggable-authentication.html
27
+
28
+ MariaDB:
29
+
30
+ https://mariadb.com/kb/en/authentication-plugin-pam/
31
+
32
+ *myldapsync is supported on Python 3.8 or later.*
33
+
34
+ In order to use it, you will need to create a _config.ini_
35
+ file containing the site-specific configuration you require.
36
+ See _config.ini.example_ for a complete list of all the
37
+ available configuration options. This file should be copied to
38
+ create your own configuration.
39
+
40
+ Once configured, simply run myldapsync like so:
41
+
42
+ python3 myldapsync.py /path/to/config.ini
43
+
44
+ In order to test the configuration (and dump the SQL that would
45
+ be executed to stdout), run it like this:
46
+
47
+ python3 myldapsync.py --dry-run /path/to/config.ini
48
+
49
+ ## Creating a virtual environment for dev/test
50
+
51
+ python3 -m venv /path/to/myldapsync
52
+ source /path/to/myldapsync/bin/activate
53
+ pip install -r requirements.txt
54
+
55
+ Adapt the first command as required for your environment/Python
56
+ version.
57
+
58
+ ## Creating a package
59
+
60
+ To create a package (wheel), run the following in your virtual
61
+ environment:
62
+
63
+ python3 setup.py sdist bdist_wheel
64
+
65
+ Platform: UNKNOWN
66
+ Classifier: Programming Language :: Python :: 3
67
+ Classifier: Programming Language :: Python :: 3.8
68
+ Classifier: Programming Language :: Python :: 3.9
69
+ Classifier: Programming Language :: Python :: 3.10
70
+ Classifier: Programming Language :: Python :: 3.11
71
+ Classifier: License :: OSI Approved :: GNU General Public License (GPL)
72
+ Classifier: Operating System :: OS Independent
73
+ Requires-Python: >=3.8
74
+ Description-Content-Type: text/markdown
@@ -1,2 +1,3 @@
1
1
  [console_scripts]
2
2
  myldapsync = myldapsync.__init__:main
3
+
@@ -19,20 +19,19 @@ with open('README.md', 'r', encoding='utf-8') as fh:
19
19
 
20
20
  setuptools.setup(
21
21
  name="myldapsync",
22
- version="1.0.2",
22
+ version="1.0.4",
23
23
  author="Artur Lebedev",
24
24
  author_email="ras_atari@mail.ru",
25
- description="Synchronise LDAP users to MySQL",
25
+ description="Synchronise LDAP users to MySQL and MariaDB",
26
26
  license='MySQL',
27
27
  long_description=long_description,
28
28
  long_description_content_type="text/markdown",
29
29
  url="https://github.com/6eh01der/myldapsync",
30
30
  packages=setuptools.find_packages(),
31
31
  install_requires=required,
32
- python_requires='>=3.7',
32
+ python_requires='>=3.8',
33
33
  classifiers=[
34
34
  'Programming Language :: Python :: 3',
35
- 'Programming Language :: Python :: 3.7',
36
35
  'Programming Language :: Python :: 3.8',
37
36
  'Programming Language :: Python :: 3.9',
38
37
  'Programming Language :: Python :: 3.10',
myldapsync-1.0.2/PKG-INFO DELETED
@@ -1,78 +0,0 @@
1
- Metadata-Version: 2.1
2
- Name: myldapsync
3
- Version: 1.0.2
4
- Summary: Synchronise LDAP users to MySQL
5
- Home-page: https://github.com/6eh01der/myldapsync
6
- Author: Artur Lebedev
7
- Author-email: ras_atari@mail.ru
8
- License: MySQL
9
- Classifier: Programming Language :: Python :: 3
10
- Classifier: Programming Language :: Python :: 3.7
11
- Classifier: Programming Language :: Python :: 3.8
12
- Classifier: Programming Language :: Python :: 3.9
13
- Classifier: Programming Language :: Python :: 3.10
14
- Classifier: Programming Language :: Python :: 3.11
15
- Classifier: License :: OSI Approved :: GNU General Public License (GPL)
16
- Classifier: Operating System :: OS Independent
17
- Requires-Python: >=3.7
18
- Description-Content-Type: text/markdown
19
- License-File: LICENSE
20
- Requires-Dist: ldap3>=2.9.1
21
- Requires-Dist: mysql-connector-python>=8.0.31
22
- Requires-Dist: pyasn1>=0.4.8
23
-
24
- # myldapsync - fork of [pgldapsync](https://github.com/EnterpriseDB/pgldapsync) by [EnterpriseDB Corporation](https://www.enterprisedb.com/) adopted for MySQL and MariaDB
25
-
26
- This Python module allows you to synchronise MySQL or MariaDB users
27
- with users in an LDAP directory.
28
-
29
- Require MySQL 8 with installed and configured simple or sasl LDAP Authentication Plugin or PAM plugin (pam also supported in MySQL 5.7 and MariaDB).
30
-
31
- Percona Server for MySQL:
32
-
33
- https://docs.percona.com/percona-server/8.0/ldap-authentication
34
-
35
- https://docs.percona.com/percona-server/8.0/pam-plugin.html
36
-
37
- MySQL:
38
-
39
- https://dev.mysql.com/doc/refman/8.0/en/ldap-pluggable-authentication.html
40
-
41
- https://dev.mysql.com/doc/refman/8.0/en/pam-pluggable-authentication.html
42
-
43
- MariaDB:
44
-
45
- https://mariadb.com/kb/en/authentication-plugin-pam/
46
-
47
- *myldapsync is supported on Python 3.7 or later.*
48
-
49
- In order to use it, you will need to create a _config.ini_
50
- file containing the site-specific configuration you require.
51
- See _config.ini.example_ for a complete list of all the
52
- available configuration options. This file should be copied to
53
- create your own configuration.
54
-
55
- Once configured, simply run myldapsync like so:
56
-
57
- python3 myldapsync.py /path/to/config.ini
58
-
59
- In order to test the configuration (and dump the SQL that would
60
- be executed to stdout), run it like this:
61
-
62
- python3 myldapsync.py --dry-run /path/to/config.ini
63
-
64
- ## Creating a virtual environment for dev/test
65
-
66
- python3 -m venv /path/to/myldapsync
67
- source /path/to/myldapsync/bin/activate
68
- pip install -r requirements.txt
69
-
70
- Adapt the first command as required for your environment/Python
71
- version.
72
-
73
- ## Creating a package
74
-
75
- To create a package (wheel), run the following in your virtual
76
- environment:
77
-
78
- python3 setup.py sdist bdist_wheel --universal
@@ -1,78 +0,0 @@
1
- Metadata-Version: 2.1
2
- Name: myldapsync
3
- Version: 1.0.2
4
- Summary: Synchronise LDAP users to MySQL
5
- Home-page: https://github.com/6eh01der/myldapsync
6
- Author: Artur Lebedev
7
- Author-email: ras_atari@mail.ru
8
- License: MySQL
9
- Classifier: Programming Language :: Python :: 3
10
- Classifier: Programming Language :: Python :: 3.7
11
- Classifier: Programming Language :: Python :: 3.8
12
- Classifier: Programming Language :: Python :: 3.9
13
- Classifier: Programming Language :: Python :: 3.10
14
- Classifier: Programming Language :: Python :: 3.11
15
- Classifier: License :: OSI Approved :: GNU General Public License (GPL)
16
- Classifier: Operating System :: OS Independent
17
- Requires-Python: >=3.7
18
- Description-Content-Type: text/markdown
19
- License-File: LICENSE
20
- Requires-Dist: ldap3>=2.9.1
21
- Requires-Dist: mysql-connector-python>=8.0.31
22
- Requires-Dist: pyasn1>=0.4.8
23
-
24
- # myldapsync - fork of [pgldapsync](https://github.com/EnterpriseDB/pgldapsync) by [EnterpriseDB Corporation](https://www.enterprisedb.com/) adopted for MySQL and MariaDB
25
-
26
- This Python module allows you to synchronise MySQL or MariaDB users
27
- with users in an LDAP directory.
28
-
29
- Require MySQL 8 with installed and configured simple or sasl LDAP Authentication Plugin or PAM plugin (pam also supported in MySQL 5.7 and MariaDB).
30
-
31
- Percona Server for MySQL:
32
-
33
- https://docs.percona.com/percona-server/8.0/ldap-authentication
34
-
35
- https://docs.percona.com/percona-server/8.0/pam-plugin.html
36
-
37
- MySQL:
38
-
39
- https://dev.mysql.com/doc/refman/8.0/en/ldap-pluggable-authentication.html
40
-
41
- https://dev.mysql.com/doc/refman/8.0/en/pam-pluggable-authentication.html
42
-
43
- MariaDB:
44
-
45
- https://mariadb.com/kb/en/authentication-plugin-pam/
46
-
47
- *myldapsync is supported on Python 3.7 or later.*
48
-
49
- In order to use it, you will need to create a _config.ini_
50
- file containing the site-specific configuration you require.
51
- See _config.ini.example_ for a complete list of all the
52
- available configuration options. This file should be copied to
53
- create your own configuration.
54
-
55
- Once configured, simply run myldapsync like so:
56
-
57
- python3 myldapsync.py /path/to/config.ini
58
-
59
- In order to test the configuration (and dump the SQL that would
60
- be executed to stdout), run it like this:
61
-
62
- python3 myldapsync.py --dry-run /path/to/config.ini
63
-
64
- ## Creating a virtual environment for dev/test
65
-
66
- python3 -m venv /path/to/myldapsync
67
- source /path/to/myldapsync/bin/activate
68
- pip install -r requirements.txt
69
-
70
- Adapt the first command as required for your environment/Python
71
- version.
72
-
73
- ## Creating a package
74
-
75
- To create a package (wheel), run the following in your virtual
76
- environment:
77
-
78
- python3 setup.py sdist bdist_wheel --universal
File without changes
File without changes
File without changes