This repository has been archived by the owner on May 13, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 77
/
setup.py
70 lines (62 loc) · 2.08 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
63
64
65
66
67
68
69
70
from setuptools import setup, find_packages
from setuptools.command.test import test as TestCommand
import os
import sys
import golem
here = os.path.abspath(os.path.dirname(__file__))
class PyTest(TestCommand):
def finalize_options(self):
TestCommand.finalize_options(self)
self.test_args = ['tests']
self.test_suite = True
def run_tests(self):
import pytest
errcode = pytest.main(self.test_args)
sys.exit(errcode)
setup(
name='golem-framework',
version=golem.__version__,
description='Test automation framework for functional tests using Selenium',
# long_description=long_description,
url='https://github.com/golemhq/golem',
author='Luciano Renzi',
author_email='[email protected]',
license='MIT',
classifiers=[
'Development Status :: 4 - Beta',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Natural Language :: English',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Topic :: Software Development :: Quality Assurance',
'Topic :: Software Development :: Testing',
],
keywords='test automation framework selenium webdriver',
packages=find_packages(),
setup_requires=['setuptools-pep8'],
install_requires=['Flask>=0.12.2',
'Flask-login>=0.4.0',
'selenium>=3.6.0, <4.0.0a1',
'requests>=2.18.4',
'py-webdriver-manager',
'colorama'
],
tests_require=['pytest'],
entry_points={
'console_scripts': [
'golem-admin = golem.bin.golem_admin:main',
'golem = golem.bin.golem_init:main'
]
},
cmdclass={'test': PyTest},
include_package_data=True,
platforms='any',
test_suite='',
extras_require={
'testing': ['pytest'],
}
)