-
Notifications
You must be signed in to change notification settings - Fork 423
/
setup.py
57 lines (48 loc) · 1.62 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
import os
from setuptools import setup, find_packages
VERSION = '2.0.38'
# 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.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
'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.32.0',
'requests-oauthlib>=2.0.0',
'python-dateutil>=2.7',
'tzlocal>=5.0',
'beautifulsoup4>=4.0.0',
'tzdata>=2023.4'
]
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='Alejcas, Roycem90, Narcolapser',
author_email='[email protected]',
maintainer='alejcas',
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.9",
install_requires=requires,
setup_requires=["wheel"],
)