-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
68 lines (64 loc) · 1.96 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
# -*- coding: utf-8 -*-
# pylint: disable=broad-except
"""qautils module can be installed and configured from here"""
from os import path
from setuptools import setup, find_packages
from qautils.files import read
PACKAGE_NAME = 'qautils'
AUTHOR = "Netzulo SQA developer"
AUTHOR_EMAIL = "netzuleando@gmail.com"
DESCRIPTION = ("QA utils library provides"
" methods compatibility with"
" all python versions")
VERSION = "0.0.2"
CURR_PATH = "{}{}".format(path.abspath(path.dirname(__file__)), '/')
INSTALL_REQUIRES = []
SETUP_REQUIRES = [
'pytest-runner',
'tox',
]
TESTS_REQUIRE = [
'pytest-html',
'pytest-dependency',
'pytest-cov',
'pytest-benchmark',
'pytest-benchmark[histogram]',
]
KEYWORDS = ['qautils', 'qa', 'files', 'json']
GIT_URL = "https://github.com/netzulo/qautils"
GIT_URL_DOWNLOAD = "{}/tarball/v{}".format(GIT_URL, VERSION)
LICENSE_FILE = read(
file_path=CURR_PATH,
file_name="LICENSE",
is_encoding=False,
ignore_raises=True)
README_FILE = read(
file_path=CURR_PATH,
file_name="README.rst")
setup(
name=PACKAGE_NAME,
version=VERSION,
license=LICENSE_FILE,
packages=find_packages(exclude=['tests']),
description=DESCRIPTION,
long_description=README_FILE,
author=AUTHOR,
author_email=AUTHOR_EMAIL,
url=GIT_URL,
download_url=GIT_URL_DOWNLOAD,
keywords=KEYWORDS,
install_requires=INSTALL_REQUIRES,
setup_requires=SETUP_REQUIRES,
tests_require=TESTS_REQUIRE,
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'Topic :: Software Development :: Build Tools',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'License :: OSI Approved :: GNU General Public License v3 (GPLv3)',
],
)