-
Notifications
You must be signed in to change notification settings - Fork 68
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
28 changed files
with
1,681 additions
and
1,295 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
FROM centos:8 | ||
|
||
RUN yum -y install wget | ||
RUN yum install -y epel-release | ||
RUN yum -y install git tar gcc make bzip2 openssl openssl-devel patch gcc-c++ libffi-devel sqlite-devel | ||
RUN git clone git://github.com/yyuu/pyenv.git ~/.pyenv | ||
ENV HOME /root | ||
ENV PYENV_ROOT $HOME/.pyenv | ||
ENV PATH $PYENV_ROOT/shims:$PYENV_ROOT/bin:$PATH | ||
|
||
RUN pyenv install 3.5.10 && pyenv install 3.6.14 && pyenv install 3.7.11 && pyenv install 3.8.11 && pyenv install 3.9.6 && pyenv install 3.10.1 | ||
RUN git clone https://github.com/pyenv/pyenv-virtualenv.git ~/.pyenv/plugins/pyenv-virtualenv | ||
|
||
WORKDIR /app | ||
COPY . . | ||
RUN [ "./run-tests.sh", "deploy"] | ||
CMD [ "./run-tests.sh", "test"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,8 @@ | ||
pytest==4.6.11 | ||
attrs==20.3.0 | ||
pytest==4.6.11; python_version < '3.10.0' | ||
pytest==6.2.5; python_version >= '3.10.0' | ||
attrs==21.2.0 | ||
httmock==1.4.0 | ||
freezegun==0.3.15 | ||
pytest-cov==2.11.1 | ||
coveralls==1.11.1 | ||
mock==3.0.5; python_version < '3.0' | ||
freezegun==1.1.0 | ||
pytest-cov | ||
coveralls==3.3.1 | ||
fakeredis==1.7.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,7 +19,6 @@ | |
License: Apache License Version 2.0 | ||
""" | ||
|
||
|
||
#!/usr/bin/env python | ||
# -*- coding: utf-8 -*- | ||
|
||
|
@@ -28,24 +27,22 @@ | |
except ImportError: | ||
from distutils.core import setup | ||
|
||
import os | ||
|
||
authors_list = [ | ||
'Anuj More', | ||
'Alexander Dean', | ||
'Fred Blundun', | ||
'Paul Boocock' | ||
] | ||
] | ||
authors_str = ', '.join(authors_list) | ||
|
||
authors_email_list = [ | ||
'[email protected]', | ||
] | ||
] | ||
authors_email_str = ', '.join(authors_email_list) | ||
|
||
setup( | ||
name='snowplow-tracker', | ||
version='0.9.1', | ||
version='0.10.0', | ||
author=authors_str, | ||
author_email=authors_email_str, | ||
packages=['snowplow_tracker', 'snowplow_tracker.test', 'snowplow_tracker.redis', 'snowplow_tracker.celery'], | ||
|
@@ -60,22 +57,19 @@ | |
"Intended Audience :: Developers", | ||
"License :: OSI Approved :: Apache Software License", | ||
"Programming Language :: Python", | ||
"Programming Language :: Python :: 2", | ||
"Programming Language :: Python :: 2.7", | ||
"Programming Language :: Python :: 3", | ||
"Programming Language :: Python :: 3.5", | ||
"Programming Language :: Python :: 3.6", | ||
"Programming Language :: Python :: 3.7", | ||
"Programming Language :: Python :: 3.8", | ||
"Programming Language :: Python :: 3.9", | ||
"Programming Language :: Python :: 3.10", | ||
"Operating System :: OS Independent", | ||
], | ||
|
||
install_requires=[ | ||
"requests>=2.25.1,<3.0", | ||
"pycontracts>=1.8.12;python_version<'3.0'", | ||
"pycontracts3>=3.0.2;python_version>='3.0'", | ||
"six>=1.9.0,<2.0" | ||
"typing_extensions>=3.7.4" | ||
], | ||
|
||
extras_require={ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1 @@ | ||
from .celery_emitter import CeleryEmitter | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.