-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
62 lines (54 loc) · 2.06 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
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import codecs
import os
from setuptools import setup
def read(fname):
file_path = os.path.join(os.path.dirname(__file__), fname)
return codecs.open(file_path, encoding='utf-8').read()
gh_run_number = os.environ.get("BUILD_NUMBER", None)
build_number = None if gh_run_number is None or gh_run_number == "" else gh_run_number
version = '0.2.2'
setup(
name='pytest-snowflake_bdd',
version=f"{version}-{build_number}" if build_number else version,
author='Tilak Patidar',
author_email='tilakpatidar@gmail.com',
maintainer='Tilak Patidar',
maintainer_email='tilakpatidar@gmail.com',
license='MIT',
url='https://github.com/tilakpatidar/pytest-snowflake_bdd',
description='Setup test data and run tests on snowflake in BDD style!',
long_description=read('README.rst'),
py_modules=['pytest_snowflake_bdd'],
python_requires='>=3.6.7',
install_requires=['pytest>=6.2.0', 'pytest-bdd>=3.2.1', 'snowflake-sqlalchemy>=1.3.2', 'SQLAlchemy>=1.4.27', \
'pandas>=0.25.3', 'python-dateutil>=2.8.2'],
tests_require=[
'tox',
],
classifiers=[
'Development Status :: 4 - Beta',
'Framework :: Pytest',
'Intended Audience :: Developers',
'Topic :: Software Development :: Testing',
'Topic :: Database',
'Topic :: Software Development :: Testing :: BDD',
'Programming Language :: Python',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: Implementation :: CPython',
'Programming Language :: Python :: Implementation :: PyPy',
'Framework :: Pytest',
'Operating System :: OS Independent',
'License :: OSI Approved :: MIT License',
],
packages=["pytest_snowflake_bdd"],
entry_points={
'pytest11': [
'pytest-snowflake-bdd = pytest_snowflake_bdd.plugin',
],
},
)