forked from jborean93/smbprotocol
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
52 lines (44 loc) · 1.5 KB
/
setup.py
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright: (c) 2019, Jordan Borean (@jborean93) <[email protected]>
# MIT License (see LICENSE or https://opensource.org/licenses/MIT)
import os
from setuptools import setup
def abs_path(rel_path):
return os.path.join(os.path.dirname(__file__), rel_path)
with open(abs_path('README.md'), mode='rb') as fd:
long_description = fd.read().decode('utf-8')
setup(
name='smbprotocol',
version='1.9.0',
packages=['smbclient', 'smbprotocol'],
install_requires=[
'cryptography>=2.0',
'pyspnego',
],
extras_require={
'kerberos:sys_platform=="win32"': [],
'kerberos:sys_platform!="win32"': [
'pyspnego[kerberos]',
],
},
python_requires='>=3.6',
author='Jordan Borean',
author_email='[email protected]',
url='https://github.com/jborean93/smbprotocol',
description='Interact with a server using the SMB 2/3 Protocol',
long_description=long_description,
long_description_content_type='text/markdown',
keywords='smb smb2 smb3 cifs python',
license='MIT',
classifiers=[
'Development Status :: 4 - Beta',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
],
)