forked from O365/python-o365
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
62 lines (53 loc) · 1.82 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
53
54
55
56
57
58
59
60
61
62
import os
from setuptools import setup, find_packages
VERSION = '2.0.26'
# Available classifiers: https://pypi.org/pypi?%3Aaction=list_classifiers
CLASSIFIERS = [
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: Apache Software License',
'Topic :: Office/Business :: Office Suites',
'Topic :: Software Development :: Libraries',
'Programming Language :: Python',
'Programming Language :: Python :: 3 :: Only',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'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',
'Programming Language :: Python :: 3.11',
'Operating System :: OS Independent',
]
def read(fname):
with open(os.path.join(os.path.dirname(__file__), fname), 'r') as file:
return file.read()
requires = [
'requests>=2.18.0',
'requests_oauthlib>=1.2.0',
'python-dateutil>=2.7',
'pytz>=2018.5',
'tzlocal>=4.0',
'beautifulsoup4>=4.0.0',
'stringcase>=1.2.0'
]
setup(
name='O365',
version=VERSION,
# packages=['O365', 'O365.utils'],
packages=find_packages(),
url='https://github.com/O365/python-o365',
license='Apache License 2.0',
author='Janscas, Roycem90, Narcolapser',
author_email='[email protected]',
maintainer='Janscas',
maintainer_email='[email protected]',
description='Microsoft Graph and Office 365 API made easy',
long_description=read('README.md'),
long_description_content_type="text/markdown",
classifiers=CLASSIFIERS,
python_requires=">=3.4",
install_requires=requires,
setup_requires=["wheel"],
)