-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
53 lines (43 loc) · 1.49 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
# -*- coding: utf-8 -*-
"""
robotframework-o365
"""
import codecs
from os.path import abspath, dirname, join
from setuptools import setup, find_packages
from m2r import parse_from_file
LIBRARY_NAME = 'RFO365'
CWD = abspath(dirname(__file__))
VERSION_PATH = join(CWD, 'src', LIBRARY_NAME, 'version.py')
exec(compile(open(VERSION_PATH).read(), VERSION_PATH, 'exec'))
LONG_DESCRIPTION = parse_from_file(join(CWD, 'README.md'))
with open(join(CWD, 'requirements.txt'), encoding="utf-8") as f:
REQUIREMENTS = f.read().splitlines()
CLASSIFIERS = '''
Development Status :: 3 - Alpha
Topic :: Software Development :: Testing
Operating System :: OS Independent
License :: OSI Approved :: Apache Software License
Programming Language :: Python
Programming Language :: Python :: 3
Topic :: Software Development :: Testing
Framework :: Robot Framework
Framework :: Robot Framework :: Library
'''.strip().splitlines()
setup(
name='robotframework-%s' % LIBRARY_NAME.lower(),
version=VERSION,
description='Outlook365 library for robot framework',
long_description=LONG_DESCRIPTION,
url='https://github.com/omenia/robotframework-%s' % LIBRARY_NAME.lower(),
author='Jani Mikkonen',
author_email='jani.mikkonen@siili.com',
license='Apache License 2.0',
classifiers=CLASSIFIERS,
install_requires = REQUIREMENTS,
keywords='robot framework testing automation outlook outlook365'
'email',
platforms='any',
packages=find_packages('src'),
package_dir={'': 'src'},
)