Repository navigation
Expand file tree
/
Copy pathsetup.py
More file actions
39 lines (35 loc) · 1.42 KB
/
Copy pathsetup.py
File metadata and controls
39 lines (35 loc) · 1.42 KB
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
from setuptools import setup, find_packages
from os import path
DIR = path.abspath(path.dirname(__file__))
description = """SharePy will handle authentication for your SharePoint Online/O365 site, allowing
you to make straightforward HTTP requests from Python. It extends the commonly used Requests module,
meaning that returned objects are familliar, easy to work with and well documented."""
with open(path.join(DIR, './README.md')) as f:
long_description = f.read()
setup(
name='sharepy',
version='2.0.0',
description='Simple SharePoint Online authentication for Python',
long_description=long_description,
long_description_content_type='text/markdown',
keywords='sharepoint online authentication',
author='Jonathan Holvey',
author_email='jonathan.holvey@outlook.com',
url='https://github.com/JonathanHolvey/sharepy',
project_urls={
'Issues': 'https://github.com/JonathanHolvey/sharepy/issues',
},
license='GPLv3',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'Topic :: Internet',
'License :: OSI Approved :: GNU General Public License v3 (GPLv3)',
'Programming Language :: Python :: 3',
],
packages=find_packages('./src'),
package_dir={'': './src'},
package_data={'sharepy.auth.templates': ['*']},
python_requires='>=3.6, <4',
install_requires=['requests>=2,<3']
)